%define realname Catalyst-Plugin-Compress-Zlib %define version 0.03 %define release %mkrel 3 Name: perl-%{realname} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: Gzip response Source: http://www.cpan.org/modules/by-module/Catalyst/%{realname}-%{version}.tar.gz Url: http://search.cpan.org/dist/%{realname} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildRequires: perl(Catalyst::Runtime) BuildRequires: perl(Compress::Zlib) BuildArch: noarch %description Gzip compress response if client supports it. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc META.yml README Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.03-3mdv2009.0 + Revision: 268392 - rebuild early 2009.0 package (before pixel changes) * Mon May 05 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.03-2mdv2009.0 + Revision: 201214 - fix extra space at top of description * Thu May 01 2008 Olivier Thauvin <nanardon@mandriva.org> 0.03-1mdv2009.0 + Revision: 199785 - import perl-Catalyst-Plugin-Compress-Zlib