--- /dev/null
+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
+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
+#
+<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_version}/mod_ngobjweb.so
+%config %{_var}/lib/opengroupware.org/OGo.conf
+
+# ********************************* changelog *************************
+%changelog
--- /dev/null
+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
+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
+#
+<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_version}/mod_ngobjweb.so
+%config %{_var}/lib/opengroupware.org/OGo.conf
+
+# ********************************* changelog *************************
+%changelog
Group: Development/Libraries
AutoReqProv: off
Source: %{sope_source}
-Prefix: /usr/local
+Prefix: %{sope_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildPreReq: ogo-gnustep_make
%package xml
Summary: sope-xml
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description xml
%package xml-devel
Summary: sope-xml devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description xml-devel
%package xml-tools
Summary: sope-xml tools
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description xml-tools
%package core
Summary: sope-core
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description core
%package core-devel
Summary: sope-core devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description core-devel
%package mime
Summary: sope-mime
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description mime
%package mime-devel
Summary: sope-mime devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description mime-devel
%package appserver
Summary: sope-appserver
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description appserver
%package appserver-devel
Summary: sope-appserver devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description appserver-devel
%package appserver-tools
Summary: sope-appserver tools
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description appserver-tools
%package ldap
Summary: sope-ldap
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description ldap
%package ldap-devel
Summary: sope-ldap devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description ldap-devel
%package ldap-tools
Summary: sope-ldap tools
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description ldap-tools
%package ical
Summary: sope-ical
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description ical
%package ical-devel
Summary: sope-ical devel
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description ical-devel
%package gdl1
Summary: sope-gdl1
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description gdl1
%package gdl1-postgresql
Summary: sope-gdl1-postgresql
Group: Development/Libraries
-Requires: ogo-gnustep_make
+#Requires: ogo-gnustep_make
AutoReqProv: off
%description 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
%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
# ********************************* changelog *************************
%changelog
* Wed Sep 09 2004 Frank Reppin <frank@opengroupware.org>
- - initial build
+- initial build