%define pkg_name Algorithm-SkipList %define pkg_version 1.02 %define rpm_pkg_version 1.02 %define rpm_pkg_release 4.n0i.6 Summary: Perl implementation of skip lists 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/R/RR/RRWO/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools Requires: perl(enum) >= 1.016 BuildRequires: perl(Module::Build) %{!?_without_test:BuildRequires: perl(Test::More)} %{!?_without_test:BuildRequires: perl(Test::Warn)} %{!?_without_test:BuildRequires: perl(base)} %{!?_without_test:BuildRequires: perl(enum) >= 1.016} %description This is an implementation of skip lists in Perl. Skip lists are a probabilistic data structure that seem likely to supplant balanced trees as the implementation method of choice for many applications. Skip list algorithms have the same asymptotic expected time bounds as balanced trees and are simpler, faster and use less space. %prep %setup -q -n %{pkg_name}-%{pkg_version} [ -f Makefile.PL ] || cat < Makefile.PL use Module::Build::Compat; Module::Build::Compat->run_build_pl(args => \@ARGV); Module::Build::Compat->write_makefile(); EOF %{fix_eol} %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 -l} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 1.02-4.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - mass rebuild * Fri Mar 03 2006 Marius Feraru - 1.02-3.n0i.5 - automatic rebuild (perl 5.8.8) * Sat Jul 23 2005 Marius Feraru 1.02-2.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.02-2.n0i.3 - automatic rebuild (perl 5.8.6) * Thu Jan 13 2005 Marius Feraru 0:1.02-1.n0i.2 - version 1.02 * Wed Jan 05 2005 Marius Feraru 0:1.01-1.n0i.1 - version 1.01 - spec file (re?)created using N0i::CPAN::RPMizer/2004120601