Name: perl-Data-Page Version: 2.00 Release: 1%{?dist} Summary: Help when paging through sets of results License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Page/ Source0: http://www.cpan.org/authors/id/L/LB/LBROCARD/Data-Page-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::Accessor::Chained::Fast) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Exception) Requires: perl(Class::Accessor::Chained::Fast) Requires: perl(Test::Exception) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module. %prep %setup -q -n Data-Page-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Aug 19 2008 Dave Cross 2.00-1 - Specfile autogenerated by cpanspec 1.77.