cpan-packager - create redhat/debian packages from CPAN distributions


NAME

cpan-packager - create redhat/debian packages from CPAN distributions


SYNOPSIS

  cpan-packager 
    --module             The module name  ex) Test::Exception 
    --builder            RPM or Deb
    --conf               The CPAN::Packager configuration file path.
    [--verbose]          Emit additional information and diagnostics.
    [--always-build]     Always build CPAN modules even if the module is already installed.
    [--modulelist]       The path to a file containing the list of modules
    [--help]
  Example
    $ cpan-packager --module Test::Exception --builder RPM --conf \
    conf/config-deb.yaml --verbose
  Usage
    See perldoc cpan-packager
    See perldoc CPAN::Packager::Manual.


Manual

RPMs

$ sudo cpan-packager --module Test::Exception --builder RPM --conf \ conf/config-rpm.yaml --verbose

The resulting package may be found at: ~/.cpanpackager/rpm

Debs

$ sudo cpan-packager --module Test::Exception --builder Deb --conf \ conf/config-deb.yaml --verbose

The resulting package may be found at: ~/.cpanpackager/deb

Options

User Manual

See the CPAN::Packager::Manual manpage.


DESCRIPTION

cpan-packager creates RPM and Deb packages of CPAN distributions. Given a module name, cpan-packager will automatically analyze dependencies, download, build, test, provision, and install packages.


AUTHOR

Takatoshi Kitano <kitano.tk@gmail.com>


LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 cpan-packager - create redhat/debian packages from CPAN distributions