]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/blame - perl-Cache-Cache.spec
- use the __perl macro
[packages/perl-Cache-Cache.git] / perl-Cache-Cache.spec
CommitLineData
aaff9331 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4#
5ee564eb 5%include /usr/lib/rpm/macros.perl
aaff9331 6%define pdir Cache
7%define pnam Cache
8df16bb9 8Summary: Cache::Cache perl extension
9Summary(pl): Rozszerzenie perla: Cache::Cache
5ee564eb 10Name: perl-Cache-Cache
ffe7cd3c 11Version: 1.01
a42ee4f4 12Release: 4
ad998aa4 13License: GPL/Artistic
5ee564eb 14Group: Development/Languages/Perl
1639a0df 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a42ee4f4 16URL: http://perl-cache.sourceforge.net/
5ee564eb 17BuildRequires: perl >= 5.6.1
a42ee4f4 18%if %{?_without_tests:0}%{!?_without_tests:1}
7e62662a
JB
19BuildRequires: perl-Digest-SHA1 >= 2.01
20BuildRequires: perl-Error >= 0.15
a42ee4f4 21BuildRequires: perl(File::Spec) >= 0.82
7e62662a
JB
22BuildRequires: perl-IPC-ShareLite >= 0.08
23BuildRequires: perl-Storable >= 1.014
a42ee4f4 24%endif
b8a758eb 25BuildRequires: rpm-perlprov >= 3.0.3-16
7e62662a 26BuildArch: noarch
5ee564eb 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30The Cache modules are designed to assist a developer in persisting
2c2bf8c6 31data for a specified period of time. Often these modules are used
5ee564eb 32in web applications to store data locally to save repeated and
2c2bf8c6 33redundant expensive calls to remote machines or databases. People
5ee564eb 34have also been known to use Cache::Cache for its straightforward
35interface in sharing data between runs of an application or
36invocations of a CGI-style script or simply as an easy to use
37abstraction of the filesystem or shared memory.
38
2c2bf8c6
JB
39%description -l pl
40