Building OpenGroupware Packages for openSUSE
HOWTO for building openSUSE RPMs of OpenGroupware environment and applications.
SPEC files are here. Prebuilt RPMs for openSUSE 10.2 are linked to from the homepage
- Install prerequisites
- Checkout SOPE 4.6
- http://svn.opengroupware.org/SOPE/branches/sope-4.6
- Make a TGZ of the SOPE source
- tar --dereference --exclude .svn -czvf sope.tar.gz sope
- Checkout OGo TRUNK
- http://svn.opengroupware.org/OpenGroupware.org/trunk
- Make a TGZ of the OGo source
- tar --exclude .svn --dereference -czvf opengroupware.tar.gz opengroupware.org
- Get the GNUStep make source
- ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-1.13.0.tar.gz
- Link to your TGZs from the SOURCES directory -
- cd /usr/src/packages/SOURCES
- ln -s /home/awilliam/Works/OpenGroupware/sope.tar.gz
- ln -s /home/awilliam/Works/OpenGroupware/opengroupware.tar.gz
- ln -s /home/awilliam/Works/OpenGroupware/gnustep-make.tar.gz ogo-gnustep_make.tar.gz
- Place the SPEC files in the SPECS folder
- Update the SPEC file revision numbers based on the versions you checked out
- Build & install OGo's GNUStep Make package
- rpmbuild -bb ogo-gnustep-make.spec
- rpm -Uvh /usr/src/packages/RPMS/i586/ogo-gnustep_make-1.13.0-1.1.i586.rpm
- Build & install libfoundation
- rpmbuild -bb libfoundation.spec
- rpm -Uvh /usr/src/packages/RPMS/i586/libfoundation11-1.1.3-r1469.1.i586.rpm /usr/src/packages/RPMS/i586/libfoundation11-devel-1.1.3-r1469.1.i586.rpm
- Build & install SOPE
- rpmbuild -bb sope.spec
- rpm -Uvh /usr/src/packages/RPMS/i586/sope46-*
- Build & install ngobjweb
- rpmbuild -bb ngobjweb.spec
- rm -Uvh /usr/src/packages/RPMS/i586/mod_ngobjweb-2.0.54-r1469.i586.rpm
- Build OGo packages
- rpmbuild -bb ogo-database-setup.spec
- rpmbuild -bb ogo-environment.spec
- rpmbuild -bb opengroupware.spec