jplesnik pushed to perl-Cache-LRU (f23). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Nov 2 16:15:14 UTC 2015


From 3401c1007952d390c7c76dbdfa4f611d839273d0 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Mon, 2 Nov 2015 17:08:38 +0100
Subject: Initial import

---
 .gitignore          |  1 +
 perl-Cache-LRU.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |  1 +
 3 files changed, 56 insertions(+)
 create mode 100644 perl-Cache-LRU.spec

diff --git a/.gitignore b/.gitignore
index e69de29..4c28d64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Cache-LRU-0.04.tar.gz
diff --git a/perl-Cache-LRU.spec b/perl-Cache-LRU.spec
new file mode 100644
index 0000000..1e76905
--- /dev/null
+++ b/perl-Cache-LRU.spec
@@ -0,0 +1,54 @@
+Name:           perl-Cache-LRU
+Version:        0.04
+Release:        1%{?dist}
+Summary:        Simple, fast implementation of LRU cache in pure Perl
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Cache-LRU/
+Source0:        http://www.cpan.org/authors/id/K/KA/KAZUHO/Cache-LRU-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::ReadmeFromPod)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(warnings)
+BuildRequires:  sed
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Cache::LRU is a simple, fast implementation of an in-memory LRU cache in
+pure Perl.
+
+%prep
+%setup -q -n Cache-LRU-%{version}
+rm -r inc
+sed -i -e '/^inc\// d' MANIFEST
+find -type f -exec chmod -x {} +
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Nov 02 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e9f0239 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e7b3768fdae203bec7a9bd9b8a6b7a90  Cache-LRU-0.04.tar.gz
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-Cache-LRU.git/commit/?h=f23&id=3401c1007952d390c7c76dbdfa4f611d839273d0


More information about the perl-devel mailing list