From 39910890ef56542bfb6e50b2ce4d8416d6f9a1ab Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 28 Sep 2004 11:45:09 +0000 Subject: [PATCH] added sope specfile git-svn-id: http://svn.opengroupware.org/SOPE/trunk@183 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- maintenance/spec/sope.spec | 350 +++++++++++++++++++++++++++++++++++++ 1 file changed, 350 insertions(+) create mode 100755 maintenance/spec/sope.spec diff --git a/maintenance/spec/sope.spec b/maintenance/spec/sope.spec new file mode 100755 index 00000000..cb819a2e --- /dev/null +++ b/maintenance/spec/sope.spec @@ -0,0 +1,350 @@ +Summary: SOPE. +Name: sope%{sope_major_version}%{sope_minor_version} +Version: %{sope_version} +Release: %{sope_release}.%{sope_buildcount} +Vendor: http://www.opengroupware.org +Packager: Frank Reppin +License: GPL +URL: http://www.opengroupware.org +Group: Development/Libraries +AutoReqProv: off +Source: sope-trunk-latest.tar.gz +Prefix: /usr/local +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildPreReq: ogo-gnustep_make + +%description +sope + +######################################### +%package xml +Summary: sope-xml +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description xml +sope-xml + +%package xml-devel +Summary: sope-xml devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description xml-devel +sope-xml devel package. + +%package xml-tools +Summary: sope-xml tools +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description xml-tools +sope-xml tools package. +######################################### +%package core +Summary: sope-core +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description core +sope-core + +%package core-devel +Summary: sope-core devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description core-devel +sope-core devel package. +######################################### +%package mime +Summary: sope-mime +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description mime +sope-mime + +%package mime-devel +Summary: sope-mime devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description mime-devel +sope-mime devel package. +######################################### +%package appserver +Summary: sope-appserver +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description appserver +sope-appserver + +%package appserver-devel +Summary: sope-appserver devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description appserver-devel +sope-appserver devel package. + +%package appserver-tools +Summary: sope-appserver tools +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description appserver-tools +sope-appserver tools package. +######################################### +%package ldap +Summary: sope-ldap +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description ldap +sope-ldap + +%package ldap-devel +Summary: sope-ldap devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description ldap-devel +sope-ldap devel package. + +%package ldap-tools +Summary: sope-ldap tools +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description ldap-tools +sope-ldap tools package. +######################################### +%package ical +Summary: sope-ical +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description ical +sope-ical + +%package ical-devel +Summary: sope-ical devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description ical-devel +sope-ical devel package. +######################################### +%package gdl1 +Summary: sope-gdl1 +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description gdl1 +sope-gdl1 + +%package gdl1-postgresql +Summary: sope-gdl1-postgresql +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description gdl1-postgresql +sope-gdl1-postgresql + +%package gdl1-devel +Summary: sope-gdl1 devel +Group: Development/Libraries +Requires: ogo-gnustep_make +AutoReqProv: off + +%description gdl1-devel +sope-gdl1 devel package. +######################################## + +%prep +rm -fr ${RPM_BUILD_ROOT} +%setup -n sope + +# ****************************** build ******************************** +%build +source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh +make debug=yes + +# ****************************** install ****************************** +%install +source %{prefix}/OGo-GNUstep/Library/Makefiles/GNUstep.sh +mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/lib +make debug=yes INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \ + GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{prefix} \ + FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{prefix} \ + install + +rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist1 +rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist2 +rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rssparse +rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp + +# ****************************** post ********************************* +%post + +# ****************************** postun ********************************* +%postun + +# ****************************** clean ******************************** +%clean + +# ****************************** files ******************************** +%files xml +%defattr(-,root,root,-) +%{prefix}/lib/libDOM*.so.4.3* +%{prefix}/lib/libSaxObjC*.so.4.3* +%{prefix}/lib/libXmlRpc*.so.4.3* +%{prefix}/lib/sope-4.3/saxdrivers/libxmlSAXDriver.sax +%{prefix}/lib/sope-4.3/saxdrivers/STXSaxDriver.sax + +%files xml-tools +%defattr(-,root,root,-) +%{prefix}/bin/domxml +%{prefix}/bin/saxxml +%{prefix}/bin/xmln + +%files xml-devel +%defattr(-,root,root,-) +%{prefix}/include/DOM +%{prefix}/include/SaxObjC +%{prefix}/include/XmlRpc +%{prefix}/lib/libDOM*.so +%{prefix}/lib/libSaxObjC*.so +%{prefix}/lib/libXmlRpc*.so + +%files core +%defattr(-,root,root,-) +%{prefix}/lib/libEOControl*.so.4.3* +%{prefix}/lib/libNGExtensions*.so.4.3* +%{prefix}/lib/libNGStreams*.so.4.3* + +%files core-devel +%defattr(-,root,root,-) +%{prefix}/include/EOControl +%{prefix}/include/NGExtensions +%{prefix}/include/NGStreams +%{prefix}/lib/libEOControl*.so +%{prefix}/lib/libNGExtensions*.so +%{prefix}/lib/libNGStreams*.so + +%files mime +%defattr(-,root,root,-) +%{prefix}/lib/libNGMime*.so.4.3* + +%files mime-devel +%defattr(-,root,root,-) +%{prefix}/include/NGImap4 +%{prefix}/include/NGMail +%{prefix}/include/NGMime +%{prefix}/lib/libNGMime*.so + +%files appserver +%defattr(-,root,root,-) +%{prefix}/lib/libNGObjWeb*.so.4.3* +%{prefix}/lib/libNGXmlRpc*.so.4.3* +%{prefix}/lib/libSoOFS*.so.4.3* +%{prefix}/lib/libWEExtensions*.so.4.3* +%{prefix}/lib/libWOExtensions*.so.4.3* +%{prefix}/lib/libWOXML*.so.4.3* +%{prefix}/share/sope-4.3/ngobjweb/DAVPropMap.plist +%{prefix}/share/sope-4.3/ngobjweb/Defaults.plist +%{prefix}/share/sope-4.3/ngobjweb/Languages.plist +%{prefix}/lib/sope-4.3/products/SoCore.sxp +%{prefix}/lib/sope-4.3/products/SoOFS.sxp +%{prefix}/lib/sope-4.3/wox-builders/WEExtensions.wox +%{prefix}/lib/sope-4.3/wox-builders/WOExtensions.wox + +%files appserver-tools +%defattr(-,root,root,-) +%{prefix}/bin/sope-%{sope_major_version}.%{sope_minor_version} +%{prefix}/bin/xmlrpc_call + +%files appserver-devel +%defattr(-,root,root,-) +%{prefix}/bin/wod +%{prefix}/include/NGHttp +%{prefix}/include/NGObjWeb +%{prefix}/include/NGXmlRpc +%{prefix}/include/SoOFS +%{prefix}/include/WEExtensions +%{prefix}/include/WOExtensions +%{prefix}/include/WOXML +%{prefix}/lib/libNGObjWeb*.so +%{prefix}/lib/libNGXmlRpc*.so +%{prefix}/lib/libSoOFS*.so +%{prefix}/lib/libWEExtensions*.so +%{prefix}/lib/libWOExtensions*.so +%{prefix}/lib/libWOXML*.so +%{prefix}/OGo-GNUstep/Library/Makefiles/Additional/ngobjweb.make +%{prefix}/OGo-GNUstep/Library/Makefiles/woapp.make +%{prefix}/OGo-GNUstep/Library/Makefiles/wobundle.make + +%files ldap +%defattr(-,root,root,-) +%{prefix}/lib/libNGLdap*.so.4.3* + +%files ldap-tools +%defattr(-,root,root,-) +%{prefix}/bin/ldap2dsml +%{prefix}/bin/ldapchkpwd +%{prefix}/bin/ldapls + +%files ldap-devel +%defattr(-,root,root,-) +%{prefix}/include/NGLdap +%{prefix}/lib/libNGLdap*.so + +%files ical +%defattr(-,root,root,-) +%{prefix}/lib/libNGiCal*.so.4.3* +%{prefix}/share/sope-4.3/saxmappings/NGiCal.xmap +%{prefix}/lib/sope-4.3/saxdrivers/iCalSaxDriver.sax + +%files ical-devel +%defattr(-,root,root,-) +%{prefix}/include/NGiCal +%{prefix}/lib/libNGiCal*.so + +%files gdl1 +%defattr(-,root,root,-) +%{prefix}/bin/connect-EOAdaptor +%{prefix}/bin/load-EOAdaptor +%{prefix}/lib/libGDLAccess*.so.1.1* + +%files gdl1-postgresql +%defattr(-,root,root,-) +%{prefix}/lib/sope-4.3/dbadaptors/PostgreSQL.gdladaptor + +%files gdl1-devel +%defattr(-,root,root,-) +%{prefix}/include/GDLAccess +%{prefix}/lib/libGDLAccess*.so + +# ********************************* changelog ************************* +%changelog +* Wed Sep 09 2004 Frank Reppin + - initial build -- 2.39.5