head	1.5;
access;
symbols
	TIGRIS_1_0_8_1:1.5
	TIGRIS_1_0_8_0:1.5;
locks; strict;
comment	@# @;


1.5
date	2001.07.24.06.24.49;	author lucas;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.27.05.41.46;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2000.07.28.18.02.09;	author lucas;	state Exp;
branches;
next	1.2;

1.2
date	2000.07.28.17.09.49;	author lucas;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.28.03.22.23;	author lucas;	state Exp;
branches;
next	;


desc
@@


1.5
log
@new rpm build system.  everything is done under the rpm/[app] directory instead of having all the rpms in one directory.
@
text
@Using the Ant build system for RPM's

- Make sure that the correct path to the releng module is in releng/build/rpm.properties.

- The system assumes that you have Ant installed


To build a RPM:

cd /path/to/releng/build

ant -buildfile build-rpm.xml [target] (apache, ApacheJServ, etc)

The finished rpm will be in /path/to/releng/rpm/[rpm name]/RPMS and a src rpm will be in /path/to/releng/rpm/[rpm name]/SRPMS


@


1.4
log
@cute
@
text
@d3 1
a3 1
1)  The first thing to do is to possibly the set an env variable in the build-releng.sh file.  RELENG_HOME's value should be the path to the releng module.  If you check out the module in ${HOME} then you don't have to change anything.
d5 1
a5 1
2)  Once that is ready, you are all set...
a6 1
To build an RPM:
d8 1
a8 2
cd build/
./build-releng.sh [module-name]  (Example: ./build-releng.sh apache)
d10 1
a10 1
To build the apache RPM, the anoncvs password is 'anoncvs'.
d12 1
a12 1
To build the cvs RPM, the anonymous password is 'guest'.
d14 1
a14 1
An error in the building process will result in a '[exec] Result: 1' message to the consule.  There is an output file in the build directory for each RPM trying to be built.  The name should be roughly the same as the target.
a15 1
The final RPM's will be built in ${RELENG_HOME}/bin/RPMS.
@


1.3
log
@Added some more docs.

Uncommented out the cvs login element.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
1)  The first thing to do is to possibly the set an env variable in the build-releng.sh file.  RELENG_HOME's value should be the path to the releng modjule.  If you check out the module in ${HOME} then you don't have to change anything.
@


1.2
log
@Added possible error conditions.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d12 4
@


1.1
log
@Added a README file.

Updated the .sh and .xml to allow for a simple checkout and build process which will allow anyone to build an up-to-date RPM locally.

PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d12 2
@

