1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: %{_pearname} - Framework for caching of arbitrary data
7 Summary(pl.UTF-8): %{_pearname} - Klasa do buforowania danych
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: b3d5cd9953ce666884246a1942fe0f1e
15 URL: http://pear.php.net/package/Cache/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php-pear >= 4:1.0-21
20 Requires: php-pear-HTTP_Request
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 With the PEAR Cache you can cache the result of certain function
26 calls, as well as the output of a whole script run or share data
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 Używając klasy PEAR Cache można buforować rezultaty wywołań funkcji, a
33 także wyniki wyjścia całych skryptów oraz danych dzielonych pomiędzy
36 Ta klasa ma w PEAR status: %{_status}.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/%{_class}/*.php
55 %{php_pear_dir}/%{_class}/Container
57 %{php_pear_dir}/data/%{_class}