perl 5.16 mass rebuild [release 2.09-3mamba;Thu Nov 15 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 08:42:43 +01:00
parent 5011142279
commit 1cc68dd22d
2 changed files with 65 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# perl-Compress-Bzip2
The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression library (see "AUTHOR" for details about where to get Bzip2). A relevant subset of the functionality provided by Bzip2 is available in Compress::Bzip2.
All string parameters can either be a scalar or a scalar reference.
The module can be split into two general areas of functionality, namely in-memory compression/decompression and read/write access to bzip2 files. Each of these areas will be discussed separately below.

59
perl-Compress-Bzip2.spec Normal file
View File

@ -0,0 +1,59 @@
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Compress-Bzip2
Version: 2.09
Release: 3mamba
Summary: Compress::Bzip2 - Interface to Bzip2 compression library
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
Source: http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY/Compress-Bzip2-%{version}.tar.gz
URL: http://www.cpan.org
License: GPL
BuildRoot: %{_tmppath}/perl-root
Requires: perl >= %PERL_VERSION
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel >= %PERL_VERSION
## AUTOBUILDREQ-END
%description
The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression library (see "AUTHOR" for details about where to get Bzip2). A relevant subset of the functionality provided by Bzip2 is available in Compress::Bzip2.
All string parameters can either be a scalar or a scalar reference.
The module can be split into two general areas of functionality, namely in-memory compression/decompression and read/write access to bzip2 files. Each of these areas will be discussed separately below.
%prep
%setup -q -n Compress-Bzip2-%{version}
%build
perl Makefile.PL
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%make pure_install DESTDIR=%{buildroot}
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Compress/Bzip2/.packlist | \
sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \
sort -u > .packlist
rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Compress/Bzip2/.packlist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Thu Nov 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-3mamba
- perl 5.16 mass rebuild
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.09-2mamba
- automatic rebuild by autodist
* Wed Jun 25 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.011-1mamba
- First build