Name: perl-HTTP-Cache-Transparent Version: 1.0 Release: 5%{?dist} Summary: Cache the result of http get-requests persistently Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/HTTP-Cache-Transparent/ Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MATTIASH/HTTP-Cache-Transparent-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(LWP::UserAgent) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description HTTP::Cache::Transparent is an implementation of http get that keeps a local cache of fetched pages to avoid fetching the same data from the server if it hasn't been updated. The cache is stored on disk and is thus persistent between invocations. %prep %setup -q -n HTTP-Cache-Transparent-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README Changes %{perl_vendorlib}/HTTP/ %{_mandir}/man3/*.3* %changelog * Sat Jul 25 2009 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon May 12 2008 kwizart < kwizart at gmail.com > - 1.0-2 - Fix directory ownership - Fix License * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 1.0-1 - Initial package for Fedora