[SOGo] Building RPMS

Francis Lachapelle sogo@opengroupware.org
Mon, 15 Oct 2007 09:29:53 -0400


On 15/10/07 06:47 AM, Helge Hess wrote:
> On 15.10.2007, at 12:18, Chris Picton wrote:
>> Any links to the spec files?
> 
> Would be nice if they could be placed into Svn. In SOPE/OGo we put them 
> into a 'maintenance' subdirectory.

I added it to the SVN repository last week:

http://svn.opengroupware.org/SOGo/inverse/trunk/sogo.spec

The package creation process currently requires to define a bunch of 
variables. Here's how the latest available RPMs were built under CentOS5:

rpmbuild -D'sogo_source sogo-20071011.tar.gz' \
          -D'sogo_major_version 0' \
          -D'sogo_minor_version 9' \
          -D'sogo_version 0.9' \
          -D'sogo_release inverse20071011' \
          -D'dist_suffix rhel5' \
          -D'sogo_prefix /usr/GNUstep/System' \
          -D'sope_major_version 4' \
          -D'sope_minor_version 7' \
          -D'sope_version 4.7' \
          -D'sope_release 20071011' \
          --nodeps \
          -ba sogo.spec

-- 
Francis