]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/blob - perl-Cache-Cache.spec
- applied changes using automat supplied by Radoslaw Zielinski
[packages/perl-Cache-Cache.git] / perl-Cache-Cache.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Cache
3 %define pnam    Cache
4 Summary:        Cache::Cache perl extension
5 Summary(pl):    Rozszerzenie perla: Cache::Cache
6 Name:           perl-Cache-Cache
7 Version:        0.99
8 Release:        1
9 License:        GPL or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6.1
14 BuildRequires:  perl-Digest-MD5
15 BuildRequires:  perl-Error
16 BuildRequires:  perl-modules
17 BuildRequires:  perl-IPC-ShareLite
18 BuildRequires:  perl-Storable
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The Cache modules are designed to assist a developer in persisting
23 data for a specified period of time. Often these modules are used
24 in web applications to store data locally to save repeated and
25 redundant expensive calls to remote machines or databases. People
26 have also been known to use Cache::Cache for its straightforward
27 interface in sharing data between runs of an application or
28 invocations of a CGI-style script or simply as an easy to use
29 abstraction of the filesystem or shared memory.
30
31 %description -l pl
32 Modu³y Cache maj± na celu pomóc programi¶cie w utrzymywaniu danych
33 przez okre¶lony czas. Te modu³y s± przewa¿nie u¿ywane w aplikacjach
34 WWW do zapisywania danych lokalnie w celu unikniêcia powtarzaj±cych
35 siê i niepotrzebnych odwo³añ do zewnêtrznych maszyn lub baz danych.
36 Cache::Cache bywa u¿ywany ze wzglêdu na swój prosty interfejs do
37 dzielenia danych pomiêdzy uruchomieniami aplikacji lub wywo³aniami
38 skryptu CGI, albo po prostu jako ³atwa w u¿yciu abstrakcja systemu
39 plików lub pamiêci dzielonej.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 perl Makefile.PL
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 gzip -9nf CHANGES COPYING CREDITS DISCLAIMER README STYLE TODO
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz
61 %{perl_sitelib}/Cache
62 %{_mandir}/man3/*
This page took 0.044478 seconds and 4 git commands to generate.