1998-03-01 11:02:13 -06:00
|
|
|
This directory contains spec files for building an RPM
|
|
|
|
|
|
|
|
Short instructions:
|
|
|
|
|
|
|
|
> I've never built an rpm; given a spec file, how do I do this?
|
|
|
|
> I understand the theory, just not clear on what to type up.
|
|
|
|
|
|
|
|
You'll need to be root. (It is possible to avoid this requirement,
|
|
|
|
but I haven't done the work to the RPM.)
|
|
|
|
|
1998-06-15 22:46:22 -05:00
|
|
|
cd /usr/src/redhat/SOURCES
|
|
|
|
tar -zxvf xacc-1.x.tar.gz
|
|
|
|
cp xacc-1.x/rpm/xacc.spec ../SPECS
|
|
|
|
cp xacc-1.x/rpm/xacc.wmconfig .
|
|
|
|
|
1998-03-01 11:02:13 -06:00
|
|
|
cd /usr/src/redhat/SPECS
|
1998-06-15 22:46:22 -05:00
|
|
|
rpm -ba xacc.spec
|
1998-03-01 11:02:13 -06:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|