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