]> git.pld-linux.org Git - packages/php-pear-Cache_Lite.git/blob - php-pear-Cache_Lite.spec
13f22389f75cf7ed37d8b6d522f31cd2cdc54062
[packages/php-pear-Cache_Lite.git] / php-pear-Cache_Lite.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Cache
3 %define         _subclass       Lite
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - Fast and Safe little cache system
8 Summary(pl):    %{_pearname} - Szybki i bezpieczny system buforuj±cy
9 Name:           php-pear-%{_pearname}
10 Version:        1.7.0
11 Release:        1
12 License:        LGPL
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  2f501a1e248f3751ff7e182260580e25
16 URL:            http://pear.php.net/package/Cache_Lite/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 Requires:       php-pear
20 Requires:       php-pear-PEAR-core
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This package is a little cache system optimized for file containers.
26 It is fast and safe (because it uses file locking and/or
27 anti-corruption tests).
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl
32 Ten pakiet zawiera ma³y system buforuj±cy zoptymalizowany dla
33 kontenerów plików. Jest szybki i bezpieczny (poniewa¿ u¿ywa blokowania
34 plików i/lub testów anti-corruption).
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %package tests
39 Summary:        Tests for PEAR::%{_pearname}
40 Summary(pl):    Testy dla PEAR::%{_pearname}
41 Group:          Development/Languages/PHP
42 Requires:       %{name} = %{version}-%{release}
43 AutoReq:        no
44
45 %description tests
46 Tests for PEAR::%{_pearname}.
47
48 %description tests -l pl
49 Testy dla PEAR::%{_pearname}.
50
51 %prep
52 %pear_package_setup
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 %pear_package_install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %doc docs/%{_pearname}/{docs/*,TODO}
66 %{php_pear_dir}/.registry/*.reg
67 %dir %{php_pear_dir}/%{_class}/%{_subclass}
68 %{php_pear_dir}/%{_class}/*.php
69 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
70
71 %files tests
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/*
This page took 0.059383 seconds and 2 git commands to generate.