]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/blame - perl-Cache-Cache.spec
- converted to UTF-8
[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
ee0f6ff0 9Summary(pl.UTF-8): Cache::Cache - ogólny interfejs do trwałego przechowywania danych
5ee564eb 10Name: perl-Cache-Cache
ea23f5c2 11Version: 1.05
9717e8d4 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
ea23f5c2 16# Source0-md5: 09e4d37979c8f8ce2518e1d1ccd10d99
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
7e62662a 23BuildRequires: perl-IPC-ShareLite >= 0.08
a42ee4f4 24%endif
4512e11c 25BuildRequires: rpm-perlprov >= 4.1-13
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
ee0f6ff0
JR
39%description -l pl.UTF-8
40Moduły Cache mają na celu pomóc programiście w utrzymywaniu danych
41przez określony czas. Te moduły są przeważnie używane w aplikacjach
42WWW do zapisywania danych lokalnie w celu uniknięcia powtarzających
43się i niepotrzebnych odwołań do zewnętrznych maszyn lub baz danych.
44Cache::Cache bywa używany ze względu na swój prosty interfejs do
45dzielenia danych pomiędzy uruchomieniami aplikacji lub wywołaniami
46skryptu CGI, albo po prostu jako łatwa w użyciu abstrakcja systemu
47plików lub pamięci dzielonej.
2c2bf8c6 48
5ee564eb 49%prep
50%setup -q -n %{pdir}-%{pnam}-%{version}
51
52%build
4512e11c 53%{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"Cache::Cache")' \
54 INSTALLDIRS=vendor
5ee564eb 55%{__make}
a42ee4f4 56
0d182d44 57%{?with_tests:%{__make} test}
5ee564eb 58
59%install
60rm -rf $RPM_BUILD_ROOT
61
13812628 62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
5ee564eb 64
5ee564eb 65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
a42ee4f4 70%doc CHANGES COPYING CREDITS DISCLAIMER README STYLE
4512e11c 71%{perl_vendorlib}/Cache/*.pm
5ee564eb 72%{_mandir}/man3/*
This page took 0.106471 seconds and 4 git commands to generate.