The spec file

Peter Backlund peter.backlund at home.se
Thu Jan 8 11:17:50 UTC 2004


Casey Price wrote:
> Hi,
> I was wondering if anyone has a known working spec file creation script of
> spec template. I've seen some templates before, but I am looking to find
> one that works for most packages without major changes.

The fedora-rpmdevtools package from fedora.us includes the 
fedora-newrpmspec utility.

> Should it work with the standard ./configure, make and make install
> commands? 

Basically yes.

I am still in beginners stages of understanding spec file
> creation and composition. 

rpm.org, follow the HOWTO link.

> Another thing I am curious about, is what
> portion of the spec file determines which distribution it will work on, or
> if this isn't a factor. Any help is greatly appreciated.
> Thanks,

Hard factors are build environment (libc, gcc and so on), soft factors 
are names of BuildRequires/Requires. For example, Mandrake calls QT 
libqt3/libqt3-devel, where RH/FC uses qt/qt-devel.

/Peter





More information about the fedora-devel-list mailing list