52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
Name: perl-Business-ISBN-Data
|
|
Version: 20191107
|
|
Release: 2
|
|
Summary: Data pack for Business::ISBN
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/Business-ISBN
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-20191107.tar.gz
|
|
|
|
Patch0: Business-ISBN-Data-shellbang.patch
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils findutils make perl-interpreter perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
|
# Test Suite
|
|
BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage)
|
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
|
|
|
%description
|
|
This package is the data pack for Business::ISBN
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n Business-ISBN-Data-%{version} -p1
|
|
|
|
chmod -c +x make_data.pl
|
|
|
|
%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 examples/ t/
|
|
%{perl_vendorlib}/Business/
|
|
|
|
%files help
|
|
%{_mandir}/man3/Business::ISBN::Data.3*
|
|
|
|
%changelog
|
|
* Tue Feb 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 20191107-2
|
|
- Modify the files
|
|
|
|
* Mon Feb 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 20191107-1
|
|
- Package init
|