Blame SPECS/perl-Business-ISBN.spec

636eb8
Name:           perl-Business-ISBN
636eb8
%global cpan_version 2.06
636eb8
Version:        %(echo '%{cpan_version}' | tr '_' '.'})
636eb8
Release:        1%{?dist}
636eb8
Summary:        Perl module to work with International Standard Book Numbers
636eb8
636eb8
Group:          Development/Libraries
636eb8
License:        GPL+ or Artistic
636eb8
URL:            http://search.cpan.org/dist/Business-ISBN/
636eb8
Source0:        http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-%{cpan_version}.tar.gz
636eb8
BuildArch:      noarch
636eb8
BuildRequires:  perl
636eb8
BuildRequires:  perl(ExtUtils::MakeMaker)
636eb8
# Test::Manifest 1.21 is optional
636eb8
# Run-time:
636eb8
BuildRequires:  perl(base)
636eb8
BuildRequires:  perl(Business::ISBN::Data) >= 20120719.001
636eb8
BuildRequires:  perl(Carp)
636eb8
BuildRequires:  perl(Data::Dumper)
636eb8
BuildRequires:  perl(Exporter)
636eb8
BuildRequires:  perl(strict)
636eb8
BuildRequires:  perl(subs)
636eb8
BuildRequires:  perl(vars)
636eb8
# Optinonal run-time
636eb8
BuildRequires:  perl(GD::Barcode::EAN13)
636eb8
# Break build dependency cycle involving LWP::Simple and URI
636eb8
%if 0%{!?perl_bootstrap:1}
636eb8
BuildRequires:  perl(LWP::Simple)
636eb8
%endif
636eb8
# Tests:
636eb8
BuildRequires:  perl(IO::Socket)
636eb8
BuildRequires:  perl(Test::More) >= 0.95
636eb8
BuildRequires:  perl(Test::Pod::Coverage)
636eb8
BuildRequires:  perl(warnings)
636eb8
# Optional tests:
636eb8
BuildRequires:  perl(Test::Pod) >= 1.00
636eb8
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
636eb8
636eb8
%description
636eb8
This modules handles International Standard Book Numbers, including
636eb8
ISBN-10 and ISBN-13.
636eb8
636eb8
%prep
636eb8
%setup -q -n Business-ISBN-%{cpan_version}
636eb8
636eb8
%build
636eb8
perl Makefile.PL INSTALLDIRS=vendor
636eb8
make %{?_smp_mflags}
636eb8
636eb8
%install
636eb8
make pure_install DESTDIR=$RPM_BUILD_ROOT
636eb8
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
636eb8
chmod -R u+w $RPM_BUILD_ROOT/*
636eb8
636eb8
%check
636eb8
make test
636eb8
636eb8
%files
636eb8
%doc Changes LICENSE README
636eb8
%{perl_vendorlib}/*
636eb8
%{_mandir}/man3/*.3*
636eb8
636eb8
%changelog
636eb8
* Mon Jun 03 2013 Petr Pisar <ppisar@redhat.com> - 2.06-1
636eb8
- 2.06 bump
636eb8
636eb8
* Wed Feb 27 2013 Paul Howarth <paul@city-fan.org> - 2.05.03-3
636eb8
- Don't BR: perl(LWP::Simple) for optional tests when bootstrapping; this is a
636eb8
  cleaner fix than nobbling perl-URI's runtime dependencies
636eb8
636eb8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05.03-2
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
636eb8
636eb8
* Tue Oct 09 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.05.03-1
636eb8
- 2.05_03 bump. Fix failing tests (RT#78671, RT#75686)
636eb8
636eb8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-9
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
636eb8
636eb8
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.05-8
636eb8
- Perl 5.16 rebuild
636eb8
- Specify all dependencies
636eb8
636eb8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-7
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
636eb8
636eb8
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.05-6
636eb8
- Perl mass rebuild
636eb8
636eb8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-5
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
636eb8
636eb8
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-4
636eb8
- 661697 rebuild for fixing problems with vendorach/lib
636eb8
636eb8
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-3
636eb8
- Mass rebuild with perl-5.12.0
636eb8
636eb8
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.05-2
636eb8
- rebuild against perl 5.10.1
636eb8
636eb8
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.05-1
636eb8
- new upstream version
636eb8
636eb8
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04_01-3
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
636eb8
636eb8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04_01-2
636eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
636eb8
636eb8
* Mon Nov 24 2008 Stepan Kasal <skasal@redhat.com> - 2.04_01-1
636eb8
- new upstream version
636eb8
- drop integrated patch
636eb8
636eb8
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03-4
636eb8
- rebuild for new perl
636eb8
636eb8
* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-3
636eb8
- Apply patch to fix barcode test
636eb8
636eb8
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-2
636eb8
- Fix buildrequires and doc list
636eb8
636eb8
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-1
636eb8
- Initial build