%define pkg_name Algorithm-Permute %define pkg_version 0.06 %define rpm_pkg_version 0.06 %define rpm_pkg_release 5.n0i.5 Summary: Handy and fast permutation with OO interface Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/E/ED/EDPRATOMO/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This handy module makes performing permutation in Perl easy and fast, although perhaps its algorithm is not the fastest on the earth. Currently it only supports permutation n of n objects. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path bench/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc bench/ Changes %changelog * Tue May 22 2007 Marius Feraru - 0.06-5.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - mass rebuild * Sat Mar 04 2006 Marius Feraru - 0.06-4.n0i.4 - automatic rebuild (perl 5.8.8) * Sat Jul 23 2005 Marius Feraru 0.06-3.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.06-2.n0i.2 - automatic rebuild (perl 5.8.6) * Mon Dec 06 2004 Marius Feraru 0:0.06-1.n0i.1 - version 0.06 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101