%package core
Summary: Core libraries of the SOPE application server
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
AutoReqProv: off
%description core
%package mime
Summary: SOPE libraries for MIME processing
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core
+Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
AutoReqProv: off
%description mime
%package appserver
Summary: SOPE application server libraries
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime libfoundation10
AutoReqProv: off
%description appserver
%package ldap
Summary: SOPE libraries for LDAP access
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core
+Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
AutoReqProv: off
%description ldap
%package ical
Summary: SOPE libraries for iCal handling
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation10
AutoReqProv: off
%description ical
%package gdl1
Summary: GNUstep database libraries for SOPE
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core
+Requires: sope%{sope_major_version}%{sope_minor_version}-core libfoundation10
AutoReqProv: off
%description gdl1
rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
# ****************************** post *********************************
-%post core
+%post appserver
if [ $1 = 1 ]; then
if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
echo "%{prefix}/lib" > %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
fi
# ****************************** postun *********************************
-%postun core
+%postun appserver
if [ $1 = 0 ]; then
if [ -e %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
# ********************************* changelog *************************
%changelog
+* Fri Jan 28 2005 Frank Reppin <frank@opengroupware.org>
+- reworked dependencies
+- deal with ld.so.conf in (post|preun) of appserver rather than core
* Tue Jan 25 2005 Frank Reppin <frank@opengroupware.org>
- fix for OGo Bug #1192
* Tue Jan 11 2005 Frank Reppin <frank@opengroupware.org>