Name: perl-Business-ISBN-Data Version: 20081208 Release: 1%{?dist} Summary: Data pack for Business::ISBN License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Business-ISBN-Data/ Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This data is current as of the date in the module version. At that time, the publisher codes 9990000-9999999 or 999000-999999 had not been fixed, although they had been proposed. I do not include them in the data. Some regions, including India (93), Gabon (99902), and Congo (99951) have country codes but no publisher codes. They still have entries even though you won't be able to validate any ISBNs assigned in those regions. %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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jul 05 2011 Dave Cross 20081208-1 - Specfile autogenerated by cpanspec 1.77.