Name: perl-Business-ISBN Version: 2.05 Release: 1%{?dist} Summary: Work with International Standard Book Numbers License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Business-ISBN/ Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Business::ISBN::Data) >= 20081208 BuildRequires: perl(URI) Requires: perl(Business::ISBN::Data) >= 20081208 Requires: perl(URI) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This modules handles International Standard Book Numbers, including ISBN-10 and ISBN-13. %prep %setup -q -n Business-ISBN-%{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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc bad-isbn13s.txt bad-isbns.txt Changes isbn13s.txt isbns.txt LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jul 05 2011 Dave Cross 2.05-1 - Specfile autogenerated by cpanspec 1.77.