52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
Name: perl-Business-ISBN
|
|
Version: 3.005
|
|
Release: 1
|
|
Summary: Work with International Standard Book Numbers
|
|
License: Artistic 2.0
|
|
URL: https://metacpan.org/release/Business-ISBN
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-3.005.tar.gz
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils findutils make perl-interpreter perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker) perl(Business::ISBN::Data) >= 20191107
|
|
|
|
#Test
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Pod)
|
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
|
Requires: perl(GD::Barcode::EAN13)
|
|
|
|
%description
|
|
There are three modules in this package:
|
|
* Business::ISBN - work with International Standard Book Numbers
|
|
* Business::ISBN10 - work with 10 digit International Standard Book Numbers
|
|
* Business::ISBN13 - work with 13 digit International Standard Book Numbers
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n Business-ISBN-%{version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes README.pod
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Feb 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.005-1
|
|
- initial package
|