commit a220354f1ddb47152a5709b066aa9d5ae68d1765 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:44 2019 -0400 Package init diff --git a/Compress-Raw-Bzip2-2.081.tar.gz b/Compress-Raw-Bzip2-2.081.tar.gz new file mode 100644 index 0000000..0c471a4 Binary files /dev/null and b/Compress-Raw-Bzip2-2.081.tar.gz differ diff --git a/perl-Compress-Raw-Bzip2.spec b/perl-Compress-Raw-Bzip2.spec new file mode 100644 index 0000000..b69a0fd --- /dev/null +++ b/perl-Compress-Raw-Bzip2.spec @@ -0,0 +1,59 @@ +Name: perl-Compress-Raw-Bzip2 +Version: 2.081 +Release: 8 +Summary: Low-Level Interface to bzip2 compression library +License: (GPL or Artistic) and BSD +URL: https://metacpan.org/release/Compress-Raw-Bzip2 +Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-%{version}.tar.gz + +#prereq +BuildRequires: gcc gdb perl(ExtUtils::MakeMaker) perl-interpreter perl-generators bzip2-devel + +Requires: perl(XSLoader) perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) + +%description +Compress-Raw-Bzip2 provides the interface to the bzip2 library for the modules +IO::Compress::Bzip2 and IO::Compress::Bunzip2. + +%package_help + +%prep +%autosetup -n Compress-Raw-Bzip2-%{version} -p1 + +%build +export BUILD_BZIP2=0 BZIP2_LIB=%{_libdir} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test TEST_VERBOSE=1 + +%files +%doc README +%license bzip2-src/LICENSE +%{perl_vendorarch}/*/*/*.pm +%{perl_vendorarch}/*/*/*/*/*.so + +%files help +%doc Changes +%{_mandir}/man3/* + +%changelog +* Fri Sep 27 2019 shenyangyang - 2.081-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add LICENSE file + +* Thu Sep 5 2019 shenyangyang - 2.081-7 +- Type:enhancement +- ID:NA +- SUG:restart +- DESC:add license of bzip2-src in tarball + +* Thu Aug 29 2019 openEuler Buildteam - 2.081-6 +- Package init