==== cpan2rpm ==== 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] The syntax for cpan2rpm requires a single distribution name, which can take one of four different forms: - a CPAN module name (e.g. XML::Simple) - When a module name is passed, the script will ``walk'' search.cpan.org to determine the latest distribution. If an exact match is not found, the CPAN module is used to make this determination. If you have not yet configured this module, please refer to the REQUIREMENTS section below for further instructions. - a URL (both http:// and ftp:// style locators will work) - In this and the above case, an automatic download of the needed tarball is performed (see notes for how). The tarball is deposited in the SOURCES directory. - a path to a tarball (e.g. /tmp/XML-Simple-1.05.tar.gz) - In this case, the tarball indicated gets copied to the SOURCES directory. - a directory path - The directory specified must contain a Makefile.PL. If the user intends to build a package from a directory (i.e. user does NOT specify --spec-only), the commands: 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. \\ \\ <- [[commserv:index]]