Группа :: Разработка/Perl
Пакет: perl-Compress-Raw-Bzip2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Compress-Raw-Bzip2
Name: perl-%dist
Version: 2.206
Release: alt1
Summary: Low-level interface to the bzip2 compression library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Mon Feb 20 2012
BuildRequires: bzlib-devel perl-Test-NoWarnings perl-Test-Pod
%description
The Compress::Raw::Bzip2 module provides Perl interface to the in-memory
compression/uncompression functions from the bzip2 compression library.
%prep
%setup -q -n %{dist}-%{version}
rm -rv bzip2-src/
rm -rv t/Test/
# disable build dependency on IO-Compress
sed -i- 's/^BEGIN$/if (0)/' t/compress/CompTestUtils.pm
%build
export BUILD_BZIP2=0 BZIP2_INCLUDE=%_includedir BZIP2_LIB=%_libdir
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_archlib/Compress
%perl_vendor_autolib/Compress
%changelog
…
Полный changelog можно просмотреть здесь
%define dist Compress-Raw-Bzip2
Name: perl-%dist
Version: 2.206
Release: alt1
Summary: Low-level interface to the bzip2 compression library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Mon Feb 20 2012
BuildRequires: bzlib-devel perl-Test-NoWarnings perl-Test-Pod
%description
The Compress::Raw::Bzip2 module provides Perl interface to the in-memory
compression/uncompression functions from the bzip2 compression library.
%prep
%setup -q -n %{dist}-%{version}
rm -rv bzip2-src/
rm -rv t/Test/
# disable build dependency on IO-Compress
sed -i- 's/^BEGIN$/if (0)/' t/compress/CompTestUtils.pm
%build
export BUILD_BZIP2=0 BZIP2_INCLUDE=%_includedir BZIP2_LIB=%_libdir
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_archlib/Compress
%perl_vendor_autolib/Compress
%changelog
…
Полный changelog можно просмотреть здесь