]> git.pld-linux.org Git - packages/php-pear-Cache.git/blob - php-pear-Cache.spec
- fixed english information about status of the package
[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
6 Summary:        %{_pearname} - Framework for caching of arbitrary data
7 Summary(pl):    %{_pearname} - Klasa do buforowania danych
8 Name:           php-pear-%{_pearname}
9 Version:        1.5.4
10 Release:        1
11 License:        PHP 2.02
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
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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
24 between applications.
25
26 In PEAR status of this package is: %{_status}.
27
28 %description -l pl
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
31 aplikacjami.
32
33 Ta klasa ma w PEAR status: %{_status}.
34
35 %prep
36 %setup -q -c
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
41
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
45
46 rm $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_class}.php
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %dir %{php_pear_dir}/%{_class}
54 %{php_pear_dir}/*.php
55 %{php_pear_dir}/%{_class}/*.php
56 %{php_pear_dir}/%{_class}/Container
This page took 0.040536 seconds and 4 git commands to generate.