commit 0ddecfed84864bdf2d822cf0e6944807f985f326
Author: Nicolas Chauvet <[email protected]>
Date: Wed May 14 01:13:03 2008 +0000
Initial import for devel
.gitignore | 1 +
perl-HTTP-Cache-Transparent.spec | 66 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7568f55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+HTTP-Cache-Transparent-1.0.tar.gz
diff --git a/perl-HTTP-Cache-Transparent.spec b/perl-HTTP-Cache-Transparent.spec
new file mode 100644
index 0000000..4fbfda1
--- /dev/null
+++ b/perl-HTTP-Cache-Transparent.spec
@@ -0,0 +1,66 @@
+Name: perl-HTTP-Cache-Transparent
+Version: 1.0
+Release: 2%{?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
+* 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
+
diff --git a/sources b/sources
index e69de29..e9380f9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e198345ce8eee2562c807e84d65e3b4f HTTP-Cache-Transparent-1.0.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel