|
|
|
Name: perl-PerlIO-gzip
|
|
|
|
Version: 0.19
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Perl extension to provide a PerlIO layer to gzip/gunzip
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/PerlIO-gzip/
|
|
|
|
Source0: http://www.cpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-%{version}.tar.gz
|
|
|
|
BuildRequires: glibc-common
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
# Build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# Runtime
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:WITH_PERLIO)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
PerlIO::gzip provides a PerlIO layer that manipulates files in the format
|
|
|
|
used by the gzip program. Compression and decompression are implemented.
|
|
|
|
|
|
|
|
This is akin to Compress::Zlib, except that it operates at the lower PerlIO
|
|
|
|
layer.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n PerlIO-gzip-%{version}
|
|
|
|
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
|
|
|
|
iconv -f latin1 -t utf8 README > README.utf8 && \
|
|
|
|
touch README.utf8 -r README && \
|
|
|
|
mv README.utf8 README
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/PerlIO*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Fri Mar 20 2015 Petr Šabata <contyk@redhat.com> - 0.19-1
|
|
|
|
- 0.19 bump, patch merged upstream
|
|
|
|
- Modernize the spec
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-21
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Aug 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-19
|
|
|
|
- Fix RT#92412
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.18-16
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.18-13
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.18-11
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-9
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-8
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.18-7
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Fri Aug 28 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6
|
|
|
|
- bump
|
|
|
|
|
|
|
|
* Thu Aug 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5
|
|
|
|
- update filtering
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 28 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3
|
|
|
|
- strip private Perl libs from autoprov output
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.74.
|