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