b415c0
Name:           perl-Compress-Raw-Zlib
74117d
Epoch:          1
b415c0
Version:        2.061
74117d
Release:        4%{?dist}
b415c0
Summary:        Low-level interface to the zlib compression library
b415c0
License:        GPL+ or Artistic
b415c0
Group:          Development/Libraries
b415c0
URL:            http://search.cpan.org/dist/Compress-Raw-Zlib/
b415c0
Source0:        http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
b415c0
BuildRequires:  perl(AutoLoader)
b415c0
# XSLoader or DynaLoader; choose wisely
b415c0
BuildRequires:  perl(XSLoader)
b415c0
BuildRequires:  perl(Carp)
b415c0
BuildRequires:  perl(constant)
b415c0
BuildRequires:  perl(Exporter)
b415c0
BuildRequires:  perl(ExtUtils::MakeMaker)
b415c0
BuildRequires:  perl(lib)
b415c0
BuildRequires:  perl(Test::More)
b415c0
# Dual-lived module needs rebuilding early in the boot process
b415c0
%if !%{defined perl_bootstrap}
b415c0
BuildRequires:  perl(Test::NoWarnings)
b415c0
BuildRequires:  perl(Test::Pod) >= 1.00
b415c0
%endif
b415c0
BuildRequires:  zlib-devel
b415c0
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b415c0
# see above
b415c0
Requires:       perl(XSLoader)
b415c0
b415c0
# Don't "provide" private Perl libs
b415c0
%{?perl_default_filter}
b415c0
b415c0
%description
b415c0
The Compress::Raw::Zlib module provides a Perl interface to the zlib
b415c0
compression library, which is used by IO::Compress::Zlib.
b415c0
b415c0
%prep
b415c0
%setup -q -n Compress-Raw-Zlib-%{version}
b415c0
b415c0
%build
b415c0
BUILD_ZLIB=False 
b415c0
OLD_ZLIB=False
b415c0
ZLIB_LIB=%{_libdir}
b415c0
ZLIB_INCLUDE=%{_includedir}
b415c0
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
b415c0
b415c0
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
b415c0
make %{?_smp_mflags}
b415c0
b415c0
%install
b415c0
make pure_install DESTDIR=%{buildroot}
b415c0
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
b415c0
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
b415c0
%{_fixperms} %{buildroot}
b415c0
b415c0
%check
b415c0
make test
b415c0
b415c0
%files
b415c0
%doc Changes README
b415c0
%{perl_vendorarch}/auto/Compress/
b415c0
%{perl_vendorarch}/Compress/
b415c0
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
b415c0
b415c0
%changelog
74117d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:2.061-4
74117d
- Mass rebuild 2014-01-24
74117d
74117d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:2.061-3
74117d
- Mass rebuild 2013-12-27
74117d
74117d
* Wed Nov 13 2013 Petr Pisar <ppisar@redhat.com> - 1:2.061-2
74117d
- Increase release number not to conflict with older builds (bug #1029479)
74117d
74117d
* Wed Nov 13 2013 Petr Pisar <ppisar@redhat.com> - 1:2.061-1
74117d
- Increase epoch to 1 to allow upgrade from previous distribution (bug #1029479)
74117d
b415c0
* Mon May 27 2013 Paul Howarth <paul@city-fan.org> - 2.061-1
b415c0
- Update to 2.061
b415c0
  - Include zlib 1.2.8 source
b415c0
  - Typo fix (CPAN RT#85431)
b415c0
  - Silence compiler warning by making 2nd parameter to DispStream a const char*
b415c0
b415c0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.060-2
b415c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b415c0
b415c0
* Tue Jan  8 2013 Paul Howarth <paul@city-fan.org> - 2.060-1
b415c0
- Update to 2.060 (mention SimpleZip in POD)
b415c0
b415c0
* Sun Nov 25 2012 Paul Howarth <paul@city-fan.org> - 2.059-1
b415c0
- Update to 2.059
b415c0
  - Copy-on-write support (CPAN RT#81353)
b415c0
b415c0
* Tue Nov 13 2012 Paul Howarth <paul@city-fan.org> - 2.058-1
b415c0
- Update to 2.058
b415c0
  - Compress::Raw::Zlib needs to use PERL_NO_GET_CONTEXT (CPAN RT#80319)
b415c0
  - Install to 'site' instead of 'perl' when perl version is 5.11+
b415c0
    (CPAN RT#79812)
b415c0
  - Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78079)
b415c0
b415c0
* Sat Aug 11 2012 Paul Howarth <paul@city-fan.org> - 2.056-1
b415c0
- Update to 2.056
b415c0
  - Fix C++ build issue
b415c0
b415c0
* Mon Aug  6 2012 Paul Howarth <paul@city-fan.org> - 2.055-1
b415c0
- Update to 2.055
b415c0
  - Fix misuse of magic in API (CPAN RT#78079)
b415c0
  - Include zlib 1.2.7 source
b415c0
- BR: perl(Exporter) and perl(lib)
b415c0
- BR: perl(Test::NoWarnings) except when bootstrapping
b415c0
- Drop redundant explicit require for perl(Exporter)
b415c0
- Drop BR: perl(bytes), not dual-lived
b415c0
b415c0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.054-5
b415c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b415c0
b415c0
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.054-4
b415c0
- Perl 5.16 re-rebuild of bootstrapped packages
b415c0
b415c0
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.054-3
b415c0
- Perl 5.16 rebuild
b415c0
b415c0
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.054-2
b415c0
- Omit optional Test::Pod tests on bootstrap
b415c0
b415c0
* Tue May  8 2012 Paul Howarth <paul@city-fan.org> - 2.054-1
b415c0
- Update to 2.054
b415c0
  - Fix build issue on Win32 (CPAN RT#77030)
b415c0
b415c0
* Sun May  6 2012 Paul Howarth <paul@city-fan.org> - 2.053-1
b415c0
- Update to 2.053
b415c0
  - Include zlib 1.2.7 source
b415c0
b415c0
* Sun Apr 29 2012 Paul Howarth <paul@city-fan.org> - 2.052-1
b415c0
- Update to 2.052
b415c0
  - Fix build issue when Perl is built with C++
b415c0
- Don't need to remove empty directories from buildroot
b415c0
b415c0
* Thu Feb 23 2012 Paul Howarth <paul@city-fan.org> - 2.051-1
b415c0
- Update to 2.051
b415c0
  - Fix bug in Compress::Raw::Zlib on 64-bit Windows (CPAN RT#75222)
b415c0
b415c0
* Tue Feb 21 2012 Paul Howarth <paul@city-fan.org> - 2.050-1
b415c0
- Update to 2.050
b415c0
  - Fix build failure on Irix and Solaris (CPAN RT#75151)
b415c0
b415c0
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
b415c0
- Update to 2.049
b415c0
  - Include zlib 1.2.6 source
b415c0
b415c0
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
b415c0
- Update to 2.048
b415c0
  - Allow flush to be called multiple times without any intermediate call to
b415c0
    deflate and still return Z_OK
b415c0
  - Added support for zlibCompileFlags
b415c0
  - Set minimum Perl version to 5.6
b415c0
  - Set minimum zlib version to 1.2.0
b415c0
- Don't use macros for commands
b415c0
b415c0
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.045-2
b415c0
- Rebuild for gcc 4.7 in Rawhide
b415c0
b415c0
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.045-1
b415c0
- Update to 2.045
b415c0
  - Moved FAQ.pod into Zlib.pm
b415c0
b415c0
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.044-1
b415c0
- Update to 2.044
b415c0
  - Moved FAQ.pod under the lib directory so it can get installed
b415c0
b415c0
* Mon Nov 21 2011 Paul Howarth <paul@city-fan.org> - 2.043-1
b415c0
- Update to 2.043 (no changes)
b415c0
b415c0
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
b415c0
- Update to 2.042 (no changes)
b415c0
b415c0
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
b415c0
- Update to 2.040
b415c0
  - Croak if attempt to freeze/thaw compression object (CPAN RT#69985)
b415c0
- BR: perl(Carp)
b415c0
b415c0
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.037-4
b415c0
- Install to vendorlib so that our debuginfo does not conflict with that of
b415c0
  the main perl package
b415c0
b415c0
* Thu Jul 28 2011 Karsten Hopp <karsten@redhat.com> 2.037-3
b415c0
- Bump and rebuild as it got compiled with the old perl on ppc
b415c0
b415c0
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
b415c0
- Perl mass rebuild
b415c0
b415c0
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
b415c0
- Update to 2.037 (no changes)
b415c0
b415c0
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-2
b415c0
- Perl mass rebuild
b415c0
b415c0
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 2.036-1
b415c0
- 2.036 bump (added offset parameter to CRC32)
b415c0
b415c0
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.035-3
b415c0
- Perl mass rebuild
b415c0
b415c0
* Fri Jun 17 2011 Paul Howarth <paul@city-fan.org> - 2.035-2
b415c0
- Perl mass rebuild
b415c0
b415c0
* Sat May  7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
b415c0
- Update to 2.035 (no changes)
b415c0
b415c0
* Tue May  3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
b415c0
- 2.034 bump
b415c0
- Buildroot and defattr cleanup
b415c0
- Correcting BRs/Rs
b415c0
b415c0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-4
b415c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b415c0
b415c0
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-3
b415c0
- remove epoch again, it's actually rpmdev bug
b415c0
 https://fedorahosted.org/rpmdevtools/ticket/13
b415c0
b415c0
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-2
b415c0
- re-add epoch. rpmdev-vercmp "0" 2.032 2 "" 2.033 1 -> 2.032
b415c0
b415c0
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
b415c0
- Update to 2.033 (fixed typos and spelling errors - Perl RT#81782)
b415c0
- Drop redundant Obsoletes and Epoch tags
b415c0
- Simplify provides filter
b415c0
b415c0
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-2
b415c0
- BuildRequire perl(Test::Pod) for tests
b415c0
b415c0
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-1
b415c0
- 2.032 bump
b415c0
b415c0
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.030-2
b415c0
- 661697 rebuild for fixing problems with vendorach/lib
b415c0
b415c0
* Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> - 0:2.030-1
b415c0
- 2.030 version bump
b415c0
b415c0
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.027-1
b415c0
- update
b415c0
b415c0
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.024-3
b415c0
- Mass rebuild with perl-5.12.0
b415c0
b415c0
* Mon Mar 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.024-2
b415c0
- split again from main package for updated version
b415c0
b415c0
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2
b415c0
- Bump release to beat F-7 version
b415c0
b415c0
* Sun Jul 01 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-1
b415c0
- update to 2.005.
b415c0
b415c0
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1
b415c0
- Initial build from CPAN
b415c0