]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/blame - perl-Cache-Cache.spec
- updated to 1.06
[packages/perl-Cache-Cache.git] / perl-Cache-Cache.spec
CommitLineData
aaff9331 1#
2# Conditional build:
0d182d44 3%bcond_without tests # do not perform "make test"
aaff9331 4#
5ee564eb 5%include /usr/lib/rpm/macros.perl
d6b7abff 6%define pdir Cache
7%define pnam Cache
adbe64cf 8Summary: Cache::Cache - a generic interface for creating persistent data stores
56efdd91 9Summary(pl.UTF-8): Cache::Cache - ogólny interfejs do trwałego przechowywania danych
5ee564eb 10Name: perl-Cache-Cache
3cb93e47 11Version: 1.06
12Release: 1
adbe64cf 13License: GPL or Artistic
5ee564eb 14Group: Development/Languages/Perl
1639a0df 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3cb93e47 16# Source0-md5: 4425f44ddb138a799290802e5aad46ef
a42ee4f4 17URL: http://perl-cache.sourceforge.net/
c8b9afe5 18BuildRequires: perl-devel >= 1:5.8.0
0d182d44 19%if %{with tests}
7e62662a
JB
20BuildRequires: perl-Digest-SHA1 >= 2.01
21BuildRequires: perl-Error >= 0.15
a42ee4f4 22BuildRequires: perl(File::Spec) >= 0.82
4758d67b 23# optional, broken in 5.10.0
24#BuildRequires: perl-IPC-ShareLite >= 0.08
a42ee4f4 25%endif
4512e11c 26BuildRequires: rpm-perlprov >= 4.1-13
7e62662a 27BuildArch: noarch
5ee564eb 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
4758d67b 30%define _noautoreq 'perl(IPC::ShareLite)'
31
5ee564eb 32%description
33The Cache modules are designed to assist a developer in persisting
2c2bf8c6 34data for a specified period of time. Often these modules are used
5ee564eb 35in web applications to store data locally to save repeated and
2c2bf8c6 36redundant expensive calls to remote machines or databases. People
5ee564eb 37have also been known to use Cache::Cache for its straightforward
38interface in sharing data between runs of an application or
39invocations of a CGI-style script or simply as an easy to use
40abstraction of the filesystem or shared memory.
41
ee0f6ff0
JR
42%description -l pl.UTF-8
43Moduły Cache mają na celu pomóc programiście w utrzymywaniu danych
44przez określony czas. Te moduły są przeważnie używane w aplikacjach
45WWW do zapisywania danych lokalnie w celu uniknięcia powtarzających
46się i niepotrzebnych odwołań do zewnętrznych maszyn lub baz danych.
47Cache::Cache bywa używany ze względu na swój prosty interfejs do
48dzielenia danych pomiędzy uruchomieniami aplikacji lub wywołaniami
49skryptu CGI, albo po prostu jako łatwa w użyciu abstrakcja systemu
50plików lub pamięci dzielonej.
2c2bf8c6 51
5ee564eb 52%prep
53%setup -q -n %{pdir}-%{pnam}-%{version}
54
55%build
4758d67b 56%{__perl} Makefile.PL \
4512e11c 57 INSTALLDIRS=vendor
5ee564eb 58%{__make}
a42ee4f4 59
0d182d44 60%{?with_tests:%{__make} test}
5ee564eb 61
62%install
63rm -rf $RPM_BUILD_ROOT
64
13812628 65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
5ee564eb 67
5ee564eb 68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
a42ee4f4 73%doc CHANGES COPYING CREDITS DISCLAIMER README STYLE
4512e11c 74%{perl_vendorlib}/Cache/*.pm
5ee564eb 75%{_mandir}/man3/*
This page took 0.844491 seconds and 4 git commands to generate.