]>
Commit | Line | Data |
---|---|---|
121588a3 | 1 | %define _status stable |
f4f31be2 ER |
2 | %define _pearname Cache_Lite |
3 | %include /usr/lib/rpm/macros.php | |
d4b23f01 | 4 | Summary: %{_pearname} - Fast and Safe little cache system |
cdc38b7b | 5 | Summary(pl.UTF-8): %{_pearname} - Szybki i bezpieczny system buforujący |
809e301a | 6 | Name: php-pear-%{_pearname} |
38c98199 | 7 | Version: 1.8.2 |
f4f31be2 | 8 | Release: 1 |
85723749 | 9 | License: LGPL |
809e301a PG |
10 | Group: Development/Languages/PHP |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
38c98199 | 12 | # Source0-md5: 5a3bb30b288ec396e26cf041b5389923 |
2c2d8b21 | 13 | URL: http://pear.php.net/package/Cache_Lite/ |
8848a903 | 14 | BuildRequires: php-pear-PEAR >= 1:1.5.4 |
6a5a3d4c | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
3a4c4aa1 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
7b034c27 | 17 | Requires: php-pear >= 4:1.0-21 |
af076083 | 18 | Requires: php-pear-PEAR-core |
a7f3a7b3 | 19 | Obsoletes: php-pear-Cache_Lite-tests |
809e301a PG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This package is a little cache system optimized for file containers. | |
25 | It is fast and safe (because it uses file locking and/or | |
26 | anti-corruption tests). | |
27 | ||
8bd4bda0 | 28 | In PEAR status of this package is: %{_status}. |
121588a3 | 29 | |
28a14517 JR |
30 | %description -l pl.UTF-8 |
31 | Ten pakiet zawiera mały system buforujący zoptymalizowany dla | |
32 | kontenerów plików. Jest szybki i bezpieczny (ponieważ używa blokowania | |
33 | plików i/lub testów anti-corruption). | |
809e301a | 34 | |
121588a3 PG |
35 | Ta klasa ma w PEAR status: %{_status}. |
36 | ||
809e301a | 37 | %prep |
1492c28b | 38 | %pear_package_setup |
809e301a PG |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
1492c28b ER |
42 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
43 | %pear_package_install | |
809e301a PG |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
1492c28b ER |
50 | %doc install.log |
51 | %doc docs/%{_pearname}/{docs/*,TODO} | |
52 | %{php_pear_dir}/.registry/*.reg | |
f4f31be2 ER |
53 | %dir %{php_pear_dir}/Cache/Lite |
54 | %{php_pear_dir}/Cache/*.php | |
55 | %{php_pear_dir}/Cache/Lite/*.php |