%global pkg_name Compress-Raw-Zlib %global pkg_version 2.093 %global rpm_pkg_version 2.093 %global rpm_pkg_release 1.n0i.5 Summary: Low-Level Interface to zlib compression library Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/P/PM/PMQS/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: zlib-devel >= 1.0.5 %description The Compress::Raw::Zlib module provides a Perl interface to the zlib compression library. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build export ZLIB_LIB=%{_libdir} export ZLIB_INCLUDE=%{_includedir} export BUILD_ZLIB=False export OLD_ZLIB=False %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes examples/ README %changelog * Wed Mar 18 2020 Marius Feraru - 2.093-1.n0i.5 - version 2.093 * Tue Nov 13 2007 Marius Feraru - 2.008-1.n0i.4 - version 2.008 - spec update (new reb00t build tools) * Sun Sep 02 2007 Marius Feraru - 2.006-1.n0i.3 - version 2.006 * Wed Aug 01 2007 Marius Feraru - 2.005-1.n0i.2 - version 2.005 * Sun May 27 2007 Marius Feraru - 2.004-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.14.8 - version 2.004