a7f40e0
Name:           perl-Compress-Raw-Zlib
9362a10
Version:        2.005
85bae9e
Release:        3%{?dist}
a7f40e0
Summary:        Low-Level Interface to the zlib compression library
a7f40e0
a7f40e0
Group:          Development/Libraries
a7f40e0
License:        Artistic or GPL
a7f40e0
URL:            http://search.cpan.org/dist/Compress-Raw-Zlib/
a7f40e0
Source0:        http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
a7f40e0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a7f40e0
a7f40e0
BuildRequires:  perl, perl(ExtUtils::MakeMaker), zlib-devel, perl(Test::Pod)
a7f40e0
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a7f40e0
a7f40e0
%description
a7f40e0
This module provides a Perl interface to the zlib compression library.
a7f40e0
It is used by IO::Compress::Zlib.
a7f40e0
a7f40e0
%prep
a7f40e0
%setup -q -n Compress-Raw-Zlib-%{version}
a7f40e0
a7f40e0
a7f40e0
%build
a7f40e0
BUILD_ZLIB=False 
a7f40e0
OLD_ZLIB=False
a7f40e0
ZLIB_LIB=%{_libdir}
a7f40e0
ZLIB_INCLUDE=%{_includedir}
a7f40e0
export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
a7f40e0
a7f40e0
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
a7f40e0
make %{?_smp_mflags}
a7f40e0
a7f40e0
a7f40e0
%install
a7f40e0
rm -rf $RPM_BUILD_ROOT
a7f40e0
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
a7f40e0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
a7f40e0
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
a7f40e0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
a7f40e0
chmod -R u+w $RPM_BUILD_ROOT/*
a7f40e0
a7f40e0
a7f40e0
%check
a7f40e0
make test
a7f40e0
a7f40e0
a7f40e0
%clean
a7f40e0
rm -rf $RPM_BUILD_ROOT
a7f40e0
a7f40e0
a7f40e0
%files
a7f40e0
%defattr(-,root,root,-)
a7f40e0
%doc
a7f40e0
%{perl_vendorarch}/auto/Compress
a7f40e0
%{perl_vendorarch}/Compress
a7f40e0
%{_mandir}/man3/*.3*
a7f40e0
a7f40e0
a7f40e0
%changelog
85bae9e
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.005-3
85bae9e
- Rebuild for selinux ppc32 issue.
85bae9e
b593120
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2
b593120
- Bump release to beat F-7 version
b593120
9362a10
* Sun Jul 01 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-1
9362a10
- update to 2.005.
9362a10
a7f40e0
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1
a7f40e0
- Initial build from CPAN