122 Star 0 Fork 8

src-openEuler / perl-Business-ISBN-Data

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
perl-Business-ISBN-Data.spec 1.64 KB
Copy Edit Raw Blame History
hongjinghao authored 2022-10-31 09:00 . 添加%{mod_name}宏
%define mod_name Business-ISBN-Data
Name: perl-%{mod_name}
Version: 20210112.006
Release: 2
Summary: Data pack for Business::ISBN
License: GPL+ or Artistic
URL: https://metacpan.org/pod/Business::ISBN::Data
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{mod_name}-%{version}.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 %{mod_name}-%{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
* Mon Oct 31 2022 hongjinghao <hongjinghao@huawei.com> - 20210112.006-2
- use %{mod_name} marco
* Mon Dec 20 2021 shixuantong <shixuantong@huawei.com> - 20210112.006-1
- update version to 20210112.006
* Mon Nov 22 2021 shixuantong <shixuantong@huawei.com> - 20191107-3
- fix url error in spec file
* 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
1
https://gitee.com/src-openeuler/perl-Business-ISBN-Data.git
git@gitee.com:src-openeuler/perl-Business-ISBN-Data.git
src-openeuler
perl-Business-ISBN-Data
perl-Business-ISBN-Data
openEuler-22.03-LTS

Search