NAME

CPANPLUS::Dist::SUSE - To build RPM files from cpan for SUSE

VERSION

Version 0.02

SYNOPSIS

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.

SUBROUTINES/METHODS

format_available

Checks if /etc/SuSE-release file exists

install

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

AUTHOR

Qindel Formacion y Servicios, SL, <Nito at Qindel.ES>

Matthias Weckbecker, <matthias@weckbecker.name>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CPANPLUS::Dist::SUSE

You can also look for information at:

ACKNOWLEDGEMENTS =head1 LICENSE AND COPYRIGHT

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.