Youri::Package::RPM::Builder - Build RPM packages
my $builder = Youri::Package::RPM::Builder->new(); $builder->build('foo');
This module builds rpm packages.
Creates and returns a new Youri::Package::RPM::Builder object.
Available options:
verbosity level (default: 0).
rpm top-level directory (default: rpm %_topdir macro).
rpm source directory (default: rpm %_sourcedir macro).
callback to execute before build, with build dependencies as argument (default: none).
external command (or list of commands) to execute before build, with build dependencies as argument (default: none). Takes precedence over previous option.
callback to execute after build, with build packages as argument (default: none).
external command (or list of commands) to execute after build, with build packages as argument (default: none). Takes precedence over previous option.
rpm build options.
rpm build stage, among the following values: a, b, p, c, i, l or s (default: a).
To install Youri::Package::RPM::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Youri::Package::RPM::Builder
CPAN shell
perl -MCPAN -e shell install Youri::Package::RPM::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.