%global pkg_name Set-IntSpan %global pkg_version 1.19 %global rpm_pkg_version 1.19 %global rpm_pkg_release 1.n0i.11 Summary: Set of integers newsrc style '1,5-9,11' etc Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SW/SWMCD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %description Set::IntSpan manages sets of integers. It is optimized for sets that have long runs of consecutive integers. These arise, for example, in .newsrc files, which maintain lists of articles: alt.foo: 1-21,28,31 alt.bar: 1-14192,14194,14196-14221 Sets are stored internally in a run-length coded form. This provides for both compact storage and efficient computation. In particular, set operations can be performed directly on the encoded representation. "Set::IntSpan" is designed to manage finite sets. However, it can also represent some simple infinite sets, such as {x | x>n}. This allows operations involving complements to be carried out consistently, without having to worry about the actual value of INT_MAX on your machine. %prep %setup -q -n %{pkg_name}-%{pkg_version} %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 Changes README %changelog * Thu Jan 18 2018 Marius Feraru - 1.19-1.n0i.11 - version 1.19 * Thu Nov 01 2007 Marius Feraru - 1.13-1.n0i.10 - version 1.13 * Mon Sep 10 2007 Marius Feraru - 1.12-1.n0i.9 - version 1.12 * Tue May 22 2007 Marius Feraru - 1.11-1.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.11 * Fri Feb 03 2006 Marius Feraru - 1.09-1.n0i.8 - version 1.09 * Thu Jul 28 2005 Marius Feraru 1.08-3.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.08-2.n0i.6 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.08-2.n0i.5 - automatic rebuild (perl 5.8.6) * Fri Jul 09 2004 Marius Feraru 0:1.08-2.n0i.4 - version 1.08 * Tue May 04 2004 Marius Feraru 0:1.07-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:1.07-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Sat Jan 10 2004 Marius FERARU 0:1.07-0.n0i.1 - version 1.07 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001