]> err.no Git - sope/commitdiff
mod_ngobjweb specs for SLSS8/MDK10.0/MDK10.1
authorfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 14 Oct 2004 10:31:18 +0000 (10:31 +0000)
committerfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 14 Oct 2004 10:31:18 +0000 (10:31 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@253 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/mod_ngobjweb_mdk100.spec [new file with mode: 0755]
maintenance/mod_ngobjweb_mdk101.spec [new file with mode: 0755]
maintenance/mod_ngobjweb_slss8.spec [new file with mode: 0755]

diff --git a/maintenance/mod_ngobjweb_mdk100.spec b/maintenance/mod_ngobjweb_mdk100.spec
new file mode 100755 (executable)
index 0000000..9293ae2
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:               mod_ngobjweb apache module
+Name:                  mod_ngobjweb
+Version:               %{mod_ngobjweb_version}
+Release:               %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix}
+Vendor:                        OpenGroupware.org
+Packager:              Frank Reppin <frank@opengroupware.org>  
+License:               LGPL
+URL:                   http://www.softwarestudio.org/libical
+Group:                 Development/Libraries
+AutoReqProv:   off
+Requires:              ogo-environment
+Source:                        %{mod_ngobjweb_source}
+Prefix:                        %{mod_ngobjweb_prefix}
+BuildRoot:             %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+apache2 mod_ngobjweb adaptor.
+
+%prep
+rm -fr ${RPM_BUILD_ROOT}
+%setup -n sope-mod_ngobjweb
+
+# ****************************** build ********************************
+%build
+export PATH=$PATH:/usr/sbin
+make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2 -I/usr/include/apr-0"
+
+# ****************************** install ******************************
+%install
+export PATH=$PATH:/usr/sbin
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
+cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+
+mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
+echo "#this file contains the apache/httpd configuration for OpenGroupware.org
+#it should be included from within your default httpd.conf ala:
+#\`include OGo.conf\`
+#(or copy it into the dir where additonal configs end up)
+#
+LoadModule ngobjweb_module %{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+#
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+<LocationMatch "^/OpenGroupware*">
+  SetAppPort 20000
+  SetHandler ngobjweb-adaptor
+</LocationMatch>
+#
+<LocationMatch "^/zidestore/*">
+SetHandler ngobjweb-adaptor
+SetAppPort 21000
+</LocationMatch>
+#
+<LocationMatch "^/RPC2*">
+SetHandler ngobjweb-adaptor
+SetAppPort 22000
+</LocationMatch>
+" > ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/OGo.conf
+
+# ****************************** post *********************************
+%post
+
+# ****************************** clean ********************************
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+# ****************************** files ********************************
+%files
+%defattr(-,root,root,-)
+%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+%config %{_var}/lib/opengroupware.org/OGo.conf
+
+# ********************************* changelog *************************
+%changelog
diff --git a/maintenance/mod_ngobjweb_mdk101.spec b/maintenance/mod_ngobjweb_mdk101.spec
new file mode 100755 (executable)
index 0000000..9293ae2
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:               mod_ngobjweb apache module
+Name:                  mod_ngobjweb
+Version:               %{mod_ngobjweb_version}
+Release:               %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix}
+Vendor:                        OpenGroupware.org
+Packager:              Frank Reppin <frank@opengroupware.org>  
+License:               LGPL
+URL:                   http://www.softwarestudio.org/libical
+Group:                 Development/Libraries
+AutoReqProv:   off
+Requires:              ogo-environment
+Source:                        %{mod_ngobjweb_source}
+Prefix:                        %{mod_ngobjweb_prefix}
+BuildRoot:             %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+apache2 mod_ngobjweb adaptor.
+
+%prep
+rm -fr ${RPM_BUILD_ROOT}
+%setup -n sope-mod_ngobjweb
+
+# ****************************** build ********************************
+%build
+export PATH=$PATH:/usr/sbin
+make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2 -I/usr/include/apr-0"
+
+# ****************************** install ******************************
+%install
+export PATH=$PATH:/usr/sbin
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
+cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+
+mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
+echo "#this file contains the apache/httpd configuration for OpenGroupware.org
+#it should be included from within your default httpd.conf ala:
+#\`include OGo.conf\`
+#(or copy it into the dir where additonal configs end up)
+#
+LoadModule ngobjweb_module %{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+#
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+<LocationMatch "^/OpenGroupware*">
+  SetAppPort 20000
+  SetHandler ngobjweb-adaptor
+</LocationMatch>
+#
+<LocationMatch "^/zidestore/*">
+SetHandler ngobjweb-adaptor
+SetAppPort 21000
+</LocationMatch>
+#
+<LocationMatch "^/RPC2*">
+SetHandler ngobjweb-adaptor
+SetAppPort 22000
+</LocationMatch>
+" > ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/OGo.conf
+
+# ****************************** post *********************************
+%post
+
+# ****************************** clean ********************************
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+# ****************************** files ********************************
+%files
+%defattr(-,root,root,-)
+%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+%config %{_var}/lib/opengroupware.org/OGo.conf
+
+# ********************************* changelog *************************
+%changelog
diff --git a/maintenance/mod_ngobjweb_slss8.spec b/maintenance/mod_ngobjweb_slss8.spec
new file mode 100755 (executable)
index 0000000..d68144f
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:               mod_ngobjweb apache module
+Name:                  mod_ngobjweb
+Version:               %{mod_ngobjweb_version}
+Release:               %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix}
+Vendor:                        OpenGroupware.org
+Packager:              Frank Reppin <frank@opengroupware.org>  
+License:               LGPL
+URL:                   http://www.softwarestudio.org/libical
+Group:                 Development/Libraries
+AutoReqProv:   off
+Requires:              ogo-environment
+Source:                        %{mod_ngobjweb_source}
+Prefix:                        %{mod_ngobjweb_prefix}
+BuildRoot:             %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+apache2 mod_ngobjweb adaptor.
+
+%prep
+rm -fr ${RPM_BUILD_ROOT}
+%setup -n sope-mod_ngobjweb
+
+# ****************************** build ********************************
+%build
+export PATH=$PATH:/usr/sbin
+make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs" APXS_INCLUDE_DIRS="-I/usr/include/apache"
+
+# ****************************** install ******************************
+%install
+export PATH=$PATH:/usr/sbin
+mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}
+cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+
+mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org
+echo "#this file contains the apache/httpd configuration for OpenGroupware.org
+#it should be included from within your default httpd.conf ala:
+#\`include OGo.conf\`
+#(or copy it into the dir where additonal configs end up)
+#
+LoadModule ngobjweb_module %{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+#
+Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/
+Alias /ArticleImages %{_var}/lib/opengroupware.org/news
+#
+<LocationMatch "^/OpenGroupware*">
+  SetAppPort 20000
+  SetHandler ngobjweb-adaptor
+</LocationMatch>
+#
+<LocationMatch "^/zidestore/*">
+SetHandler ngobjweb-adaptor
+SetAppPort 21000
+</LocationMatch>
+#
+<LocationMatch "^/RPC2*">
+SetHandler ngobjweb-adaptor
+SetAppPort 22000
+</LocationMatch>
+" > ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/OGo.conf
+
+# ****************************** post *********************************
+%post
+
+# ****************************** clean ********************************
+%clean
+rm -fr ${RPM_BUILD_ROOT}
+
+# ****************************** files ********************************
+%files
+%defattr(-,root,root,-)
+%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so
+%config %{_var}/lib/opengroupware.org/OGo.conf
+
+# ********************************* changelog *************************
+%changelog