List Info

Thread: Re: Proper way to package Perl modules




Re: Proper way to package Perl modules
user name
2007-06-15 05:17:30
On 6/15/07, Kenneth Porter < shivasewingwitch.com">shivasewingwitch.com> wrote:
What';s the expected way to package a Perl module? I want to build RPM's for
several Perl modules and in the past on Fedora I'd use cpanflute2. What do
I use on CentOS5? Is there a package to install to provide the necessary
utility?

I want to repackage the dependencies for MIMEDefang:

 &nbsp; &nbsp;   ; perl(MIME::Parser) is needed by mimedefang-2.62-1.i386
 &nbsp; &nbsp; &nbsp;  perl(MIME::Tools) >= 5.410 is needed by mimedefang-2.62-1.i386
 &nbsp;   ; &nbsp; perl(MIME::Words) is needed by mimedefang-2.62-1.i386
 &nbsp; &nbsp; &nbsp;  perl-IO-stringy is needed by mimedefang-2.62-1.i386
 &nbsp; &nbsp; &nbsp;  perl-MIME-tools is needed by mimedefang-2.62-1.i386
 &nbsp; &nbsp; &nbsp;  perl-MailTools is needed by mimedefang-2.62-1.i386

You would probably want to use cpan2rpm.&nbsp;

Looks like you can get it for CentOS5 at:

http://centos.karan.org/el5/extras/testing/i386/RPMS/


--
Matt Martz
mdmartzsivel.net">mdmartzsivel.net
CentOS Mirror Admin
Re: Proper way to package Perl modules
country flaguser name
United States
2007-06-15 07:05:43
--On Friday, June 15, 2007 6:17 AM -0400 Matt Martz
<centossivel.net> 
wrote:

> You would probably want to use cpan2rpm.
>
> Looks like you can get it for CentOS5 at:
>
> http://centos.karan.org/el5/extras/testing/i386/RPMS/

Thanks, I found that answer, too, at:

<http://wiki.centos.org/PackageManagement/SourceInstal
ls>

Alas, I couldn't answer my own question right away as my
message hadn't yet 
gotten back to me.

The upstream source for cpan2rpm is at <http://perl.arix.
com/cpan2rpm/>. 
Their FTP is refusing anonymous logins but the latest
package can also be 
downloaded from CPAN and can be rebuilt with "rpmbuild
-ta".

_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )