CPANPLUS::Dist::SUSE - To build RPM files from cpan for SUSE
Version 0.03
CPANPLUS::Dist::SUSE is a distribution class to create SUSE packages from CPAN modules, and all its dependencies. This allows you to have the most recent copies of CPAN modules installed, using your package manager of choice, but without having to wait for central repositories to be updated.
You can either install them using the API provided in this package, or manually via rpm.
This is a simple module which inherits from CPANPLUS::Dist::RPM that allows for creating RPM packages under SUSE. In particular, this RPM spec file has been tested in SLES 11.
It also honors Module::Build if Build.PL is in the distribution.
Simple way of creating and installing a module is:
cpan2dist --verbose --format CPANPLUS::Dist::SUSE --buildprereq --dist-opts="--replacefiles=" --install Module::Builder
"--replacefiles=" can be used when you want to install with rpm option "--replacefiles"
You can also check for CPANPLUS::Dist::Fedora for information.
Checks if /etc/SuSE-release file exists
Overrides the install method of RPM allowing for extra rpm install arguments in dist-opts, be aware that you need to specify it as
cpan2dist ... --dist-opts="--aid= --allfiles= --relocate=/a=/b"
--aid --allfiles --badreloc --excludedocs --force -h,--hash --ignoresize --ignorearch --ignoreos --includedocs --justdb --nodeps --nodigest --nosignature --nosuggest --noorder --noscripts --notriggers --oldpackage --percent --repackage --replacefiles --replacepkgs --test
Qindel Formacion y Servicios, SL, <Nito at Qindel.ES>
<Nito at Qindel.ES>
Matthias Weckbecker, <matthias@weckbecker.name>
Please report any bugs or feature requests to bug-cpanplus-dist-rpm-suse at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPANPLUS-Dist-SUSE. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-cpanplus-dist-rpm-suse at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc CPANPLUS::Dist::SUSE
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CPANPLUS-Dist-SUSE
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/CPANPLUS-Dist-SUSE
CPAN Ratings
http://cpanratings.perl.org/d/CPANPLUS-Dist-SUSE
Search CPAN
http://search.cpan.org/dist/CPANPLUS-Dist-SUSE/
Copyright 2010 Qindel Formacion y Servicios, SL.
Copyright 2011 Matthias Weckbecker, <matthias@weckbecker.name>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install CPANPLUS::Dist::SUSE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPANPLUS::Dist::SUSE
CPAN shell
perl -MCPAN -e shell install CPANPLUS::Dist::SUSE
For more information on module installation, please visit the detailed CPAN module installation guide.