commit
54d3e7d894
BIN
Business-ISBN-3.005.tar.gz
Normal file
BIN
Business-ISBN-3.005.tar.gz
Normal file
Binary file not shown.
51
perl-Business-ISBN.spec
Normal file
51
perl-Business-ISBN.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user