From: frank Date: Fri, 1 Oct 2004 13:48:02 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOPE/trunk@208 e4a50df8-12e2-0310-a44c-efbce... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e170f9079c4a5c220ead169fb67837d9b3876e37;p=sope git-svn-id: http://svn.opengroupware.org/SOPE/trunk@208 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/maintenance/mod_ngobjweb_fedora.spec b/maintenance/mod_ngobjweb_fedora.spec new file mode 100755 index 00000000..e488c6fd --- /dev/null +++ b/maintenance/mod_ngobjweb_fedora.spec @@ -0,0 +1,75 @@ +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 +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_INCLUDE_DIRS="-I/usr/include/httpd -I/usr/include/apr-0" + +# ****************************** install ****************************** +%install +export PATH=$PATH:/usr/sbin +mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version} +cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_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 %{_var}/lib/opengroupware.org/mod_ngobjweb.so +# +Alias /OpenGroupware10a.woa/WebServerResources/ /usr/local/share/opengroupware.org-1.0a/www/ +Alias /ArticleImages %{_var}/lib/opengroupware.org/news +# + + SetAppPort 20000 + SetHandler ngobjweb-adaptor + +# + +SetHandler ngobjweb-adaptor +SetAppPort 21000 + +# + +SetHandler ngobjweb-adaptor +SetAppPort 22000 + +" > ${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_version}/mod_ngobjweb.so +%config %{_var}/lib/opengroupware.org/OGo.conf + +# ********************************* changelog ************************* +%changelog diff --git a/maintenance/mod_ngobjweb_suse91.spec b/maintenance/mod_ngobjweb_suse91.spec new file mode 100755 index 00000000..be05e7d6 --- /dev/null +++ b/maintenance/mod_ngobjweb_suse91.spec @@ -0,0 +1,75 @@ +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 +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" + +# ****************************** install ****************************** +%install +export PATH=$PATH:/usr/sbin +mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_version} +cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_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 %{_var}/lib/opengroupware.org/mod_ngobjweb.so +# +Alias /OpenGroupware10a.woa/WebServerResources/ /usr/local/share/opengroupware.org-1.0a/www/ +Alias /ArticleImages %{_var}/lib/opengroupware.org/news +# + + SetAppPort 20000 + SetHandler ngobjweb-adaptor + +# + +SetHandler ngobjweb-adaptor +SetAppPort 21000 + +# + +SetHandler ngobjweb-adaptor +SetAppPort 22000 + +" > ${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_version}/mod_ngobjweb.so +%config %{_var}/lib/opengroupware.org/OGo.conf + +# ********************************* changelog ************************* +%changelog diff --git a/maintenance/sope.spec b/maintenance/sope.spec index d3313b3d..567dee34 100755 --- a/maintenance/sope.spec +++ b/maintenance/sope.spec @@ -9,7 +9,7 @@ URL: http://www.opengroupware.org Group: Development/Libraries AutoReqProv: off Source: %{sope_source} -Prefix: /usr/local +Prefix: %{sope_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildPreReq: ogo-gnustep_make @@ -20,7 +20,7 @@ sope %package xml Summary: sope-xml Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description xml @@ -29,7 +29,7 @@ sope-xml %package xml-devel Summary: sope-xml devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description xml-devel @@ -38,7 +38,7 @@ sope-xml devel package. %package xml-tools Summary: sope-xml tools Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description xml-tools @@ -47,7 +47,7 @@ sope-xml tools package. %package core Summary: sope-core Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description core @@ -56,7 +56,7 @@ sope-core %package core-devel Summary: sope-core devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description core-devel @@ -65,7 +65,7 @@ sope-core devel package. %package mime Summary: sope-mime Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description mime @@ -74,7 +74,7 @@ sope-mime %package mime-devel Summary: sope-mime devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description mime-devel @@ -83,7 +83,7 @@ sope-mime devel package. %package appserver Summary: sope-appserver Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description appserver @@ -92,7 +92,7 @@ sope-appserver %package appserver-devel Summary: sope-appserver devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description appserver-devel @@ -101,7 +101,7 @@ sope-appserver devel package. %package appserver-tools Summary: sope-appserver tools Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description appserver-tools @@ -110,7 +110,7 @@ sope-appserver tools package. %package ldap Summary: sope-ldap Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description ldap @@ -119,7 +119,7 @@ sope-ldap %package ldap-devel Summary: sope-ldap devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description ldap-devel @@ -128,7 +128,7 @@ sope-ldap devel package. %package ldap-tools Summary: sope-ldap tools Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description ldap-tools @@ -137,7 +137,7 @@ sope-ldap tools package. %package ical Summary: sope-ical Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description ical @@ -146,7 +146,7 @@ sope-ical %package ical-devel Summary: sope-ical devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description ical-devel @@ -155,7 +155,7 @@ sope-ical devel package. %package gdl1 Summary: sope-gdl1 Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description gdl1 @@ -164,7 +164,7 @@ sope-gdl1 %package gdl1-postgresql Summary: sope-gdl1-postgresql Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description gdl1-postgresql @@ -173,7 +173,7 @@ sope-gdl1-postgresql %package gdl1-devel Summary: sope-gdl1 devel Group: Development/Libraries -Requires: ogo-gnustep_make +#Requires: ogo-gnustep_make AutoReqProv: off %description gdl1-devel @@ -280,7 +280,7 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp %files appserver-tools %defattr(-,root,root,-) -%{prefix}/bin/sope-%{sope_major_version}.%{sope_minor_version} +%{prefix}/sbin/sope-%{sope_major_version}.%{sope_minor_version} %{prefix}/bin/xmlrpc_call %files appserver-devel @@ -347,4 +347,4 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp # ********************************* changelog ************************* %changelog * Wed Sep 09 2004 Frank Reppin - - initial build +- initial build