Date: Fri, 20 Sep 2002 16:09:03 -0700
From: Erick Calder
Reply-To: rpm-list@redhat.com
To: rpm-list@redhat.com
Subject: RE: Advised wanted on building perl module rpms
Erick Calder wrote:
> Mark,
>
> check out cpan2rpm (http://perl.arix.com) which makes RPMs out of CPAN
> modules. it relies on having the standard stuff that h2xs generates e.g.
> Makefile.PL, etc. but it's a one-step process for making an RPM.
cpan2rpm does other things for you. you can:
cpan2rpm Proc::Daemon
and it will fetch the latest copy from CPAN for you, or:
cpan2rpm http://somewhere.com/my-perl-module.tar.gz
and will do the same, or:
cpan2rpm /tmp/mymodule.tar.gz
the script will open the tarball and get user information and abstract from
the Makefile.PL plus give you a whole bunch of other flexibility. see man
page here:
http://perl.arix.com/cpan2rpm/man.html
- e