%define upstream_name Algorithm-Permute %define upstream_version 0.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 6 Summary: Handy and fast permutation with OO interface License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Algorithm/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl-devel %description This handy module makes performing permutation in Perl easy and fast, although perhaps its algorithm is not the fastest on the earth. It supports permutation r of n objects where 0 < r <= n. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.120.0-6.mga3 + Revision: 362889 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.120.0-5.mga3 + Revision: 250259 - rebuild for perl 5.16 * Sat Jun 11 2011 jquelin <jquelin> 0.120.0-4.mga2 + Revision: 103445 - perl 5.14 * Fri Jan 21 2011 jquelin <jquelin> 0.120.0-3.mga1 + Revision: 29778 - mageia rebuild - imported package perl-Algorithm-Permute