d9e74bb
Name:		perl-Compress-Raw-Lzma
d05656a
Version:	2.030
d05656a
Release:	1%{?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))
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
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