At http://sourceforge.net/project/showfiles.php?group_id=74018 you can download a RPM-builder for CPAN-Perl-modules.
The man-page stats:
cpan2rpm [options] <distribution>
The syntax for cpan2rpm requires a single distribution name, which can take one of four different forms:
perl Makefile.PL make make dist
will be performed in that directory in order to create the tarball necessary for package creation.
Example:
For compiling the CPAN-Perl-module IO::Socket:SSL you can either do a:
cpan2rpm --group=Entwicklung/Bibliotheken/Perl IO::Socket:SSL
or:
cpan2rpm --group=Entwicklung/Bibliotheken/Perl http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-1.07.tar.gz
or, if you downloaded IO-Socket-SSL-1.07.tar.gz to /tmp:
cpan2rpm --group=Entwicklung/Bibliotheken/Perl /tmp/IO-Socket-SSL-1.07.tar.gz
The option „–group=Entwicklung/Bibliotheken/Perl“ is valid for SUSE 10.0, and can differ.
← index