%define pkg_name Apache-Dynagzip %define pkg_version 0.16 %define rpm_pkg_version 0.16 %define rpm_pkg_release 3.n0i.9 Summary: Dynamic gzip compression of outbound stream 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/S/SL/SLAVA/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Apache::Constants)} %{!?_without_test:BuildRequires: perl(Apache::File)} %{!?_without_test:BuildRequires: perl(Apache::Log)} %{!?_without_test:BuildRequires: perl(Apache::URI)} %{!?_without_test:BuildRequires: perl(Apache::Util)} %{!?_without_test:BuildRequires: perl(Compress::LeadingBlankSpaces)} %{!?_without_test:BuildRequires: perl(Compress::Zlib) >= 1.16} %{!?_without_test:BuildRequires: perl(Fcntl)} %{!?_without_test:BuildRequires: perl(FileHandle)} %description The main pupose of this package is to serve the "content generation phase" within the mod_perl enabled "Apache 1.3.X", providing the dynamic on the fly compression of web content. It is done with the use of "zlib" library via the "Compress::Zlib" perl interface to serve both "HTTP/1.0" and "HTTP/1.1" requests from those clients/browsers, who understands "gzip" format and can decompress this type of data on the fly. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %{fix_man} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README TODO %changelog * Tue May 22 2007 Marius Feraru - 0.16-3.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Thu Jul 28 2005 Marius Feraru 0.16-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.16-1.n0i.7 - automatic rebuild (perl 5.8.6) * Mon Dec 06 2004 Marius Feraru 0:0.16-1.n0i.6 - version 0.16 * Fri Apr 30 2004 Marius Feraru 0:0.13-1.n0i.5 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:0.13-1.n0i.4 - automatic rebuild * Wed Apr 07 2004 Marius Feraru 0:0.13-1.n0i.3 - version 0.13 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Sun Feb 01 2004 Marius FERARU 0:0.11-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Wed Jul 30 2003 Marius FERARU 0.11-0.n0i - version 0.11