d9e74bb
Name:		perl-Compress-Raw-Lzma
23d1e9b
Version:	2.037
500fa0b
Release:	3%{?dist}
d9e74bb
Summary:	Low-level interface to lzma compression library
d9e74bb
Group:		Development/Libraries
d9e74bb
License:	GPL+ or Artistic
d9e74bb
URL:		http://search.cpan.org/dist/Compress-Raw-Lzma/
d9e74bb
Source0:	http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Lzma-%{version}.tar.gz
d9e74bb
BuildRequires:	xz, xz-devel, perl(ExtUtils::MakeMaker), perl(Test::Pod)
d9e74bb
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f106dc7
# Built-against version is embedded in module, so we have a strict version dependency
f106dc7
Requires:	xz-libs%{?_isa} = %((pkg-config --modversion liblzma 2>/dev/null || echo 0) | tr -dc '[0-9.]')
d9e74bb
d9e74bb
# Don't "provide" private Perl libs
d9e74bb
%{?perl_default_filter}
d9e74bb
d9e74bb
%description
d9e74bb
This module provides a Perl interface to the lzma compression library.
d9e74bb
It is used by IO::Compress::Lzma.
d9e74bb
d9e74bb
%prep
d9e74bb
%setup -q -n Compress-Raw-Lzma-%{version}
d9e74bb
d9e74bb
%build
d9e74bb
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
d9e74bb
make %{?_smp_mflags}
d9e74bb
d9e74bb
%install
d9e74bb
make pure_install DESTDIR=%{buildroot}
d9e74bb
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
d9e74bb
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
d9e74bb
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
d9e74bb
%{_fixperms} %{buildroot}
d9e74bb
d9e74bb
%check
d9e74bb
make test
d9e74bb
d9e74bb
%files
d9e74bb
%defattr(-,root,root,-)
d9e74bb
%doc Changes
d9e74bb
%{perl_vendorarch}/auto/Compress/
d9e74bb
%{perl_vendorarch}/Compress/
d9e74bb
%{_mandir}/man3/Compress::Raw::Lzma.3pm*
d9e74bb
d9e74bb
%changelog
500fa0b
* Sun Oct 16 2011 Jindrich Novy <jnovy@redhat.com> - 2.037-3
500fa0b
- rebuild against new xz
500fa0b
4ceb80c
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
4ceb80c
- Perl mass rebuild
4ceb80c
23d1e9b
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
23d1e9b
- Update to 2.037 (no changes)
23d1e9b
ec79372
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-2
ec79372
- Perl mass rebuild
ec79372
12e7f99
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-1
12e7f99
- Update to 2.036
12e7f99
  - A number of changes to facilitate adding LZMA support to
12e7f99
    IO::Compress::Zip : IO::Uncompress::Unzip:
12e7f99
    - Added preset filters Lzma::Filter::Lzma1::Preset and
12e7f99
      Lzma::Filter::Lzma2::Preset
12e7f99
   - Added forZip option to Compress::Raw::Lzma::Encoder
12e7f99
   - Added properties option to Compress::Raw::Lzma::RawDecoder
12e7f99
859f23c
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.035-3
859f23c
- Perl mass rebuild
859f23c
1e5d65f
* Mon May 23 2011 Paul Howarth <paul@city-fan.org> - 2.035-2
1e5d65f
- Rebuild for xz 5.0.3
1e5d65f
6dc9cca
* Sat May  7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
6dc9cca
- Update to 2.035 (no changes)
6dc9cca
8b85597
* Tue May  3 2011 Paul Howarth <paul@city-fan.org> - 2.034-1
8b85597
- Update to 2.034 (document the change of default MemLimit in 2.033)
8b85597
f15c83f
* Mon Apr  4 2011 Paul Howarth <paul@city-fan.org> - 2.033-4
f15c83f
- Rebuild for xz 5.0.2
f15c83f
f106dc7
* Wed Feb  9 2011 Paul Howarth <paul@city-fan.org> - 2.033-3
f106dc7
- Add explicit version dependency on xz-libs since the version number built
f106dc7
  against is embedded into the module and can cause failures in users of this
f106dc7
  module if they compare build-time and run-time versions of liblzma
f106dc7
46fd541
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-2
46fd541
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
46fd541
f9dd5e6
* Tue Jan 11 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
f9dd5e6
- Update to 2.033 (changed default MemLimit from 128 MB to unlimited)
f9dd5e6
32ff2c7
* Fri Jan  7 2011 Paul Howarth <paul@city-fan.org> - 2.032-1
32ff2c7
- Update to 2.032 (no changes)
32ff2c7
2f151c6
* Wed Oct 27 2010 Paul Howarth <paul@city-fan.org> - 2.031-1
2f151c6
- Update to 2.031
2f151c6
  - Changed to build with XZ 5.0.0
2f151c6
  - Dropped symbolic constants provided by subblock.h (CPAN RT#62461)
2f151c6
- Drop xz 5.x patch, no longer needed
2f151c6
927c8a4
* Tue Oct 26 2010 Paul Howarth <paul@city-fan.org> - 2.030-2
927c8a4
- Patch out subfilter constants, not supported in xz 5.x (CPAN RT#62461)
927c8a4
d05656a
* Mon Jul 26 2010 Paul Howarth <paul@city-fan.org> - 2.030-1
d05656a
- Update to 2.030 (no changes)
d05656a
0b1c4b4
* Fri May 14 2010 Paul Howarth <paul@city-fan.org> - 2.029-3
0b1c4b4
- Rebuild for perl 5.12.0
0b1c4b4
d9e74bb
* Tue May 11 2010 Paul Howarth <paul@city-fan.org> - 2.029-2
d9e74bb
- Drop redundant buildroot tag
d9e74bb
d9e74bb
* Sat May  8 2010 Paul Howarth <paul@city-fan.org> - 2.029-1
d9e74bb
- Update to 2.029 (test harness copes with memory shortage)
d9e74bb
d9e74bb
* Mon May  3 2010 Paul Howarth <paul@city-fan.org> - 2.028-1
d9e74bb
- Update to 2.028
d9e74bb
  - Remove 'Persistent' option from  Lzma::Filter::Lzma (CPAN RT#57080)
d9e74bb
  - Silence a pile of compiler warnings
d9e74bb
- Drop patch for CPAN RT#57080, no longer needed
d9e74bb
d9e74bb
* Thu Apr 29 2010 Paul Howarth <paul@city-fan.org> - 2.027-1
d9e74bb
- Initial RPM version