]> git.pld-linux.org Git - packages/php-pear-Cache_Lite.git/blob - php-pear-Cache_Lite.spec
- fixed english information about status of the package
[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.3
11 Release:        1
12 License:        LGPL
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  c4adb2713fc819bca5ca4d97dba2e7f8
16 URL:            http://pear.php.net/package/Cache_Lite/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package is a little cache system optimized for file containers.
24 It is fast and safe (because it uses file locking and/or
25 anti-corruption tests).
26
27 In PEAR status of this package is: %{_status}.
28
29 %description -l pl
30 Ten pakiet zawiera ma³y system buforuj±cy zoptymalizowany dla
31 kontenerów plików. Jest szybki i bezpieczny (poniewa¿ u¿ywa blokowania
32 plików i/lub testów anti-corruption).
33
34 Ta klasa ma w PEAR status: %{_status}.
35
36 %prep
37 %setup -q -c
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
42
43 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
44 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc %{_pearname}-%{version}/{tests,docs/*,TODO}
52 %dir %{php_pear_dir}/%{_class}/%{_subclass}
53 %{php_pear_dir}/%{_class}/*.php
54 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.083892 seconds and 4 git commands to generate.