App-CPANtoRPM
view release on metacpan or search on metacpan
installed in order to build modules that use the Build.PL and
Makefile.PL scripts (both Module::Build and Module::Build::Tiny are
supported).
In order to build the rpm, you need the rpmbuild program.
This script also relies on the strace program. This is necessary because
many Makefile.PL and Build.PL scripts are interactive so when you run
them, they hang waiting for input. Unfortunately, I was not able to find
any pure perl way to run a program as a child (or in a thread) and
monitor it to see if it's still running because it's doing work, or
still running because it's waiting on user input. Though somewhat crude,
strace can be used to determine that.
In order to sign packages, you must have the gpg program installed, and
you must have a key set up to sign with. In order to do this
non-interactively, you also need either the Expect module or the expect
program installed.
In order to install the package, you either must be running as root, or
bin/cpantorpm.pod view on Meta::CPAN
installed in order to build modules that use the Build.PL and Makefile.PL
scripts (both Module::Build and Module::Build::Tiny are supported).
In order to build the rpm, you need the B<rpmbuild> program.
This script also relies on the B<strace> program. This is necessary
because many Makefile.PL and Build.PL scripts are interactive so when
you run them, they hang waiting for input. Unfortunately, I was not
able to find any pure perl way to run a program as a child (or in a
thread) and monitor it to see if it's still running because it's doing
work, or still running because it's waiting on user input. Though
somewhat crude, B<strace> can be used to determine that.
In order to sign packages, you must have the B<gpg> program installed,
and you must have a key set up to sign with. In order to do this
non-interactively, you also need either the B<Expect> module or the
B<expect> program installed.
In order to install the package, you either must be running as root, or
have the B<sudo> program. The B<sudo> command may be interactive,
lib/App/CPANtoRPM.pm view on Meta::CPAN
# runtime_req=> { FEATURE => VERS }
# Same as 'requires', but FEATURE
# formatted as it will be in the SPEC file.
# FEATURE is perl(Foo::Bar)
# provides => { FEATURE => VERS }
#
# # Gotten from the build step
# # -------------------------
# bin_dir => /usr/bin The directories we're installing too
# lib_dir => /usr/lib/perl5/5.14.2
# arch_dir => /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi
# man1_dir => /usr/share/man/man1
# man3_dir => /usr/share/man/man3
# config_cmd => perl Makefile.PL The commands used for each step
# build_cmd => make
# test_cmd => make test
# install_cmd=> make install
# build_tiny => 0/1 1 if it uses Module::Build::Tiny
#
# # From the SPEC creation step
# # -------------------------
( run in 1.381 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )