7e906bb
Name:		perl-IO-Compress-Lzma
8255de2
Version:	2.060
59d281c
Release:	2%{?dist}
7e906bb
Summary:	Read and write lzma compressed data
7e906bb
License:	GPL+ or Artistic
7e906bb
Group:		Development/Libraries
7e906bb
URL:		http://search.cpan.org/dist/IO-Compress-Lzma/
7e906bb
Source0:	http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Lzma-%{version}.tar.gz
7e906bb
BuildArch:	noarch
ce01de6
BuildRequires:	perl(Carp)
556338b
BuildRequires:	perl(Compress::Raw::Lzma) >= %{version}
ce01de6
BuildRequires:	perl(constant)
ce01de6
BuildRequires:	perl(ExtUtils::MakeMaker)
ce01de6
BuildRequires:	perl(File::Spec)
556338b
BuildRequires:	perl(IO::Compress::Base) >= %{version}
ce01de6
BuildRequires:	perl(IO::Handle)
7e906bb
BuildRequires:	perl(IO::String)
ce01de6
BuildRequires:	perl(lib)
7e906bb
BuildRequires:	perl(Test::Pod)
7e906bb
BuildRequires:	xz, xz-lzma-compat
6f9652f
BuildRequires:	/usr/bin/7z
ce01de6
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
7e906bb
7e906bb
%description
7e906bb
This distribution provides a Perl interface to allow reading and writing of
7e906bb
compressed data created with the lzma library.
7e906bb
7e906bb
%prep
7e906bb
%setup -q -n IO-Compress-Lzma-%{version}
7e906bb
cc32cae
# Remove spurious exec permissions
cc32cae
chmod -c -x examples/*
cc32cae
cc32cae
# Fix shellbangs in examples
cc32cae
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!/usr/bin/perl|' \
cc32cae
	examples/lzcat examples/lzstream examples/xzcat examples/xzstream
cc32cae
7e906bb
%build
7e906bb
perl Makefile.PL INSTALLDIRS=vendor
7e906bb
make %{?_smp_mflags}
7e906bb
7e906bb
%install
7e906bb
make pure_install DESTDIR=%{buildroot}
7e906bb
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
7e906bb
%{_fixperms} %{buildroot}
7e906bb
7e906bb
%check
7e906bb
make test
7e906bb
7e906bb
%files
cc32cae
%doc Changes README examples/*
672841c
%{perl_vendorlib}/IO/
7e906bb
%{_mandir}/man3/IO::Compress::Lzma.3pm*
7e906bb
%{_mandir}/man3/IO::Compress::Xz.3pm*
7e906bb
%{_mandir}/man3/IO::Uncompress::UnLzma.3pm*
7e906bb
%{_mandir}/man3/IO::Uncompress::UnXz.3pm*
7e906bb
7e906bb
%changelog
59d281c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.060-2
59d281c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
59d281c
8255de2
* Tue Jan  8 2013 Paul Howarth <paul@city-fan.org> - 2.060-1
8255de2
- Update to 2.060 (no changes)
8255de2
960c51e
* Sun Dec 16 2012 Paul Howarth <paul@city-fan.org> - 2.059-1
960c51e
- Update to 2.059 (no changes)
960c51e
ad0694c
* Tue Nov 13 2012 Paul Howarth <paul@city-fan.org> - 2.058-1
ad0694c
- Update to 2.058 (general performance improvements)
ad0694c
ce01de6
* Mon Aug  6 2012 Paul Howarth <paul@city-fan.org> - 2.055-1
ce01de6
- Update to 2.055 (no changes)
ce01de6
- BR: perl(Carp), perl(constant), perl(File::Spec), perl(IO::Handle) and
ce01de6
  perl(lib)
ce01de6
0931ad8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.052-3
0931ad8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0931ad8
0582b16
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.052-2
0582b16
- Perl 5.16 rebuild
0582b16
cc32cae
* Sun Apr 29 2012 Paul Howarth <paul@city-fan.org> - 2.052-1
cc32cae
- Update to 2.052 (no changes)
cc32cae
- Don't need to remove empty directories from buildroot
cc32cae
- Package examples
cc32cae
- Drop %%defattr, redundant since rpm 4.4
cc32cae
fd976ab
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
fd976ab
- Update to 2.049 (no changes)
fd976ab
778fac5
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
778fac5
- Update to 2.048
778fac5
  - Set minimum Perl version to 5.6
778fac5
64b493e
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.045-2
64b493e
- Fedora 17 mass rebuild
64b493e
672841c
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.045-1
672841c
- Update to 2.045
672841c
  - Moved FAQ.pod to IO::Compress
672841c
38b47b7
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.044-1
38b47b7
- Update to 2.044
38b47b7
  - Moved FAQ.pod under the lib directory so it can get installed
38b47b7
98ca5a8
* Mon Nov 21 2011 Paul Howarth <paul@city-fan.org> - 2.043-1
98ca5a8
- Update to 2.043 (no changes)
98ca5a8
556338b
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
556338b
- Update to 2.042 (no changes)
556338b
- Resync versioned dependencies on IO::Compress::Base and Compress::Raw::Lzma
556338b
38d2ec5
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.041-1
38d2ec5
- Update to 2.041
38d2ec5
  - Remove debugging line in t/001lzma.t that writes to /tmp (CPAN RT#72023)
38d2ec5
- Update version requirements for IO::Compress and Compress::Raw::Lzma
38d2ec5
83b9af5
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
83b9af5
- Update to 2.040
83b9af5
  - Fixed uncompression issue in IO::Uncompress::UnLzma (CPAN RT#71114)
83b9af5
15ea4f3
* Fri Jun 24 2011 Paul Howarth <paul@city-fan.org> - 2.038-2
15ea4f3
- Perl mass rebuild
15ea4f3
c1fadb4
* Fri Jun 24 2011 Paul Howarth <paul@city-fan.org> - 2.038-1
c1fadb4
- Update to 2.038
c1fadb4
  - Fixed missing SKIP label in t/050interop-zip-lzma.t
c1fadb4
- Hard-code version requirements for IO::Compress and Compress::Raw::Lzma
c1fadb4
  until the next synchronized release happens
c1fadb4
1ad5d41
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
1ad5d41
- Perl mass rebuild
1ad5d41
2f57b90
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
2f57b90
- Update to 2.037
2f57b90
  - Handle "Cannot Allocate Memory" issue with Extreme test in
2f57b90
    t/105oneshot-zip-lzma-only.t
2f57b90
a9fb0e5
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.036-2
a9fb0e5
- Perl mass rebuild
a9fb0e5
6f9652f
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-1
6f9652f
- Update to 2.036
6f9652f
  - IO::Compress::Adapter:
6f9652f
    - Added interface to allow creation of LZMA stream for use in a zip file
6f9652f
  - IO::Uncompress::Adapter:
6f9652f
    - Added interface to allow reading of LZMA stream in a zip file
6f9652f
- BR: /usr/bin/7z for additional test coverage
6f9652f
d27c9ee
* Sat May  7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
d27c9ee
- Update to 2.035 (fix test failure on Windows - CPAN RT#67931)
d27c9ee
7b29404
* Tue May  3 2011 Paul Howarth <paul@city-fan.org> - 2.034-1
7b29404
- Update to 2.034 (updates to test harness)
7b29404
43a1241
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-2
43a1241
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
43a1241
9f6853e
* Tue Jan 11 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
9f6853e
- Update to 2.033 (made 001xz.t more forgiving when the tests run out of memory)
9f6853e
820cc39
* Fri Jan  7 2011 Paul Howarth <paul@city-fan.org> - 2.032-1
820cc39
- Update to 2.032 (no changes)
820cc39
ba7eca5
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.030-2
d455803
- Rebuild to fix problems with vendorarch/lib (#661697)
ba7eca5
0cce424
* Mon Jul 26 2010 Paul Howarth <paul@city-fan.org> - 2.030-1
0cce424
- Update to 2.030 (no changes)
0cce424
7e906bb
* Tue May 11 2010 Paul Howarth <paul@city-fan.org> - 2.027-2
7e906bb
- Drop redundant buildroot tag
7e906bb
7e906bb
* Thu Apr 29 2010 Paul Howarth <paul@city-fan.org> - 2.027-1
7e906bb
- Initial RPM version