commit
ab11457c36
BIN
Compress-Bzip2-2.26.tar.gz
Normal file
BIN
Compress-Bzip2-2.26.tar.gz
Normal file
Binary file not shown.
51
perl-Compress-Bzip2.spec
Normal file
51
perl-Compress-Bzip2.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: perl-Compress-Bzip2
|
||||
Version: 2.26
|
||||
Release: 10
|
||||
Summary: This module provides a Compress::Zlib like Perl interface to the bzip2 library
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Compress-Bzip2
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
|
||||
BuildRequires: findutils gcc make bzip2-devel >= 1.0.5 sed perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl-interpreter perl-generators perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(constant) >= 1.04
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
This module provides a Compress::Zlib like Perl interface to the bzip2 library.
|
||||
It uses the low level interface to the bzip2 algorithm, and reimplements all high
|
||||
level routines.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%setup -q -n Compress-Bzip2-%{version}
|
||||
|
||||
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete
|
||||
sed -i -e '/^bzlib-src\//d' MANIFEST
|
||||
find bzlib-src -type f >>MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{perl_vendorarch}/Compress/
|
||||
%{perl_vendorarch}/auto/Compress/
|
||||
|
||||
%files help
|
||||
%doc ANNOUNCE Changes NEWS
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.26-10
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user