%define pkg_name Apache-Filter %define pkg_version 1.024 %define rpm_pkg_version 1.024 %define rpm_pkg_release 2.n0i.8 Summary: Lets handlers filter each others output 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/K/KW/KWILLIAMS/%{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(mod_perl) >= 1.25} %{!?_without_test:BuildRequires: %{_sbindir}/httpd} %description Apache::Filter - Alter the output of previous handlers. In basic operation, each of the handlers Filter1, Filter2, and Filter3 will make a call to $r->filter_input(), which will return a filehandle. For Filter1, the filehandle points to the requested file. For Filter2, the filehandle contains whatever Filter1 wrote to STDOUT. For Filter3, it contains whatever Filter2 wrote to STDOUT. The output of Filter3 goes directly to the browser. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build export APACHE=%{_sbindir}/httpd %{perl_build -- - 1.024-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Thu Oct 06 2005 Marius Feraru 1.024-1.n0i.7 - version 1.024 * Thu Jul 28 2005 Marius Feraru 1.023-1.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.022-2.n0i.5 - automatic rebuild (perl 5.8.6) * Mon Dec 06 2004 Marius Feraru 0:1.022-1.n0i.4 - automatic rebuild (perl 5.8.6) * Thu May 06 2004 Marius Feraru 0:1.022-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Thu Jan 29 2004 Marius FERARU 0:1.022-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Mon Nov 03 2003 Marius FERARU 0:1.022-0.n0i.1 - version 1.022 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001