Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > main-release-src > by-pkgid > 17931a0f1bc5cbbfa00e7a0bbb969245 > files > 2

perl-IO-Compress-2.21.0-1mdv2010.0.src.rpm

%define upstream_name    IO-Compress
%define upstream_version 2.021

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1
Summary:    IO Interface to compressed data files/buffers
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/IO/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl-devel
# perl provides this one unversionned
#BuildRequires: perl(Compress::Raw::Bzip2) >= 2.21.0
BuildRequires: perl-Compress-Raw-Bzip2 >= 2.21.0
BuildRequires: perl(Compress::Raw::Zlib)  >= 2.21.0
Obsoletes:     perl-Compress-Zlib
Obsoletes:     perl-IO-Compress-Base
Obsoletes:     perl-IO-Compress-Bzip2
Obsoletes:     perl-IO-Compress-Zlib
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}

%description
This distribution provides a Perl interface to allow reading and writing of
compressed data created with the zlib and bzip2 libraries.

IO-Compress supports reading and writing of bzip2, RFC 1950, RFC
1951, RFC 1952 (i.e. gzip) and zip files/buffers.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%{_mandir}/man3/*
%{perl_vendorarch}/IO
%{perl_vendorarch}/Compress
%{perl_vendorarch}/File
%{perl_vendorarch}/auto/IO
%{perl_vendorarch}/auto/Compress


%changelog
* Tue Sep 08 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.21.0-1mdv2010.0
+ Revision: 433069
- hardcode perl-Compress-Raw-Bzip2 dependency, as perl provides the virtual package unversioned

  + Jérôme Quelin <jquelin@mandriva.org>
    - bumping buildrequires: version requirement
    - update to 2.021

* Sun Jun 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.020-1mdv2010.0
+ Revision: 383486
- update to new version 2.020

* Mon May 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.019-2mdv2010.0
+ Revision: 371952
- obsoletes merged packages

* Mon May 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.019-1mdv2010.0
+ Revision: 371928
- import perl-IO-Compress


* Tue Apr 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> v0.99.4-1mdv2009.0
- first mdv release