perl-Data-Page/perl-Data-Page.spec

Name: perl-Data-Page
Summary: Help when paging through sets of results
Version: 2.02
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Page/
Description: Data-Page is a Perl module that helps when paging through sets of results.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Leon Brocard <acme$astray,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Data-Page

Summary: Help when paging through sets of results
Name: perl-Data-Page
Version: 2.02
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Page/

Source: http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Data-Page-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Class::Accessor::Chained::Fast)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
Requires: perl(Class::Accessor::Chained::Fast)
Requires: perl(Test::Exception)
Requires: perl(Test::More)

%filter_from_requires /^perl*/d
%filter_setup

%description
Data-Page is a Perl module that helps when paging through sets of results.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES MANIFEST MANIFEST.SKIP META.yml README
%doc %{_mandir}/man3/Data::Page.3pm*
%dir %{perl_vendorlib}/Data/
#%{perl_vendorlib}/Data/Page/
%{perl_vendorlib}/Data/Page.pm

%changelog
* Thu Dec 31 2009 Christoph Maser <cmr@financial.com> - 2.02-1
- Updated to version 2.02.

* Sun Oct 04 2009 Steve Huff <shuff@vecna.org> - 2.01-2
- Added perl(Class::Accessor::Chained::Fast) dependency.

* Mon Oct 13 2008 Dag Wieers <dag@wieers.com> - 2.01-1
- Updated to release 2.01.

* Mon Apr 30 2007 Dag Wieers <dag@wieers.com> - 2.00-1
- Initial package. (using DAR)