]> git.pld-linux.org Git - packages/perl-File-Cache.git/blame - perl-File-Cache.spec
use generic url
[packages/perl-File-Cache.git] / perl-File-Cache.spec
CommitLineData
33e003c0 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
8e0e468d 4
f788c8c2 5%define pdir File
6%define pnam Cache
8e0e468d 7%include /usr/lib/rpm/macros.perl
9d3d339f 8Summary: File::Cache - share data between processes via filesystem
fa5f673a 9Summary(pl.UTF-8): File::Cache - uwspólnianie danych pomiędzy procesami poprzez system plików
325fe8ff
JR
10Name: perl-File-Cache
11Version: 0.16
6598b6e9 12Release: 9
9d3d339f 13License: GPL v1+
325fe8ff 14Group: Development/Languages/Perl
9323ac02 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
7b4ad892 16# Source0-md5: 712371ae4ee88de11072d1616ae0af72
8e0e468d 17URL: http://search.cpan.org/dist/File-Cache/
b798e971 18BuildRequires: perl-devel >= 1:5.8.0
8e0e468d 19BuildRequires: rpm-perlprov >= 4.1-13
c10c29e7 20BuildArch: noarch
325fe8ff
JR
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
1d2ec82e 24File::Cache implements an object store where data is persisted across
25processes in the filesystem. It was written to compliment IPC::Cache.
325fe8ff
JR
26
27Where IPC::Cache is faster for small numbers of simple objects,
28File::Cache tends toward being more performant when caching large
29numbers of complex objects.
30
952c7cd5
JR
31%description -l pl.UTF-8
32File::Cache implementuje obiekt przechowujący dane, które są
33zachowywane na czas działań w systemie plików. Został napisany jako
61d2adf4
JB
34odpowiednik IPC::Cache.
35
952c7cd5
JR
36O ile IPC::Cache jest szybszy dla małych ilości prostych obiektów,
37File::Cache próbuje być bardziej wydajny przy cachowaniu większych
38ilości złożonych obiektów.
61d2adf4 39
325fe8ff 40%prep
c5505d25 41%setup -q -n %{pdir}-%{pnam}-%{version}
325fe8ff
JR
42
43%build
fe3c0624 44%{__perl} Makefile.PL \
d2502ca0 45 INSTALLDIRS=vendor
325fe8ff
JR
46%{__make}
47
33e003c0 48%{?with_tests:%{__make} test}
49
325fe8ff
JR
50%install
51rm -rf $RPM_BUILD_ROOT
52
33e003c0 53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
325fe8ff 55
325fe8ff
JR
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
d7e4f203 61%doc README TODO CHANGES
fe3c0624 62%{perl_vendorlib}/File/Cache.pm
This page took 0.095442 seconds and 4 git commands to generate.