RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl-IO-Zlib#44c5f7a5159328011a43e474a2c61b40618d0ba1
This commit is contained in:
parent
4934fcdbc4
commit
bc57934396
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/IO-Zlib-1.11.tar.gz
|
||||
61
perl-IO-Zlib.spec
Normal file
61
perl-IO-Zlib.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-IO-Zlib
|
||||
# To compete with perl.spec
|
||||
Epoch: 1
|
||||
Version: 1.11
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl IO:: style interface to Compress::Zlib
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/IO-Zlib
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: gzip
|
||||
BuildRequires: perl(:VERSION) >= 5.6
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Compress::Zlib) >= 2
|
||||
BuildRequires: perl(Fcntl)
|
||||
# IO::Handle used if gzip backend is requested
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Tie::Handle)
|
||||
# The code defaults to Compress::Zlib, but a user can override it to gzip by
|
||||
# importing :gzip_external symbol
|
||||
Requires: gzip
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Compress::Zlib) >= 2
|
||||
Requires: perl(IO::Handle)
|
||||
|
||||
%description
|
||||
IO::Zlib provides an IO:: style interface to Compress::Zlib and hence to
|
||||
gzip/zlib-compressed files. It provides many of the same methods as the
|
||||
IO::Handle interface.
|
||||
|
||||
%prep
|
||||
%setup -q -n IO-Zlib-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc ChangeLog README.md
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 24 2020 Petr Pisar <ppisar@redhat.com> 1:1.11-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user