1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
5 Summary: %{_pearname} - Framework for caching of arbitrary data
6 Summary(pl): %{_pearname} - Klasa do buforowania danych
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 URL: http://pear.php.net/
14 BuildRequires: rpm-php-pearprov >= 4.0.2-98
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 With the PEAR Cache you can cache the result of certain function
21 calls, as well as the output of a whole script run or share data
24 This class has in PEAR status: %{_status}.
27 U¿ywaj±c klasy PEAR Cache mo¿na buforowaæ rezultaty wywo³añ funkcji, a
28 tak¿e wyniki wyj¶cia ca³ych skryptów oraz danych dzielonych pomiêdzy
31 Ta klasa ma w PEAR status: %{_status}.
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
40 install %{_pearname}-%{version}/%{_class}.php $RPM_BUILD_ROOT%{php_pear_dir}/
41 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
42 install %{_pearname}-%{version}/Container/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
44 rm $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_class}.php
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %dir %{php_pear_dir}/%{_class}
52 %dir %{php_pear_dir}/%{_class}/Container
54 %{php_pear_dir}/%{_class}/*.php
55 %{php_pear_dir}/%{_class}/Container/*.php