From 1cc68dd22d57a9bbd5dfb331e2d2d538169d009d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:42:43 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 2.09-3mamba;Thu Nov 15 2012] --- README.md | 6 ++++ perl-Compress-Bzip2.spec | 59 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 perl-Compress-Bzip2.spec diff --git a/README.md b/README.md index c9a854f..d8b4c35 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec new file mode 100644 index 0000000..5263b60 --- /dev/null +++ b/perl-Compress-Bzip2.spec @@ -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 +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 2.09-3mamba +- perl 5.16 mass rebuild + +* Tue Nov 04 2008 Silvan Calarco 2.09-2mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 2.011-1mamba +- First build