146 lines
4.6 KiB
RPMSpec
146 lines
4.6 KiB
RPMSpec
Name: perl-Compress-Raw-Zlib
|
|
Version: 2.042
|
|
Release: 1%{?dist}
|
|
Summary: Low-Level Interface to zlib compression library
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
|
|
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
|
|
Requires: perl(Exporter)
|
|
# XSLoader or DynaLoader; choose wisely
|
|
Requires: perl(XSLoader)
|
|
BuildRequires: perl(AutoLoader)
|
|
BuildRequires: perl(bytes)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
# see above
|
|
BuildRequires: perl(XSLoader)
|
|
BuildRequires: zlib-devel
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
The Compress::Raw::Zlib module provides a Perl interface to the zlib
|
|
compression library, which is used by IO::Compress::Zlib.
|
|
|
|
%prep
|
|
%setup -q -n Compress-Raw-Zlib-%{version}
|
|
|
|
%build
|
|
BUILD_ZLIB=False
|
|
OLD_ZLIB=False
|
|
ZLIB_LIB=%{_libdir}
|
|
ZLIB_INCLUDE=%{_includedir}
|
|
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorarch}/auto/Compress/
|
|
%{perl_vendorarch}/Compress/
|
|
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
|
|
|
|
%changelog
|
|
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
|
|
- Update to 2.042 (no changes)
|
|
|
|
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
|
|
- Update to 2.040
|
|
- Croak if attempt to freeze/thaw compression object (CPAN RT#69985)
|
|
- BR: perl(Carp)
|
|
|
|
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.037-4
|
|
- Install to vendorlib so that our debuginfo does not conflict with that of
|
|
the main perl package
|
|
|
|
* Thu Jul 28 2011 Karsten Hopp <karsten@redhat.com> 2.037-3
|
|
- Bump and rebuild as it got compiled with the old perl on ppc
|
|
|
|
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
|
|
- Perl mass rebuild
|
|
|
|
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
|
|
- Update to 2.037 (no changes)
|
|
|
|
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-2
|
|
- Perl mass rebuild
|
|
|
|
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 2.036-1
|
|
- 2.036 bump (added offset parameter to CRC32)
|
|
|
|
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.035-3
|
|
- Perl mass rebuild
|
|
|
|
* Fri Jun 17 2011 Paul Howarth <paul@city-fan.org> - 2.035-2
|
|
- Perl mass rebuild
|
|
|
|
* Sat May 7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
|
|
- Update to 2.035 (no changes)
|
|
|
|
* Tue May 3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
|
|
- 2.034 bump
|
|
- Buildroot and defattr cleanup
|
|
- Correcting BRs/Rs
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-3
|
|
- remove epoch again, it's actually rpmdev bug
|
|
https://fedorahosted.org/rpmdevtools/ticket/13
|
|
|
|
* Fri Jan 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.033-2
|
|
- re-add epoch. rpmdev-vercmp "0" 2.032 2 "" 2.033 1 -> 2.032
|
|
|
|
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
|
|
- Update to 2.033 (fixed typos and spelling errors - Perl RT#81782)
|
|
- Drop redundant Obsoletes and Epoch tags
|
|
- Simplify provides filter
|
|
|
|
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-2
|
|
- BuildRequire perl(Test::Pod) for tests
|
|
|
|
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 0:2.032-1
|
|
- 2.032 bump
|
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.030-2
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> - 0:2.030-1
|
|
- 2.030 version bump
|
|
|
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.027-1
|
|
- update
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0:2.024-3
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Mon Mar 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 2.024-2
|
|
- split again from main package for updated version
|
|
|
|
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2
|
|
- Bump release to beat F-7 version
|
|
|
|
* Sun Jul 01 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-1
|
|
- update to 2.005.
|
|
|
|
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1
|
|
- Initial build from CPAN
|
|
|