discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rpm generation


From: Adam Fedor
Subject: rpm generation
Date: Mon, 08 Jan 2001 20:18:28 -0700

I just put in changes to  the GNUstep Makefile package to allow one to
automatically generate an RPM spec file. It isn't tested very well and
isn't very configurable yet, but it should work for most projects (for
example, it will (soon) generate a proper spec file for all the GNUstep
packages except gstep-make).

All you are require to do is put the line

PACKAGE_NAME = xxx

in your GNUmakefile.preamble, although there are other variables you
should set in addition to this. See the make/Documenation/make.texi (not
finished), http://www.gnustep.org/resources/documentation/make_toc.html
(Same), or the rpm.make file for more information.

Then type

make specfile

You need the rpm program to generate an rpm. Typically, you'd put the
source tar.gz file in /usr/src/redhat/SOURCES, and then type

rpm -ba xxx.spec


-- 
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
address@hidden  http://www.doc.com     | something hard enough, and it 
address@hidden  http://www.gnustep.org | will fall over.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]