Name: perl-Business-ISBN-Data Version: 1.15 Release: 2%{?dist} Summary: The data pack for Business::ISBN Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Business-ISBN-Data/ Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Prereq) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a data pack for Business::ISBN. You can update the ISBN data without changing the version of Business::ISBN. Most of the interesting stuff is in Business::ISBN. %prep %setup -q -n Business-ISBN-Data-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README LICENSE examples/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Thu Oct 25 2007 Robin Norwood - 1.15-2 - Fix BuildRequires - Fix doc list * Thu Oct 25 2007 Robin Norwood - 1.15-1 - Initial build