3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Cache::Cache - a generic interface for creating persistent data stores
9 Summary(pl): Cache::Cache - ogólny interfejs do trwa³ego przechowywania danych
10 Name: perl-Cache-Cache
13 License: GPL or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 9dfff47f2317a59a15546a972b2a67ba
17 URL: http://perl-cache.sourceforge.net/
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: perl-Digest-SHA1 >= 2.01
21 BuildRequires: perl-Error >= 0.15
22 BuildRequires: perl(File::Spec) >= 0.82
23 BuildRequires: perl-IPC-ShareLite >= 0.08
24 BuildRequires: perl-Storable >= 1.014
26 BuildRequires: rpm-perlprov >= 4.1-13
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The Cache modules are designed to assist a developer in persisting
32 data for a specified period of time. Often these modules are used
33 in web applications to store data locally to save repeated and
34 redundant expensive calls to remote machines or databases. People
35 have also been known to use Cache::Cache for its straightforward
36 interface in sharing data between runs of an application or
37 invocations of a CGI-style script or simply as an easy to use
38 abstraction of the filesystem or shared memory.
41 Modu³y Cache maj± na celu pomóc programi¶cie w utrzymywaniu danych
42 przez okre¶lony czas. Te modu³y s± przewa¿nie u¿ywane w aplikacjach
43 WWW do zapisywania danych lokalnie w celu unikniêcia powtarzaj±cych
44 siê i niepotrzebnych odwo³añ do zewnêtrznych maszyn lub baz danych.
45 Cache::Cache bywa u¿ywany ze wzglêdu na swój prosty interfejs do
46 dzielenia danych pomiêdzy uruchomieniami aplikacji lub wywo³aniami
47 skryptu CGI, albo po prostu jako ³atwa w u¿yciu abstrakcja systemu
48 plików lub pamiêci dzielonej.
51 %setup -q -n %{pdir}-%{pnam}-%{version}
54 %{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"Cache::Cache")' \
58 %{?with_tests:%{__make} test}
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc CHANGES COPYING CREDITS DISCLAIMER README STYLE
72 %{perl_vendorlib}/Cache/*.pm