Name: perl-Compress-Raw-Bzip2 Summary: Low-Level Interface to bzip2 compression library Version: 2.030 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-%{version}.tar.gz URL: http://search.cpan.org/dist/Compress-Raw-Bzip2/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: bzip2-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Pod) %{?perl_default_filter} %description This module provides a Perl interface to the bzip2 compression library. It is used by IO::Compress::Bzip2. %prep %setup -q -n Compress-Raw-Bzip2-%{version} %build BUILD_BZIP2=0 BZIP2_LIB=%{_libdir} export BUILD_BZIP2 BZIP2_LIB %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/Compress %{perl_vendorarch}/Compress %{_mandir}/man3/*.3* %changelog * Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> - 2.030-1 - 2.030 version bump * Tue May 11 2010 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 2.027-1 - update * Sat Apr 10 2010 Chris Weyl <cweyl@alumni.drew.edu> 2.026-1 - PERL_INSTALL_ROOT => DESTDIR, use _fixperms incantation - add perl_default_filter (XS package) - update by Fedora::App::MaintainerTools 0.006 - updating to latest GA CPAN version (2.026) * Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 2.020-2 - rebuild against perl 5.10.1 * Mon Jul 27 2009 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 2.020-1 - update * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.005-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.005-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.005-5 - rebuild for new perl * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.005-4 - Autorebuild for GCC 4.3 * Fri Aug 24 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-3 - Update license tag. * Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2 - Bump release to beat F-7 version * Sun Jul 01 2007 Steven Pritchard <steve@kspei.com> 2.005-1 - Update to 2.005. - Build against system libbz2 (#246401). * Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1 - Initial build from CPAN