diff --git a/Business-ISBN-3.005.tar.gz b/Business-ISBN-3.005.tar.gz new file mode 100644 index 0000000..2e5fb71 Binary files /dev/null and b/Business-ISBN-3.005.tar.gz differ diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec new file mode 100644 index 0000000..d0e2f1b --- /dev/null +++ b/perl-Business-ISBN.spec @@ -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 - 3.005-1 +- initial package