perl-Business-ISBN/perl-Business-ISBN.spec
2022-10-21 15:47:49 +08:00

58 lines
1.6 KiB
RPMSpec

Name: perl-Business-ISBN
Version: 3.007
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-%{version}.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
* Fri Oct 21 2022 xujing <xujing125@huawei.com> - 3.007-1
- update version to 3.007
* Mon Nov 22 2021 shixuantong <shxuantong@huawei.com> - 3.006-1
- update version to 3.006 and update Source0
* Mon Feb 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.005-1
- initial package