3 %bcond_without tests # do not perform "make test"
7 Summary: File::Cache - share data between processes via filesystem
8 Summary(pl.UTF-8): File::Cache - uwspólnianie danych pomiędzy procesami poprzez system plików
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 712371ae4ee88de11072d1616ae0af72
16 URL: http://search.cpan.org/dist/File-Cache/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 File::Cache implements an object store where data is persisted across
24 processes in the filesystem. It was written to compliment IPC::Cache.
26 Where IPC::Cache is faster for small numbers of simple objects,
27 File::Cache tends toward being more performant when caching large
28 numbers of complex objects.
30 %description -l pl.UTF-8
31 File::Cache implementuje obiekt przechowujący dane, które są
32 zachowywane na czas działań w systemie plików. Został napisany jako
33 odpowiednik IPC::Cache.
35 O ile IPC::Cache jest szybszy dla małych ilości prostych obiektów,
36 File::Cache próbuje być bardziej wydajny przy cachowaniu większych
37 ilości złożonych obiektów.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc README TODO CHANGES
61 %{perl_vendorlib}/File/Cache.pm