1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: %{_pearname} - Framework for caching of arbitrary data
7 Summary(pl): %{_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: 1a7698fcfdf9ab63e56bbbff0c76a13d
15 URL: http://pear.php.net/package/Cache/
16 BuildRequires: rpm-php-pearprov >= 4.0.2-98
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 With the PEAR Cache you can cache the result of certain function
23 calls, as well as the output of a whole script run or share data
26 In PEAR status of this package is: %{_status}.
29 U¿ywaj±c klasy PEAR Cache mo¿na buforowaæ rezultaty wywo³añ funkcji, a
30 tak¿e wyniki wyj¶cia ca³ych skryptów oraz danych dzielonych pomiêdzy
33 Ta klasa ma w PEAR status: %{_status}.
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
42 install %{_pearname}-%{version}/%{_class}.php $RPM_BUILD_ROOT%{php_pear_dir}/
43 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
44 install %{_pearname}-%{version}/Container/* $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
46 rm $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_class}.php
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %dir %{php_pear_dir}/%{_class}
55 %{php_pear_dir}/%{_class}/*.php
56 %{php_pear_dir}/%{_class}/Container