# norootforbuild Name: perl-Data-Pageset Version: 1.06 Release: 0 Summary: Page numbering and page sets Source: http://search.cpan.org/CPAN/authors/id/L/LL/LLAP/Data-Pageset-%{version}.tar.gz URL: http://search.cpan.org/dist/Data-Pageset/ Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} %{perl_requires} BuildRequires: make perl BuildRequires: perl-macros BuildRequires: perl(Data::Page) Requires: perl(Data::Page) %description The object produced by Data::Pageset can be used to create page navigation, it inherits from Data::Page and has access to all methods from this object. In addition it also provides methods for dealing with set of pages, so that if there are too many pages you can easily break them into chunks for the user to browse through. You can even choose to view page numbers in your set in a 'sliding' fassion. The object can easily be passed to a templating system such as Template Toolkit or be used within a script. %prep %setup -q -n "Data-Pageset-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Data %{perl_vendorlib}/Data/Pageset.pm %dir %{perl_vendorarch}/auto/Data %{perl_vendorarch}/auto/Data/Pageset %doc %{perl_man3dir}/Data::Pageset.%{perl_man3ext}%{ext_man} %changelog # vim: set sw=4 ts=4 et nu: