Blame SPECS/perl-Business-ISBN.spec

c91ac2
%{?scl:%scl_package perl-Business-ISBN}
c91ac2
c91ac2
Name:           %{?scl_prefix}perl-Business-ISBN
c91ac2
%global cpan_version 2.011
c91ac2
Version:        %(echo '%{cpan_version}' | tr '_' '.'})
c91ac2
Release:        2%{?dist}
c91ac2
Summary:        Perl module to work with International Standard Book Numbers
c91ac2
c91ac2
Group:          Development/Libraries
c91ac2
License:        Artistic 2.0
c91ac2
URL:            http://search.cpan.org/dist/Business-ISBN/
c91ac2
Source0:        http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-%{cpan_version}.tar.gz
c91ac2
BuildArch:      noarch
c91ac2
BuildRequires:  coreutils
c91ac2
BuildRequires:  findutils
c91ac2
BuildRequires:  make
c91ac2
BuildRequires:  %{?scl_prefix}perl
c91ac2
BuildRequires:  %{?scl_prefix}perl-generators
c91ac2
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
c91ac2
BuildRequires:  %{?scl_prefix}perl(File::Spec)
c91ac2
BuildRequires:  %{?scl_prefix}perl(File::Spec::Functions)
c91ac2
BuildRequires:  %{?scl_prefix}perl(strict)
c91ac2
BuildRequires:  %{?scl_prefix}perl(warnings)
c91ac2
# Test::Manifest 1.21 is optional
c91ac2
# Run-time:
c91ac2
BuildRequires:  %{?scl_prefix}perl(base)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Business::ISBN::Data) >= 20140910.002
c91ac2
BuildRequires:  %{?scl_prefix}perl(Carp)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Exporter)
c91ac2
BuildRequires:  %{?scl_prefix}perl(subs)
c91ac2
BuildRequires:  %{?scl_prefix}perl(vars)
c91ac2
# Optinonal run-time
c91ac2
%if !%{defined perl_small}
c91ac2
BuildRequires:  %{?scl_prefix}perl(GD::Barcode::EAN13)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Mojo::DOM)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Mojo::UserAgent)
c91ac2
%endif
c91ac2
# Tests:
c91ac2
BuildRequires:  %{?scl_prefix}perl(IO::Socket)
c91ac2
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.95
c91ac2
# Optional tests:
c91ac2
%if !%{defined perl_small}
c91ac2
BuildRequires:  %{?scl_prefix}perl(Test::Pod) >= 1.00
c91ac2
BuildRequires:  %{?scl_prefix}perl(Test::Pod::Coverage)
c91ac2
%endif
c91ac2
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
c91ac2
%if !%{defined perl_small}
c91ac2
Requires:       %{?scl_prefix}perl(GD::Barcode::EAN13)
c91ac2
Requires:       %{?scl_prefix}perl(Mojo::DOM)
c91ac2
Requires:       %{?scl_prefix}perl(Mojo::UserAgent)
c91ac2
%endif
c91ac2
c91ac2
%description
c91ac2
This modules handles International Standard Book Numbers, including
c91ac2
ISBN-10 and ISBN-13.
c91ac2
c91ac2
%prep
c91ac2
%setup -q -n Business-ISBN-%{cpan_version}
c91ac2
c91ac2
%build
c91ac2
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
c91ac2
c91ac2
%install
c91ac2
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
c91ac2
chmod -R u+w $RPM_BUILD_ROOT/*
c91ac2
c91ac2
%check
c91ac2
%{?scl:scl enable %{scl} '}make test%{?scl:'}
c91ac2
c91ac2
%files
c91ac2
%doc LICENSE
c91ac2
%doc Changes README.pod
c91ac2
%{perl_vendorlib}/*
c91ac2
%{_mandir}/man3/*.3*
c91ac2
c91ac2
%changelog
c91ac2
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 2.011-2
c91ac2
- SCL
c91ac2
c91ac2
* Thu Jun 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.011-1
c91ac2
- 2.011 bump
c91ac2
c91ac2
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.010-3
c91ac2
- Perl 5.24 rebuild
c91ac2
c91ac2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.010-2
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c91ac2
c91ac2
* Tue Dec 15 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.010-1
c91ac2
- 2.010 bump
c91ac2
c91ac2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-7
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c91ac2
c91ac2
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-6
c91ac2
- Perl 5.22 re-rebuild of bootstrapped packages
c91ac2
c91ac2
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-5
c91ac2
- Perl 5.22 rebuild
c91ac2
c91ac2
* Tue Sep 23 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.09-1
c91ac2
- 2.09 bump
c91ac2
c91ac2
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-4
c91ac2
- Perl 5.20 re-rebuild of bootstrapped packages
c91ac2
c91ac2
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-3
c91ac2
- Perl 5.20 rebuild
c91ac2
c91ac2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-2
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c91ac2
c91ac2
* Mon Jan 06 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-1
c91ac2
- 2.07 bump
c91ac2
c91ac2
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.06-4
c91ac2
- Perl 5.18 re-rebuild of bootstrapped packages
c91ac2
c91ac2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-3
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c91ac2
c91ac2
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 2.06-2
c91ac2
- Perl 5.18 rebuild
c91ac2
c91ac2
* Mon Jun 03 2013 Petr Pisar <ppisar@redhat.com> - 2.06-1
c91ac2
- 2.06 bump
c91ac2
c91ac2
* Wed Feb 27 2013 Paul Howarth <paul@city-fan.org> - 2.05.03-3
c91ac2
- Don't BR: perl(LWP::Simple) for optional tests when bootstrapping; this is a
c91ac2
  cleaner fix than nobbling perl-URI's runtime dependencies
c91ac2
c91ac2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05.03-2
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c91ac2
c91ac2
* Tue Oct 09 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.05.03-1
c91ac2
- 2.05_03 bump. Fix failing tests (RT#78671, RT#75686)
c91ac2
c91ac2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-9
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c91ac2
c91ac2
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.05-8
c91ac2
- Perl 5.16 rebuild
c91ac2
- Specify all dependencies
c91ac2
c91ac2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-7
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c91ac2
c91ac2
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.05-6
c91ac2
- Perl mass rebuild
c91ac2
c91ac2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-5
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c91ac2
c91ac2
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-4
c91ac2
- 661697 rebuild for fixing problems with vendorach/lib
c91ac2
c91ac2
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-3
c91ac2
- Mass rebuild with perl-5.12.0
c91ac2
c91ac2
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.05-2
c91ac2
- rebuild against perl 5.10.1
c91ac2
c91ac2
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.05-1
c91ac2
- new upstream version
c91ac2
c91ac2
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04_01-3
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c91ac2
c91ac2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04_01-2
c91ac2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c91ac2
c91ac2
* Mon Nov 24 2008 Stepan Kasal <skasal@redhat.com> - 2.04_01-1
c91ac2
- new upstream version
c91ac2
- drop integrated patch
c91ac2
c91ac2
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03-4
c91ac2
- rebuild for new perl
c91ac2
c91ac2
* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-3
c91ac2
- Apply patch to fix barcode test
c91ac2
c91ac2
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-2
c91ac2
- Fix buildrequires and doc list
c91ac2
c91ac2
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.03-1
c91ac2
- Initial build