]>
Commit | Line | Data |
---|---|---|
05fc2c25 | 1 | %define _status beta |
71ef064b | 2 | %define _pearname Text_Huffman |
05fc2c25 | 3 | Summary: %{_pearname} - lossless compression algorithm |
97c4f45e | 4 | Summary(pl.UTF-8): %{_pearname} - bezstratny algorytm kompresji |
05fc2c25 AG |
5 | Name: php-pear-%{_pearname} |
6 | Version: 0.2.0 | |
71ef064b | 7 | Release: 7 |
05fc2c25 AG |
8 | License: LGPL |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
11 | # Source0-md5: 6a9030e04735db05f7cacf6b14d0254b | |
12 | URL: http://pear.php.net/package/Text_Huffman/ | |
b28a6a80 | 13 | BuildRequires: php-pear-PEAR |
f723e974 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
0604b1a3 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
71ef064b | 16 | Requires: php(core) >= 5.0.0-0.RC1 |
e900d716 | 17 | Requires: php-pear >= 3:5.0.0 |
03516bd3 | 18 | Obsoletes: php-pear-Text_Huffman-tests |
05fc2c25 AG |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Huffman compression is a lossless compression algorithm that is ideal | |
24 | for compressing textual data. | |
25 | ||
26 | In PEAR status of this package is: %{_status}. | |
27 | ||
b046b243 | 28 | %description -l pl.UTF-8 |
b136da81 | 29 | Kompresja Huffmana to bezstratny algorytm kompresji idealny do |
05fc2c25 AG |
30 | kompresji danych tekstowych. |
31 | ||
32 | Ta klasa ma w PEAR status: %{_status}. | |
33 | ||
34 | %prep | |
f723e974 | 35 | %pear_package_setup |
05fc2c25 AG |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
f723e974 ER |
39 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
40 | %pear_package_install | |
05fc2c25 AG |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
f723e974 ER |
47 | %doc install.log |
48 | %{php_pear_dir}/.registry/*.reg | |
71ef064b | 49 | %{php_pear_dir}/Text/*.php |