%define upstream_name Data-Paginator %define upstream_version 0.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Pagination with Moose License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Data/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Test::More) BuildRequires: perl(strict) BuildArch: noarch %description This is yet another pagination module. It only exists because none of the other pager modules are written using Moose. Sometimes there is a Moose feature â MooseX::Storage, in my case â that you need. It's a pain when you can't use it with an existing module. This module aims to be completely compatible with the venerable the Data::Page manpage. In fact, it's a pretty blatant copy of Data::Page, lifting code from some of it's methods. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes LICENSE META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Wed Nov 23 2011 kharec <kharec> 0.50.0-1.mga2 + Revision: 171442 - update to 0.05 * Wed Nov 23 2011 kharec <kharec> 0.40.0-1.mga2 + Revision: 171195 - imported package perl-Data-Paginator * Wed Nov 23 2011 cpan2dist 0.04-1mga - initial mageia release, generated with cpan2dist