RPM Spec Files

Information on RPM spec files is hard to come by. Here’s what I have. It isn’t much but might help somebody trying to build an RPM package for the first time. See also http://blag.wiki.aktivix.org/Rpm_tips

What the Spec File Does Overall

The spec file is used by the “rpmbuild” command to create a distributable RPM file for a piece of software. The “software” can be a large application including source code, or it might just be the application binary files, or even just a script or two.

The RPM file is a single file containing the software and scripts needed to install/uninstall it on a target system. Continue reading