]> git.pld-linux.org Git - packages/php-pecl-huffman.git/blame - php-pecl-huffman.spec
- use new php extension related macros
[packages/php-pecl-huffman.git] / php-pecl-huffman.spec
CommitLineData
564a099a 1%define _modname huffman
e3123b15 2%define _status stable
564a099a
AG
3Summary: %{_modname} - lossless compression algorithm
4Summary(pl): %{_modname} - bezstratny algorytm kompresji
5Name: php-pecl-%{_modname}
e3123b15 6Version: 0.2.0
3108164a 7Release: 6
ad3600ac 8License: PHP
564a099a
AG
9Group: Development/Languages/PHP
10Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
e3123b15 11# Source0-md5: e920b06610fb3b6ad1d79dc910962dc3
564a099a 12URL: http://pecl.php.net/package/huffman/
564a099a 13BuildRequires: php-devel >= 3:5.0.0
85da1a56 14BuildRequires: rpmbuild(macros) >= 1.344
1f203dab 15%{?requires_php_extension}
85da1a56 16Requires: php-common >= 4:5.0.4
564a099a
AG
17Obsoletes: php-pear-%{_modname}
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
564a099a
AG
20%description
21Huffman compression belongs into a family of algorithms with a
22variable codeword length. That means that individual symbols
23(characters in a text file for instance) are replaced by bit sequences
24that have a distinct length. So symbols that occur a lot in a file are
25given a short sequence while other that are used seldom get a longer
26bit sequence.
27
28In PECL status of this extension is: %{_status}.
29
ad3600ac 30%description -l pl
476665be
JB
31