The newer book "Red Hat RPM Guide" is a very good resource also.

--Larry



> -----Original Message-----
> From: Kenneth Porter [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 16, 2003 7:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [SAtalk] Off Topic BUT packages vs source
> 
> 
> --On Thursday, October 16, 2003 1:53 PM -0500 Bill Polhemus 
> <[EMAIL PROTECTED]>
> wrote:
> 
> > However, I have never attempted to build SRPMS myself. Is this 
> > difficult to do?
> 
> A spec file (used to guide building an SRPM into an RPM) is 
> just a text file with an RPM DB entry (eg. name, version, 
> description, etc.) and the rules needed to turn tarballs and 
> patches into an installed set of binaries. It's a formal 
> instance of the stuff usually described in an INSTALL file.
> 
> The spec file includes a prep, build, install, and files 
> section. prep unpacks the tarball and applies patches. build 
> runs configure and make. install runs "make install" and does 
> any special file moves, with the install directed to a "fake 
> root" so it doesn't affect your build system. The files 
> section lists what files in this fake root get packaged into 
> the binary RPM.
> 
> There are also some script sections that can be used to do 
> any special pre and post actions during the "real" 
> installation of the package, such as creating users or 
> stopping and starting daemons.
> 
> For lots more info, go to http://www.rpm.org/ and check out 
> the online book Maximum RPM and the RPM mailing list.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to