]> git.pld-linux.org Git - packages/php-pear-Cache.git/blob - php-pear-Cache.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Cache.git] / php-pear-Cache.spec
1 %define         status          stable
2 %define         pearname        Cache
3 Summary:        %{pearname} - Framework for caching of arbitrary data
4 Summary(pl.UTF-8):      %{pearname} - Klasa do buforowania danych
5 Name:           php-pear-%{pearname}
6 Version:        1.5.7
7 Release:        2
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  f06cf673b186b0c6473c699b0129dbac
12 URL:            http://pear.php.net/package/Cache/
13 BuildRequires:  php-pear-PEAR >= 1:1.7.0
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.580
16 Requires:       php-pear >= 4:1.0-21
17 Requires:       php-pear-PEAR-core >= 1:1.7.0
18 Suggests:       php-pear-HTTP_Request
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 # exclude optional dependencies
23 %define         _noautoreq      pear(HTTP/Request.*)
24
25 %description
26 With the PEAR Cache you can cache the result of certain function
27 calls, as well as the output of a whole script run or share data
28 between applications.
29
30 In PEAR status of this package is: %{status}.
31
32 %description -l pl.UTF-8
33 Używając klasy PEAR Cache można buforować rezultaty wywołań funkcji, a
34 także wyniki wyjścia całych skryptów oraz danych dzielonych pomiędzy
35 aplikacjami.
36
37 Ta klasa ma w PEAR status: %{status}.
38
39 %prep
40 %pear_package_setup
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 %pear_package_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc install.log
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/*.php
55 %{php_pear_dir}/Cache/*.php
56 %{php_pear_dir}/Cache/Container
57 %dir %{php_pear_dir}/Cache/HTTP
58 %{php_pear_dir}/Cache/HTTP/Request.php
59
60 %{php_pear_dir}/data/Cache
This page took 0.092848 seconds and 4 git commands to generate.