Blame SPECS/perl-Compress-Raw-Zlib.spec

8fd544
%{?scl:%scl_package perl-Compress-Raw-Zlib}
8fd544
8fd544
Name:           %{?scl_prefix}perl-Compress-Raw-Zlib
8fd544
Version:        2.068
8fd544
Release:        4%{?dist}
8fd544
Summary:        Low-level interface to the zlib compression library
8fd544
License:        (GPL+ or Artistic) and zlib
8fd544
Group:          Development/Libraries
8fd544
URL:            http://search.cpan.org/dist/Compress-Raw-Zlib/
8fd544
Source0:        http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
8fd544
# Module Build
8fd544
BuildRequires:  %{?scl_prefix}perl
8fd544
BuildRequires:  %{?scl_prefix}perl(Config)
8fd544
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Constant)
8fd544
BuildRequires:  %{?scl_prefix}perl(ExtUtils::Install)
8fd544
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 5.16
8fd544
BuildRequires:  %{?scl_prefix}perl(File::Copy)
8fd544
BuildRequires:  %{?scl_prefix}perl(File::Spec::Functions)
8fd544
BuildRequires:  %{?scl_prefix}perl(vars)
8fd544
BuildRequires:  zlib-devel >= 1.2.1
8fd544
# Module Runtime
8fd544
BuildRequires:  %{?scl_prefix}perl(bytes)
8fd544
BuildRequires:  %{?scl_prefix}perl(Carp)
8fd544
BuildRequires:  %{?scl_prefix}perl(constant)
8fd544
BuildRequires:  %{?scl_prefix}perl(Exporter)
8fd544
BuildRequires:  %{?scl_prefix}perl(strict)
8fd544
BuildRequires:  %{?scl_prefix}perl(warnings)
8fd544
BuildRequires:  %{?scl_prefix}perl(XSLoader)
8fd544
# Test Suite
8fd544
BuildRequires:  %{?scl_prefix}perl(File::Path)
8fd544
BuildRequires:  %{?scl_prefix}perl(File::Temp)
8fd544
BuildRequires:  %{?scl_prefix}perl(lib)
8fd544
BuildRequires:  %{?scl_prefix}perl(overload)
8fd544
# Dual-lived module needs rebuilding early in the boot process
8fd544
%if !%{defined perl_bootstrap} && !%{defined perl_small}
8fd544
BuildRequires:  %{?scl_prefix}perl(Test::NoWarnings)
8fd544
BuildRequires:  %{?scl_prefix}perl(Test::Pod) >= 1.00
8fd544
%endif
8fd544
BuildRequires:  %{?scl_prefix}perl(threads::shared)
8fd544
# Runtime
8fd544
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
8fd544
Requires:       %{?scl_prefix}perl(XSLoader)
8fd544
8fd544
# Don't "provide" private Perl libs
8fd544
%{?perl_default_filter}
8fd544
8fd544
%description
8fd544
The Compress::Raw::Zlib module provides a Perl interface to the zlib
8fd544
compression library, which is used by IO::Compress::Zlib.
8fd544
8fd544
%prep
8fd544
%setup -q -n Compress-Raw-Zlib-%{version}
8fd544
8fd544
%build
8fd544
OLD_ZLIB=False
8fd544
BUILD_ZLIB=False 
8fd544
ZLIB_LIB=%{_libdir}
8fd544
ZLIB_INCLUDE=%{_includedir}
8fd544
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
8fd544
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" && make %{?_smp_mflags}%{?scl:'}
8fd544
8fd544
%install
8fd544
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
8fd544
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
8fd544
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
8fd544
%{_fixperms} %{buildroot}
8fd544
8fd544
%check
8fd544
%{?scl:scl enable %{scl} '}make test COMPRESS_ZLIB_RUN_MOST=1%{?scl:'}
8fd544
8fd544
%files
8fd544
%doc Changes README
8fd544
%{perl_vendorarch}/auto/Compress/
8fd544
%{perl_vendorarch}/Compress/
8fd544
%{_mandir}/man3/Compress::Raw::Zlib.3*
8fd544
8fd544
%changelog
8fd544
* Wed Mar 18 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.068-4
8fd544
- Correct license from (GPL+ or Artistic) to ((GPL+ or Artistic) and zlib)
8fd544
8fd544
* Sun Jan 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.068-3
8fd544
- Rebuild of bootstrapped package
8fd544
8fd544
* Thu Jan 22 2015 Petr Pisar <ppisar@redhat.com> - 2.068-2
8fd544
- Disable optional tests for small build root
8fd544
8fd544
* Wed Dec 24 2014 Paul Howarth <paul@city-fan.org> - 2.068-1
8fd544
- Update to 2.068
8fd544
  - Silence more compiler warnings
8fd544
  - Disable running of 07bufsize.t by default; COMPRESS_ZLIB_RUN_MOST needs to
8fd544
    be set to run it, which makes life more bearable on legacy platforms
8fd544
8fd544
* Tue Dec  9 2014 Paul Howarth <paul@city-fan.org> - 2.067-1
8fd544
- Update to 2.067 (silence compiler warnings)
8fd544
- Classify buildreqs by usage
8fd544
8fd544
* Mon Sep 22 2014 Paul Howarth <paul@city-fan.org> - 2.066-1
8fd544
- Update to 2.066
8fd544
  - Another COW violation (CPAN RT#98069)
8fd544
  - Misleading nesting/indentation found by Coverity (CPAN RT#95405)
8fd544
8fd544
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.065-311
8fd544
- Perl 5.20 re-rebuild of bootstrapped packages
8fd544
8fd544
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.065-310
8fd544
- Increase release to favour standalone package
8fd544
8fd544
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.065-4
8fd544
- Perl 5.20 rebuild
8fd544
8fd544
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.065-3
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8fd544
8fd544
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.065-2
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8fd544
8fd544
* Tue Feb  4 2014 Paul Howarth <paul@city-fan.org> - 2.065-1
8fd544
- Update to 2.065
8fd544
  - Resolve c++ build failure in core (CPAN RT#92657)
8fd544
  - gcc -g3: final link failed: Memory exhausted (CPAN RT#88936)
8fd544
8fd544
* Sun Feb  2 2014 Paul Howarth <paul@city-fan.org> - 2.064-1
8fd544
- Update to 2.064
8fd544
  - Handle non-PVs better (CPAN RT#91558)
8fd544
  - Z_OK instead of Z_BUF_ERROR (CPAN RT#92521)
8fd544
8fd544
* Sun Nov  3 2013 Paul Howarth <paul@city-fan.org> - 2.063-1
8fd544
- Update to 2.063
8fd544
  - gcc -g3: final link failed: Memory exhausted (CPAN RT#88936)
8fd544
  - Compress::Raw::Zlib uses AutoLoader for no reason (CPAN RT#88260)
8fd544
  - Typo in Compress::Zlib _combine function documentation (CPAN RT#89305)
8fd544
8fd544
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.062-2
8fd544
- Perl 5.18 re-rebuild of bootstrapped packages
8fd544
8fd544
* Mon Aug 12 2013 Paul Howarth <paul@city-fan.org> - 2.062-1
8fd544
- Update to 2.062
8fd544
  - Typo fix (CPAN RT#86417)
8fd544
8fd544
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.061-3
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8fd544
8fd544
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.061-2
8fd544
- Perl 5.18 rebuild
8fd544
8fd544
* Mon May 27 2013 Paul Howarth <paul@city-fan.org> - 2.061-1
8fd544
- Update to 2.061
8fd544
  - Include zlib 1.2.8 source
8fd544
  - Typo fix (CPAN RT#85431)
8fd544
  - Silence compiler warning by making 2nd parameter to DispStream a const char*
8fd544
8fd544
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.060-2
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8fd544
8fd544
* Tue Jan  8 2013 Paul Howarth <paul@city-fan.org> - 2.060-1
8fd544
- Update to 2.060 (mention SimpleZip in POD)
8fd544
8fd544
* Sun Nov 25 2012 Paul Howarth <paul@city-fan.org> - 2.059-1
8fd544
- Update to 2.059
8fd544
  - Copy-on-write support (CPAN RT#81353)
8fd544
8fd544
* Tue Nov 13 2012 Paul Howarth <paul@city-fan.org> - 2.058-1
8fd544
- Update to 2.058
8fd544
  - Compress::Raw::Zlib needs to use PERL_NO_GET_CONTEXT (CPAN RT#80319)
8fd544
  - Install to 'site' instead of 'perl' when perl version is 5.11+
8fd544
    (CPAN RT#79812)
8fd544
  - Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78079)
8fd544
8fd544
* Sat Aug 11 2012 Paul Howarth <paul@city-fan.org> - 2.056-1
8fd544
- Update to 2.056
8fd544
  - Fix C++ build issue
8fd544
8fd544
* Mon Aug  6 2012 Paul Howarth <paul@city-fan.org> - 2.055-1
8fd544
- Update to 2.055
8fd544
  - Fix misuse of magic in API (CPAN RT#78079)
8fd544
  - Include zlib 1.2.7 source
8fd544
- BR: perl(Exporter) and perl(lib)
8fd544
- BR: perl(Test::NoWarnings) except when bootstrapping
8fd544
- Drop redundant explicit require for perl(Exporter)
8fd544
- Drop BR: perl(bytes), not dual-lived
8fd544
8fd544
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.054-5
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8fd544
8fd544
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.054-4
8fd544
- Perl 5.16 re-rebuild of bootstrapped packages
8fd544
8fd544
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.054-3
8fd544
- Perl 5.16 rebuild
8fd544
8fd544
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.054-2
8fd544
- Omit optional Test::Pod tests on bootstrap
8fd544
8fd544
* Tue May  8 2012 Paul Howarth <paul@city-fan.org> - 2.054-1
8fd544
- Update to 2.054
8fd544
  - Fix build issue on Win32 (CPAN RT#77030)
8fd544
8fd544
* Sun May  6 2012 Paul Howarth <paul@city-fan.org> - 2.053-1
8fd544
- Update to 2.053
8fd544
  - Include zlib 1.2.7 source
8fd544
8fd544
* Sun Apr 29 2012 Paul Howarth <paul@city-fan.org> - 2.052-1
8fd544
- Update to 2.052
8fd544
  - Fix build issue when Perl is built with C++
8fd544
- Don't need to remove empty directories from buildroot
8fd544
8fd544
* Thu Feb 23 2012 Paul Howarth <paul@city-fan.org> - 2.051-1
8fd544
- Update to 2.051
8fd544
  - Fix bug in Compress::Raw::Zlib on 64-bit Windows (CPAN RT#75222)
8fd544
8fd544
* Tue Feb 21 2012 Paul Howarth <paul@city-fan.org> - 2.050-1
8fd544
- Update to 2.050
8fd544
  - Fix build failure on Irix and Solaris (CPAN RT#75151)
8fd544
8fd544
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
8fd544
- Update to 2.049
8fd544
  - Include zlib 1.2.6 source
8fd544
8fd544
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
8fd544
- Update to 2.048
8fd544
  - Allow flush to be called multiple times without any intermediate call to
8fd544
    deflate and still return Z_OK
8fd544
  - Added support for zlibCompileFlags
8fd544
  - Set minimum Perl version to 5.6
8fd544
  - Set minimum zlib version to 1.2.0
8fd544
- Don't use macros for commands
8fd544
8fd544
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.045-2
8fd544
- Rebuild for gcc 4.7 in Rawhide
8fd544
8fd544
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.045-1
8fd544
- Update to 2.045
8fd544
  - Moved FAQ.pod into Zlib.pm
8fd544
8fd544
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.044-1
8fd544
- Update to 2.044
8fd544
  - Moved FAQ.pod under the lib directory so it can get installed
8fd544
8fd544
* Mon Nov 21 2011 Paul Howarth <paul@city-fan.org> - 2.043-1
8fd544
- Update to 2.043 (no changes)
8fd544
8fd544
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
8fd544
- Update to 2.042 (no changes)
8fd544
8fd544
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
8fd544
- Update to 2.040
8fd544
  - Croak if attempt to freeze/thaw compression object (CPAN RT#69985)
8fd544
- BR: perl(Carp)
8fd544
8fd544
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.037-4
8fd544
- Install to vendorlib so that our debuginfo does not conflict with that of
8fd544
  the main perl package
8fd544
8fd544
* Thu Jul 28 2011 Karsten Hopp <karsten@redhat.com> 2.037-3
8fd544
- Bump and rebuild as it got compiled with the old perl on ppc
8fd544
8fd544
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
8fd544
- Perl mass rebuild
8fd544
8fd544
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
8fd544
- Update to 2.037 (no changes)
8fd544
8fd544
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-2
8fd544
- Perl mass rebuild
8fd544
8fd544
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 2.036-1
8fd544
- 2.036 bump (added offset parameter to CRC32)
8fd544
8fd544
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.035-3
8fd544
- Perl mass rebuild
8fd544
8fd544
* Fri Jun 17 2011 Paul Howarth <paul@city-fan.org> - 2.035-2
8fd544
- Perl mass rebuild
8fd544
8fd544
* Sat May  7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
8fd544
- Update to 2.035 (no changes)
8fd544
8fd544
* Tue May  3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
8fd544
- 2.034 bump
8fd544
- Buildroot and defattr cleanup
8fd544
- Correcting BRs/Rs
8fd544
8fd544
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-4
8fd544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8fd544
8fd544
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-3
8fd544
- remove epoch again, it's actually rpmdev bug
8fd544
 https://fedorahosted.org/rpmdevtools/ticket/13
8fd544
8fd544
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-2
8fd544
- re-add epoch. rpmdev-vercmp "0" 2.032 2 "" 2.033 1 -> 2.032
8fd544
8fd544
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
8fd544
- Update to 2.033 (fixed typos and spelling errors - Perl RT#81782)
8fd544
- Drop redundant Obsoletes and Epoch tags
8fd544
- Simplify provides filter
8fd544
8fd544
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-2
8fd544
- BuildRequire perl(Test::Pod) for tests
8fd544
8fd544
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-1
8fd544
- 2.032 bump
8fd544
8fd544
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.030-2
8fd544
- 661697 rebuild for fixing problems with vendorach/lib
8fd544
8fd544
* Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> - 0:2.030-1
8fd544
- 2.030 version bump
8fd544
8fd544
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.027-1
8fd544
- update
8fd544
8fd544
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.024-3
8fd544
- Mass rebuild with perl-5.12.0
8fd544
8fd544
* Mon Mar 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.024-2
8fd544
- split again from main package for updated version
8fd544
8fd544
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2
8fd544
- Bump release to beat F-7 version
8fd544
8fd544
* Sun Jul 01 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-1
8fd544
- update to 2.005.
8fd544
8fd544
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1
8fd544
- Initial build from CPAN
8fd544