%define pkg_name Apache-GzipChain %define pkg_version 1.14 %define rpm_pkg_version 1.14 %define rpm_pkg_release 3.n0i.3 Summary: Compress files on the fly Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/A/AN/ANDK/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(Apache::OutputChain) >= 0.04 %description This module compresses any output from another perl handler if the browser requesting the document understands gzip encoding or if the config variable ForceGzip is set. To determine if the browser is able to understand us we check its *Accept-Encoding* header. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc ChangeLog README %changelog * Thu Jun 14 2007 Marius Feraru - 1.14-3.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 * Sun Feb 01 2004 Marius FERARU 0:1.14-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Sun Jun 29 2003 Marius FERARU 1.14-0.n0i - Initial build.