diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f7e279 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Compress-Bzip2-2.24.tar.gz diff --git a/.rh-perl524-perl-Compress-Bzip2.metadata b/.rh-perl524-perl-Compress-Bzip2.metadata new file mode 100644 index 0000000..e8b215a --- /dev/null +++ b/.rh-perl524-perl-Compress-Bzip2.metadata @@ -0,0 +1 @@ +6dcc77c7cc6caab6ea3c69a05c3b4dd2bfcc9e2e SOURCES/Compress-Bzip2-2.24.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Compress-Bzip2.spec b/SPECS/perl-Compress-Bzip2.spec new file mode 100644 index 0000000..ee3cf20 --- /dev/null +++ b/SPECS/perl-Compress-Bzip2.spec @@ -0,0 +1,241 @@ +%{?scl:%scl_package perl-Compress-Bzip2} + +Name: %{?scl_prefix}perl-Compress-Bzip2 +Version: 2.24 +Release: 5%{?dist} +Summary: Interface to Bzip2 compression library +Group: Development/Libraries +# bzlib-src/win-tst-dlltest.c (unbundled): Public Domain +# bzlib-src/LICENSE (unbundled): BSD +# bzlib-src/manual.ps (unbundled): GPL+ with exception +# other files: GPL+ or Artistic +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Compress-Bzip2/ +Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz +BuildRequires: bzip2-devel >= 1.0.5 +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl-devel +BuildRequires: %{?scl_prefix}perl-generators +BuildRequires: %{?scl_prefix}perl(Config) +BuildRequires: %{?scl_prefix}perl(File::Copy) +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(File::Spec::Functions) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(strict) +# VMS::Filespec not needed +BuildRequires: sed +# Run-time: +BuildRequires: %{?scl_prefix}perl(AutoLoader) +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(constant) >= 1.04 +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(Fcntl) +BuildRequires: %{?scl_prefix}perl(Getopt::Std) +BuildRequires: %{?scl_prefix}perl(warnings) +BuildRequires: %{?scl_prefix}perl(XSLoader) +# Tests: +BuildRequires: %{?scl_prefix}perl(Cwd) +# Memory::Usage not used +BuildRequires: %{?scl_prefix}perl(Test::More) +# Test::Kwalitee not used +# Optional tests: +%if !%{defined perl_bootstrap} && !%{defined perl_small} +BuildRequires: %{?scl_prefix}perl(Test::LeakTrace) +%endif +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(constant) >= 1.04 + +%if 0%{?rhel} < 7 +# RPM 4.8 style +%{?filter_setup: +%filter_from_requires /^%{?scl_prefix}perl(constant)$/d +%?perl_default_filter +} +%else +# RPM 4.9 style +%{?perl_default_filter} +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(constant\\)$ +%endif + +%description +The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression +library. A relevant subset of the functionality provided by Bzip2 is available +in Compress::Bzip2. Compress::Bzip2 is not well integrated into PerlIO, use +the preferred IO::Compress::Bzip2 instead. + +%prep +%setup -q -n Compress-Bzip2-%{version} +# Remove bundled bzip2 library +find bzlib-src -mindepth 1 -type f \! -name 'sample*' -exec rm -rf {} + +sed -i -e '/^bzlib-src\//d' MANIFEST +find bzlib-src -type f >>MANIFEST + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc COPYING +%doc ANNOUNCE Changes NEWS README.md +%{perl_vendorarch}/Compress/ +%{perl_vendorarch}/auto/Compress/ +%{_mandir}/man3/*.3pm* + +%changelog +* Tue Jul 19 2016 Petr Pisar - 2.24-5 +- SCL + +* Wed May 18 2016 Jitka Plesnikova - 2.24-4 +- Perl 5.24 re-rebuild of bootstrapped packages + +* Sat May 14 2016 Jitka Plesnikova - 2.24-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Dec 11 2015 Petr Pisar - 2.24-1 +- 2.24 bump + +* Thu Jun 18 2015 Fedora Release Engineering - 2.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Jitka Plesnikova - 2.22-3 +- Perl 5.22 re-rebuild of bootstrapped packages + +* Wed Jun 03 2015 Jitka Plesnikova - 2.22-2 +- Perl 5.22 rebuild + +* Thu Feb 19 2015 Petr Pisar - 2.22-1 +- 2.22 bump + +* Fri Jan 30 2015 Petr Pisar - 2.20-1 +- 2.20 bump + +* Wed Oct 29 2014 Petr Pisar - 2.19-2 +- Do not build-require version module + +* Mon Oct 27 2014 Petr Pisar - 2.19-1 +- 2.19 bump + +* Wed Aug 27 2014 Jitka Plesnikova - 2.18-3 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Aug 07 2014 Petr Pisar - 2.18-1 +- 2.18 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 2.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Sep 02 2013 Petr Pisar - 2.17-1 +- 2.17 bump +- License changed to (GPL+ or Artistic) + +* Sat Aug 03 2013 Fedora Release Engineering - 2.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 2.16-2 +- Perl 5.18 rebuild + +* Thu Jun 20 2013 Petr Pisar - 2.16-1 +- 2.16 bump + +* Mon Apr 08 2013 Petr Pisar - 2.15-1 +- 2.15 bump + +* Thu Apr 04 2013 Petr Pisar - 2.13-1 +- 2.13 bump + +* Wed Mar 27 2013 Petr Pisar - 2.10-1 +- 2.10 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 2.09-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 2.09-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 2.09-15 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.09-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jun 16 2011 Marcela Mašláňová - 2.09-13 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.09-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 15 2010 Marcela Maslanova - 2.09-11 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 2.09-10 +- Mass rebuild with perl-5.12.0 + +* Fri Jan 15 2010 Stepan Kasal - 2.09-9 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 2.09-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 2.09-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Mar 06 2008 Tom "spot" Callaway - 2.09-6.2 +Rebuild for new perl + +* Tue Feb 19 2008 Fedora Release Engineering - 2.09-5.2 +- Autorebuild for GCC 4.3 + +* Tue Oct 16 2007 Tom "spot" Callaway - 2.09-4.2 +- add BR: perl(Test::More) + +* Mon Oct 15 2007 Tom "spot" Callaway - 2.09-4.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Thu Sep 7 2006 Jose Pedro Oliveira - 2.09-4 +- Rebuild for FC6. + +* Mon Feb 20 2006 Jose Pedro Oliveira - 2.09-3 +- Rebuild for FC5 (perl 5.8.8). + +* Mon Jan 9 2006 Jose Pedro Oliveira - 2.09-2 +- Applied two of the Ville's suggestions (#177166): trimmed down + the description to the first paragraph and added the file ANNOUNCE + as documentation. + +* Thu Aug 11 2005 Jose Pedro Oliveira - 2.09-1 +- Update to 2.09. + +* Mon May 02 2005 Jose Pedro Oliveira - 2.07-1 +- Update to 2.07. + +* Mon Apr 25 2005 Jose Pedro Oliveira - 2.04-1 +- Update to 2.04. + +* Sun Apr 24 2005 Jose Pedro Oliveira - 2.03-1 +- Update to 2.03. + +* Sun Apr 24 2005 Jose Pedro Oliveira - 2.00-1 +- Update to 2.00. + +* Thu Apr 21 2005 Jose Pedro Oliveira - 1.03-1 +- First build.