From: helge Date: Tue, 28 Sep 2004 13:22:44 +0000 (+0000) Subject: moved specfiles to proper places X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa90c6eaaa1696780ad0272de6091d2cef8d344;p=sope moved specfiles to proper places git-svn-id: http://svn.opengroupware.org/SOPE/trunk@186 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/maintenance/mod_ngobjweb.spec b/maintenance/mod_ngobjweb.spec new file mode 100755 index 00000000..df7c59fa --- /dev/null +++ b/maintenance/mod_ngobjweb.spec @@ -0,0 +1,49 @@ +Summary: mod_ngobjweb apache module +Name: mod_ngobjweb +Version: %{mod_ngobjweb_version} +Release: %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount} +Vendor: OpenGroupware.org +Packager: Frank Reppin +License: LGPL +URL: http://www.softwarestudio.org/libical +Group: Development/Libraries +AutoReqProv: off +Source: sope-mod_ngobjweb-trunk-latest.tar.gz +Prefix: /usr/lib +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +apache13/apache2 mod_ngobjweb adaptor. + +%prep +rm -fr ${RPM_BUILD_ROOT} +%setup -n sope-mod_ngobjweb + +# ****************************** build ******************************** +%build +# on fedora core +export PATH=$PATH:/usr/sbin +make APXS_INCLUDE_DIRS="-I/usr/include/httpd -I/usr/include/apr-0" +# for suse +#make APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2" + +# ****************************** install ****************************** +%install +mkdir -p "${RPM_BUILD_ROOT}/usr/lib/httpd/modules" +export PATH=$PATH:/usr/sbin +cp mod_ngobjweb.so ${RPM_BUILD_ROOT}/usr/lib/httpd/modules/ + +# ****************************** post ********************************* +%post + +# ****************************** clean ******************************** +%clean +rm -fr ${RPM_BUILD_ROOT} + +# ****************************** files ******************************** +%files +%defattr(-,root,root,-) +%{_libdir}/httpd/modules/mod_ngobjweb.so + +# ********************************* changelog ************************* +%changelog diff --git a/maintenance/spec/sope.spec b/maintenance/sope.spec similarity index 100% rename from maintenance/spec/sope.spec rename to maintenance/sope.spec