Xiaoqiang Wang

RPMBuilder Usage


$rpmbuilder    # nothing, just generate RPMBuilder.xml file
$vi RPMBuilder.xml   # configure with templates, what to package in RPM?
$rpmbuilder    # this time is core operation, to build RPM packages.


Build RPM or make install for Linux OS

Using source package: RPMBuilder-<Version>-<Timestamp>.tar.gz

after download tarball from Downloads page, you have to do the following stpes to build it.

$wget http://sourceforge.net/projects/xml2rpm/files/rpmbuilder-1.1.0/RPMBuilder-1.1.0-20120426T2256.tar.gz/download
$tar zxvf RPMBuilder-1.1.0-20120426T2256.tar.gz
$cd rpmbuilder-1.1.

Build & Install:

$make install

Or you can build RPM packages & Install:

$./rpmbuilder     #<-- Here using our rpmbuilder to build rpm.
$sudo rpm -Uvh *.rpm

The wiki uses Markdown syntax.

Project Admins:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks