rt_buildpackage - build an RPM from within the project's source tree
rt_buildpackage [OPTIONS] rt_buildpackage [OPTIONS] PROJECT.bootstrap rt_buildpackage [OPTIONS] PROJECT.spec.in rt_buildpackage [OPTIONS] PROJECT.spec
rt_buildpackage alows one to build RPM-based projects from within the
project's source tree. It can generate packages in the current directory,
as well as the usual RPM output locations under %_topdir
.
Upon startup, if no filenames are provided rt_buildpackage
searches "." and
".." for the files *.bootstrap, *.spec.in and *.spec in that order
and exits with an error message if eiher directory contains more than one
file of each kind, or if neither directory contains any matching files.
Next if -x option was given it calls rt_bootstrap(1) to configure the project.
Next it calls rt_makedist(1) to create/update an source files required to build the project.
Finally it calls rpmbuild(8) with the appropriate arguments to generate the RPMs, and, if -O or -c options were given, moves them into their intended destinations.
Print a short help message and exit.
Print out version information and exit.
Print out debug logs on STDERR; this option may be repeated to increase the log level.
Save/load spec parser results to/from this cache file.
Save temporary files in this directory.
Define an RPM macro when parsing the spec file.
Set RPM target while processing the spec file.
Use these alternative RPM startup files when processing the spec file.
Move the generated RPMs in this directory after building.
Shorthand for --output-dir=".".
Call rt_bootstrap(1) before doing anything.
Build binary packages only.
Build source packages only.
rt_makedist(1), rt_bootstrap(1), autoconf(1), Module::Build, ExtUtils::MakeMaker
Davlet Panech - dpanech at users dot sourceforge dot net
Copyright 2010 Davlet Panech.
Rpmtoolbox is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Rpmtoolbox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with rpmtoolbox. If not, see <www.gnu.org>.