For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > March 2004 > perl modules -> RPM resources???









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author perl modules -> RPM resources???
Gerald Jones

2004-03-30, 5:39 pm

Hello,

Does anyone know of a howto or tutorial on creating RPMs from regular tarballs
of perl modules?

Thanks,
Gerald

--
The press is so powerful in its image-making role, it can make a
criminal look like he's the victim and make the victim look like he's
the criminal. --Malcolm X
Matthew Miller

2004-03-30, 8:34 pm

Gerald Jones <gj@freeshell.org> wrote:
> Does anyone know of a howto or tutorial on creating RPMs from regular
> tarballs of perl modules?


take a look at cpanflute2 in RPM::Specfile.

--
Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Villy Kruse

2004-03-31, 3:35 am

On Tue, 30 Mar 2004 21:54:01 +0000 (UTC),
Gerald Jones <gj@freeshell.org> wrote:


> Hello,
>
> Does anyone know of a howto or tutorial on creating RPMs from regular tarballs
> of perl modules?
>


A quick and dirty solution is to install the perl module the normal way, get
the contents of .packlist and put that in the spec file. With empty %build
and %install sections and the contents of .packlist in the %files section
you can quickly build a rpm package. Otherwise you can download various
..src.rpm packages for perl modules from various linux ditributions and see
how it may be done.


Villy
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com