]> err.no Git - sope/commitdiff
moved specfiles to proper places
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 28 Sep 2004 13:22:44 +0000 (13:22 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 28 Sep 2004 13:22:44 +0000 (13:22 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@186 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/mod_ngobjweb.spec [new file with mode: 0755]
maintenance/sope.spec [moved from maintenance/spec/sope.spec with 100% similarity]

diff --git a/maintenance/mod_ngobjweb.spec b/maintenance/mod_ngobjweb.spec
new file mode 100755 (executable)
index 0000000..df7c59f
--- /dev/null
@@ -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 <frank@opengroupware.org>  
+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