|
|
449698 |
%bcond_without long_tests
|
|
|
449698 |
%{?perl_default_filter}
|
|
|
449698 |
|
|
|
449698 |
Name: perl-IO-Compress
|
|
|
449698 |
Version: 2.061
|
|
|
f95fe7 |
Release: 2%{?dist}
|
|
|
449698 |
Summary: Read and write compressed data
|
|
|
449698 |
License: GPL+ or Artistic
|
|
|
449698 |
Group: Development/Libraries
|
|
|
449698 |
URL: http://search.cpan.org/dist/IO-Compress/
|
|
|
449698 |
Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
|
|
|
449698 |
BuildArch: noarch
|
|
|
449698 |
BuildRequires: perl
|
|
|
449698 |
BuildRequires: perl(bytes)
|
|
|
449698 |
BuildRequires: perl(Carp)
|
|
|
449698 |
BuildRequires: perl(Compress::Raw::Bzip2) >= %{version}
|
|
|
449698 |
BuildRequires: perl(Compress::Raw::Zlib) >= %{version}
|
|
|
449698 |
BuildRequires: perl(Config)
|
|
|
449698 |
BuildRequires: perl(constant)
|
|
|
449698 |
BuildRequires: perl(Encode)
|
|
|
449698 |
BuildRequires: perl(Exporter)
|
|
|
449698 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
449698 |
BuildRequires: perl(Fcntl)
|
|
|
449698 |
BuildRequires: perl(File::Copy)
|
|
|
449698 |
BuildRequires: perl(File::Glob)
|
|
|
449698 |
BuildRequires: perl(File::Path)
|
|
|
449698 |
BuildRequires: perl(File::Spec)
|
|
|
449698 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
449698 |
BuildRequires: perl(File::Temp)
|
|
|
449698 |
BuildRequires: perl(IO::File)
|
|
|
449698 |
BuildRequires: perl(IO::Handle)
|
|
|
449698 |
BuildRequires: perl(IO::Seekable)
|
|
|
449698 |
BuildRequires: perl(lib)
|
|
|
449698 |
BuildRequires: perl(List::Util)
|
|
|
449698 |
BuildRequires: perl(overload)
|
|
|
449698 |
BuildRequires: perl(POSIX)
|
|
|
449698 |
BuildRequires: perl(Scalar::Util)
|
|
|
449698 |
BuildRequires: perl(strict)
|
|
|
449698 |
BuildRequires: perl(Symbol)
|
|
|
449698 |
BuildRequires: perl(threads::shared)
|
|
|
449698 |
BuildRequires: perl(utf8)
|
|
|
449698 |
BuildRequires: perl(warnings)
|
|
|
449698 |
# Dual-lived module needs building early in the boot process
|
|
|
449698 |
%if !%{defined perl_bootstrap}
|
|
|
449698 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
449698 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
449698 |
%endif
|
|
|
449698 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
449698 |
Requires: perl(File::Glob)
|
|
|
449698 |
# this is wrapper for different Compress modules
|
|
|
449698 |
Obsoletes: perl-Compress-Zlib < %{version}-%{release}
|
|
|
449698 |
Provides: perl-Compress-Zlib = %{version}-%{release}
|
|
|
449698 |
Obsoletes: perl-IO-Compress-Base < %{version}-%{release}
|
|
|
449698 |
Provides: perl-IO-Compress-Base = %{version}-%{release}
|
|
|
449698 |
Obsoletes: perl-IO-Compress-Bzip2 < %{version}-%{release}
|
|
|
449698 |
Provides: perl-IO-Compress-Bzip2 = %{version}-%{release}
|
|
|
449698 |
Obsoletes: perl-IO-Compress-Zlib < %{version}-%{release}
|
|
|
449698 |
Provides: perl-IO-Compress-Zlib = %{version}-%{release}
|
|
|
449698 |
|
|
|
449698 |
%description
|
|
|
449698 |
This distribution provides a Perl interface to allow reading and writing of
|
|
|
449698 |
compressed data created with the zlib and bzip2 libraries.
|
|
|
449698 |
|
|
|
449698 |
IO-Compress supports reading and writing of bzip2, RFC 1950, RFC 1951,
|
|
|
449698 |
RFC 1952 (i.e. gzip) and zip files/buffers.
|
|
|
449698 |
|
|
|
449698 |
The following modules used to be distributed separately, but are now
|
|
|
449698 |
included with the IO-Compress distribution:
|
|
|
449698 |
* Compress-Zlib
|
|
|
449698 |
* IO-Compress-Zlib
|
|
|
449698 |
* IO-Compress-Bzip2
|
|
|
449698 |
* IO-Compress-Base
|
|
|
449698 |
|
|
|
449698 |
%prep
|
|
|
449698 |
%setup -q -n IO-Compress-%{version}
|
|
|
449698 |
|
|
|
449698 |
# Remove spurious exec permissions
|
|
|
449698 |
chmod -c -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm
|
|
|
449698 |
find examples -type f -exec chmod -c -x {} \;
|
|
|
449698 |
|
|
|
449698 |
# Fix shellbangs in examples
|
|
|
449698 |
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/io/anycat \
|
|
|
449698 |
examples/io/bzip2/* examples/io/gzip/* examples/compress-zlib/*
|
|
|
449698 |
|
|
|
449698 |
%build
|
|
|
449698 |
perl Makefile.PL
|
|
|
449698 |
make %{?_smp_mflags}
|
|
|
449698 |
|
|
|
449698 |
%install
|
|
|
449698 |
make pure_install DESTDIR=%{buildroot} INSTALLDIRS=perl
|
|
|
449698 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
449698 |
%{_fixperms} %{buildroot}
|
|
|
449698 |
|
|
|
449698 |
%check
|
|
|
449698 |
# Build using "--without long_tests" to avoid very long tests
|
|
|
449698 |
# (full suite can take nearly an hour on an i7)
|
|
|
449698 |
make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
|
|
|
449698 |
|
|
|
449698 |
%files
|
|
|
449698 |
%doc Changes README examples/*
|
|
|
449698 |
%{_bindir}/zipdetails
|
|
|
449698 |
%{perl_privlib}/Compress/
|
|
|
449698 |
%{perl_privlib}/File/
|
|
|
449698 |
%dir %{perl_privlib}/IO/
|
|
|
449698 |
%dir %{perl_privlib}/IO/Compress/
|
|
|
449698 |
%doc %{perl_privlib}/IO/Compress/FAQ.pod
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Adapter/
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Base/
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Base.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Bzip2.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Deflate.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Gzip/
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Gzip.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/RawDeflate.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Zip/
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Zip.pm
|
|
|
449698 |
%{perl_privlib}/IO/Compress/Zlib/
|
|
|
449698 |
%{perl_privlib}/IO/Uncompress/
|
|
|
449698 |
%{_mandir}/man1/zipdetails.1*
|
|
|
449698 |
%{_mandir}/man3/Compress::Zlib.3pm*
|
|
|
449698 |
%{_mandir}/man3/File::GlobMapper.3pm*
|
|
|
449698 |
%{_mandir}/man3/IO::Compress::*.3pm*
|
|
|
449698 |
%{_mandir}/man3/IO::Uncompress::*.3pm*
|
|
|
449698 |
|
|
|
449698 |
%changelog
|
|
|
f95fe7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.061-2
|
|
|
f95fe7 |
- Mass rebuild 2013-12-27
|
|
|
f95fe7 |
|
|
|
449698 |
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 2.061-1.1
|
|
|
449698 |
- Adding some missing (even optional) dependencies
|
|
|
449698 |
|
|
|
449698 |
* Mon May 27 2013 Paul Howarth <paul@city-fan.org> - 2.061-1
|
|
|
449698 |
- Update to 2.061
|
|
|
449698 |
- zipdetails (1.06)
|
|
|
449698 |
- Get it to cope with Android 'zipalign' non-standard extra fields; these
|
|
|
449698 |
are used to make sure that a non-compressed member starts on a 4 byte
|
|
|
449698 |
boundary
|
|
|
449698 |
- unzip example with IO::Uncompress::Unzip (CPAN RT#84647)
|
|
|
449698 |
|
|
|
449698 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.060-2
|
|
|
449698 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
449698 |
|
|
|
449698 |
* Tue Jan 8 2013 Paul Howarth <paul@city-fan.org> - 2.060-1
|
|
|
449698 |
- Update to 2.060
|
|
|
449698 |
- Updated POD
|
|
|
449698 |
- CPAN RT#82138: Example code not clear - gunzip() takes filenames!
|
|
|
449698 |
- IO::Compress::Base
|
|
|
449698 |
- Remove the flush call when opening a filehandle
|
|
|
449698 |
|
|
|
449698 |
* Sun Dec 16 2012 Paul Howarth <paul@city-fan.org> - 2.059-1
|
|
|
449698 |
- Update to 2.059
|
|
|
449698 |
- IO::Compress::Base
|
|
|
449698 |
- Added "Encode" option (fixes the encoding half of CPAN RT#42656)
|
|
|
449698 |
|
|
|
449698 |
* Mon Nov 26 2012 Petr Šabata <contyk@redhat.com> - 2.058-2
|
|
|
449698 |
- Add missing File::* buildtime dependencies
|
|
|
449698 |
|
|
|
449698 |
* Tue Nov 13 2012 Paul Howarth <paul@city-fan.org> - 2.058-1
|
|
|
449698 |
- Update to 2.058
|
|
|
449698 |
- IO::Compress::Zip
|
|
|
449698 |
- Allow member name and Zip Comment to be "0"
|
|
|
449698 |
- IO::Compress::Base::Common
|
|
|
449698 |
- Remove "-r" test - the file open will catch this
|
|
|
449698 |
- IO::Compress::Base::Common returned that it could not read readable files
|
|
|
449698 |
in NFS (CPAN RT#80855)
|
|
|
449698 |
- Install to 'site' instead of 'perl' when perl version is 5.11+
|
|
|
449698 |
(CPAN RT#79820)
|
|
|
449698 |
- General performance improvements
|
|
|
449698 |
- Fix failing 01misc.t subtest introduced in 2.057 (CPAN RT#81119)
|
|
|
449698 |
- Explicitly install to 'perl' directories
|
|
|
449698 |
|
|
|
449698 |
* Mon Aug 6 2012 Paul Howarth <paul@city-fan.org> - 2.055-1
|
|
|
449698 |
- Update to 2.055
|
|
|
449698 |
- FAQ: added a few paragraphs on how to deal with pbzip2 files
|
|
|
449698 |
(CPAN RT#77743)
|
|
|
449698 |
- Compress::Zip: speed up compress, uncompress, memGzip and memGunzip
|
|
|
449698 |
(CPAN RT#77350)
|
|
|
449698 |
- BR: perl(lib)
|
|
|
449698 |
- Drop BR: perl(Test::Builder) and perl(Test::More) as they're bundled
|
|
|
449698 |
- Drop BR: perl(Config), perl(Fcntl), perl(File::Copy), perl(File::Glob),
|
|
|
449698 |
perl(POSIX) and perl(Symbol) as they're not dual-lived
|
|
|
449698 |
- Drop redundant explicit require for perl(Exporter)
|
|
|
449698 |
- Don't use macros for commands
|
|
|
449698 |
|
|
|
449698 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.052-5
|
|
|
449698 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
449698 |
|
|
|
449698 |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.052-4
|
|
|
449698 |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
449698 |
|
|
|
449698 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.052-3
|
|
|
449698 |
- Perl 5.16 rebuild
|
|
|
449698 |
|
|
|
449698 |
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.052-2
|
|
|
449698 |
- Omit optional Test::Pod and Test::NoWarnings tests on bootstrap
|
|
|
449698 |
|
|
|
449698 |
* Sun Apr 29 2012 Paul Howarth <paul@city-fan.org> - 2.052-1
|
|
|
449698 |
- Update to 2.052
|
|
|
449698 |
- IO::Compress::Zip: force a ZIP64 archive when it contains ≥ 0xFFFF entries
|
|
|
449698 |
- Fix typo in POD (CPAN RT#76130)
|
|
|
449698 |
- Don't need to remove empty directories from buildroot
|
|
|
449698 |
|
|
|
449698 |
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
|
|
|
449698 |
- Update to 2.049
|
|
|
449698 |
- IO::Compress::Zip:
|
|
|
449698 |
- Error in t/cz-03zlib-v1.t that caused warnings with 5.15 (Perl RT#110736)
|
|
|
449698 |
|
|
|
449698 |
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
|
|
|
449698 |
- Update to 2.048
|
|
|
449698 |
- Set minimum Perl version to 5.6
|
|
|
449698 |
- Set minimum zlib version to 1.2.0
|
|
|
449698 |
- IO::Compress::Zip:
|
|
|
449698 |
- In one-shot zip, set the Text Flag if "-T" thinks the file is a text file
|
|
|
449698 |
- In one-shot mode, wrote mod time and access time in wrong order in the
|
|
|
449698 |
"UT" extended field
|
|
|
449698 |
- IO::Compress test suite fails with Compress::Raw::Zlib 2.047 and zlib < 1.2.4
|
|
|
449698 |
(CPAN RT#74503)
|
|
|
449698 |
- Resync Compress::Raw::* dependency versions
|
|
|
449698 |
- Add buildreqs for core perl modules, which might be dual-lived
|
|
|
449698 |
- Don't use macros for commands
|
|
|
449698 |
|
|
|
449698 |
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.046-2
|
|
|
449698 |
- Fedora 17 mass rebuild
|
|
|
449698 |
|
|
|
449698 |
* Mon Dec 19 2011 Paul Howarth <paul@city-fan.org> - 2.046-1
|
|
|
449698 |
- Update to 2.046
|
|
|
449698 |
- Minor update to bin/zipdetails
|
|
|
449698 |
- Typo in name of IO::Compress::FAQ.pod
|
|
|
449698 |
- IO::Uncompress::Unzip:
|
|
|
449698 |
- Example for walking a zip file used eof to control the outer loop; this
|
|
|
449698 |
is wrong
|
|
|
449698 |
- IO::Compress::Zip:
|
|
|
449698 |
- Change default for CanonicalName to false (CPAN RT#72974)
|
|
|
449698 |
- Freeze Compress::Raw::* dependency versions until next synchronized release
|
|
|
449698 |
|
|
|
449698 |
* Sun Dec 4 2011 Paul Howarth <paul@city-fan.org> - 2.045-1
|
|
|
449698 |
- Update to 2.045
|
|
|
449698 |
- Restructured IO::Compress::FAQ.pod
|
|
|
449698 |
|
|
|
449698 |
* Sun Dec 4 2011 Paul Howarth <paul@city-fan.org> - 2.044-1
|
|
|
449698 |
- Update to 2.044
|
|
|
449698 |
- Moved FAQ.pod under the lib directory so it can get installed
|
|
|
449698 |
- Added bin/zipdetails
|
|
|
449698 |
- In IO::Compress::Zip, in one-shot mode, enable Zip64 mode if the input
|
|
|
449698 |
file/buffer ≥ 0xFFFFFFFF bytes
|
|
|
449698 |
- Update IO::Compress::FAQ
|
|
|
449698 |
|
|
|
449698 |
* Mon Nov 21 2011 Paul Howarth <paul@city-fan.org> - 2.043-1
|
|
|
449698 |
- Update to 2.043
|
|
|
449698 |
- IO::Compress::Base:
|
|
|
449698 |
- Fixed issue that with handling of Zip files with two (or more) entries
|
|
|
449698 |
that were STORED; symptom is the first is uncompressed ok but the next
|
|
|
449698 |
will terminate early if the size of the file is greater than BlockSize
|
|
|
449698 |
(CPAN RT#72548)
|
|
|
449698 |
|
|
|
449698 |
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
|
|
|
449698 |
- Update to 2.042
|
|
|
449698 |
- IO::Compress::Zip:
|
|
|
449698 |
- Added exUnixN option to allow creation of the "ux" extra field, which
|
|
|
449698 |
allows 32-bit UID/GID to be stored
|
|
|
449698 |
- In one-shot mode use exUnixN rather than exUnix2 for the UID/GID
|
|
|
449698 |
- IO::Compress::Zlib::Extra::parseExtraField:
|
|
|
449698 |
- Fixed bad test for length of ID field (CPAN RT#72329, CPAN RT#72505)
|
|
|
449698 |
|
|
|
449698 |
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
|
|
|
449698 |
- Update to 2.040
|
|
|
449698 |
- IO::Compress::Zip:
|
|
|
449698 |
- Added CanonicalName option (note this option is set to true by default)
|
|
|
449698 |
- Added FilterName option
|
|
|
449698 |
- ExtAttr now populates MSDOS attributes
|
|
|
449698 |
- IO::Uncompress::Base:
|
|
|
449698 |
- Fixed issue where setting $\ would corrupt the uncompressed data
|
|
|
449698 |
- t/050interop-*.t:
|
|
|
449698 |
- Handle case when external command contains a whitespace (CPAN RT#71335)
|
|
|
449698 |
- t/105oneshot-zip-only.t:
|
|
|
449698 |
- CanonicalName test failure on Windows (CPAN RT#68926)
|
|
|
449698 |
|
|
|
449698 |
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
|
|
|
449698 |
- Perl mass rebuild
|
|
|
449698 |
|
|
|
449698 |
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
|
|
|
449698 |
- Update to 2.037 (support streamed stored content in IO::Uncompress::Unzip)
|
|
|
449698 |
|
|
|
449698 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.036-2
|
|
|
449698 |
- Perl mass rebuild
|
|
|
449698 |
|
|
|
449698 |
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 2.036-1
|
|
|
449698 |
- 2.036 bump (Zip/Unzip enhancements)
|
|
|
449698 |
|
|
|
449698 |
* Sat May 7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
|
|
|
449698 |
- Update to 2.035 (fix test failure on Windows - CPAN RT#67931)
|
|
|
449698 |
|
|
|
449698 |
* Tue May 3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
|
|
|
449698 |
- 2.034 bump
|
|
|
449698 |
- Buildroot and defattr cleanup
|
|
|
449698 |
- Correcting BRs/Rs
|
|
|
449698 |
|
|
|
449698 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-2
|
|
|
449698 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
449698 |
|
|
|
449698 |
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
|
|
|
449698 |
- Update to 2.033 (fixed typos and spelling errors - Perl RT#81816)
|
|
|
449698 |
- Use more explicit %%files list
|
|
|
449698 |
- Simplify inclusion of IO::Compress::FAQ
|
|
|
449698 |
- Drop redundant explicit requires of Compress::Raw::{Bzip2,Zlib}
|
|
|
449698 |
- Drop installdirs patch, not needed with perl 5.12
|
|
|
449698 |
- Default installdirs are perl, so no need to specify it explicitly
|
|
|
449698 |
- Make %%summary less generic
|
|
|
449698 |
|
|
|
449698 |
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 2.032-1
|
|
|
449698 |
- 2.032 bump
|
|
|
449698 |
- Small improvements in spec file
|
|
|
449698 |
|
|
|
449698 |
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.030-4
|
|
|
449698 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
449698 |
|
|
|
449698 |
* Tue Sep 21 2010 Paul Howarth <paul@city-fan.org> 2.030-3
|
|
|
449698 |
- Turn long-running tests back on and support build --without long_tests
|
|
|
449698 |
to skip them
|
|
|
449698 |
|
|
|
449698 |
* Thu Sep 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.030-2
|
|
|
449698 |
- Install IO::Compress::FAQ into usual POD and man dirs (#634722)
|
|
|
449698 |
|
|
|
449698 |
* Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> 2.030-1
|
|
|
449698 |
- 2.030 version bump
|
|
|
449698 |
|
|
|
449698 |
* Thu May 06 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.027-1
|
|
|
449698 |
- update
|
|
|
449698 |
|
|
|
449698 |
* Mon Apr 12 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.024-3
|
|
|
449698 |
- few fixes in specfile 573932
|
|
|
449698 |
|
|
|
449698 |
* Tue Mar 16 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.024-2
|
|
|
449698 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
449698 |
- thanks with fixes of specfile to Paul Howarth
|
|
|
449698 |
|