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