作者:北南南北
來自:LinuxSir.Org
提要:fedora-rpmdevtools 是一款Fedora的RPM包的開發工具,用于Fedora Core 2.0 以上版本;
+++++++++++++++++++++++++++++++++++++++++++++++++++++
正文
+++++++++++++++++++++++++++++++++++++++++++++++++++++
一、fedora-rpmdevtools 介紹;
用于制作RPM包的工具,為開發者提供了極大的方便;比如創建rpmbuild開發樹;MD5驗證;spec 文件的生成;解壓歸檔文件;歸檔文件前后版本對比diff 等;
二、fedora-rpmdevtools 的安裝;
請用yum 或apt 在線安裝;
[root@localhost ~]# yum install fedora-rpmdevtools
或
[root@localhost ~]# apt-get install fedora-rpmdevtools
軟件包的安裝和管理,請參見:《Fedora / Redhat 軟件包管理指南》
三、fedora-rpmdevtools 包含工具;
fedora-buildrpmtree???? Create RPM build tree within user's home directory
fedora-installdevkeys?? Install GPG keys in alternate RPM keyring
fedora-kmodhelper?????? Helper script for building kernel module RPMs
fedora-md5????????????? Display the md5sum of all files in an RPM
fedora-newrpmspec?????? Creates new .spec from template
fedora-rmdevelrpms????? Find (and optionally remove) "development" RPMs
fedora-rpmchecksig????? Check package signatures using alternate RPM keyring
fedora-rpminfo????????? Prints information about executables and libraries
fedora-rpmvercmp??????? RPM version comparison checker
fedora-extract????????? Extract various archives, "tar xvf" style
fedora-diffarchive????? Diff contents of two archives
fedora-wipebuildtree??? Erase all files within dirs created by buildrpmtree
spectool??????????????? Expand and download sources and patches in specfiles
附錄:
《Fedora / Redhat 軟件包管理指南》