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