]> git.pld-linux.org Git - packages/php-pear-Cache.git/blob - php-pear-Cache.spec
- 1.5.3 - new MDB container - not for Ra
[packages/php-pear-Cache.git] / php-pear-Cache.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Cache
3 %define         _status         stable
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}
8 Version:        1.5.3
9 Release:        1
10 License:        PHP 2.02
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
15 Requires:       php-pear
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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
22 between applications.
23
24 This class has in PEAR status: %{_status}.
25
26 %description -l pl
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
29 aplikacjami.
30
31 Ta klasa ma w PEAR status: %{_status}.
32
33 %prep
34 %setup -q -c
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
39
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
43
44 rm $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_class}.php
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %dir %{php_pear_dir}/%{_class}
52 %dir %{php_pear_dir}/%{_class}/Container
53 %{php_pear_dir}/*.php
54 %{php_pear_dir}/%{_class}/*.php
55 %{php_pear_dir}/%{_class}/Container/*.php
This page took 0.065661 seconds and 4 git commands to generate.