From Fedora Project Wiki

Revision as of 05:41, 9 August 2013 by Yuwang (talk | contribs) (RPM Development Tools: add `licensecheck` which also ships with the package.)

RPM Development Tools

rpmdevtools contains many scripts to aid in package development. If you have any additions/fixes to the existing tools, please open a Bugzilla report against the Fedora rpmdevtools component. See also rpmdevtools in CVS .

Before version 5.0 (introduced in Fedora Extras for FC5), rpmdevtools was called fedora-rpmdevtools, and many scripts had a fedora- prefix instead of the current rpmdev- one.

rpmdev-setuptree Create RPM build tree within user's home directory
rpmdev-diff Diff contents of two archives
rpmdev-newspec Creates new .spec from template
rpmdev-rmdevelrpms Find (and optionally remove) "development" RPMs
rpmdev-checksig Check package signatures using alternate RPM keyring
rpminfo Print information about executables and libraries
rpmdev-md5 Display the md5sum of all files in an RPM
rpmdev-vercmp RPM version comparison checker
spectool Expand and download sources and patches in specfiles
rpmdev-wipetree Erase all files within dirs created by rpmdev-setuptree
rpmdev-extract Extract various archives, "tar xvf" style
licensecheck simple license checker for source files

rpmdevtools when installed also pulls in (roughly) the explicit minimum build environment as defined in packaging guidelines , and contains (X)Emacs helpers that integrates rpm-spec-mode.el with rpmdev-newspec.