Can someone review the text?
1) Obtain a GnuCash distribution (source code .tar.gz file), either by downloading from an ftp site somewhere, or building from CVS using "make dist". The file should have the nomenclature gnucash-X.Y.Z.tar.gz where X.Y.Z are the release numbers.
2) Copy and uncompress/tar the distribution in your /usr/src/redhat/SOURCES directory. Note, use your distribution specific path here, only redhat uses "/usr/src/redhat".
cd /usr/src/redhat/SOURCES cp /SOMEPATH/gnucash-X.Y.Z.tar.gz tar xvzf gnucash-X.Y.Z.tar.gz
3) Copy the rpm SPEC file to /usr/src/redhat/SPEC. If the file has terminates with ".in", remove it so the final filename is gnucash.spec.
cp gnucash-X.Y.Z/rpm/gnucash.spec.in ../SPECS/gnucash.spec
4) Edit the spec file, you probably will only need to modify the following 4 lines:
%define _with_postgres 0 (use postgres backend?) %define _with_ofx 0 (use openofx package?) %define _with_hbci 0 (use hbci package?) %define version @-VERSION-@ (replace with current version)
5) Build the binary and source RPMs cd /usr/src/redhat/SPECS rpmbuild -ba gnucash.spec
(note: older versions of rpm use "rpm -ba FILE.spec" to build)
6) Wait a bit, and a new binary rpm will be in /usr/src/redhat/RPMS/<arch> and a new src.rpm will be in /usr/src/redhat/SRPMS.
-- -**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*--- Jon Lapham <[EMAIL PROTECTED]> Rio de Janeiro, Brasil Work: Extracta Mol�culas Naturais SA http://www.extracta.com.br/ Web: http://www.jandr.org/ ***-*--*----*-------*------------*--------------------*---------------
README.gz
Description: GNU Zip compressed data_______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
