Rpmdevtools

From FedoraProject

Revision as of 14:13, 24 May 2008 by ImportUser (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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