]>
Commit | Line | Data |
---|---|---|
ba5ab7fb | 1 | # |
2 | # Conditional build: | |
88a1c1da AG |
3 | %bcond_without tests # don't perform "make test" |
4 | # | |
ba5ab7fb | 5 | %include /usr/lib/rpm/macros.perl |
6 | %define pdir Algorithm | |
7 | %define pnam Huffman | |
77274950 | 8 | Summary: Algorithm::Huffman - implementation of the Huffman algorithm |
9 | Summary(pl): Algorithm::Huffman - implementacja algorytmu Huffmana | |
ba5ab7fb | 10 | Name: perl-Algorithm-Huffman |
1ae46610 | 11 | Version: 0.09 |
2a8a7f7d | 12 | Release: 2 |
ba5ab7fb | 13 | License: GPL/Artistic |
14 | Group: Development/Languages/Perl | |
866e6d14 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
18f8b316 | 16 | # Source0-md5: dd5c0360357dcb0807e9ac2e49b2e746 |
8da9d036 | 17 | BuildRequires: perl-devel >= 5.6 |
88a1c1da | 18 | %if %{with tests} |
ba5ab7fb | 19 | BuildRequires: perl-Heap |
20 | BuildRequires: perl-Scalar-List-Utils | |
21 | BuildRequires: perl-String-Random | |
22 | BuildRequires: perl-Test-Exception | |
23 | BuildRequires: perl-Test-ManyParams | |
24 | BuildRequires: perl-Test-Simple | |
25 | BuildRequires: perl-Tree-DAG_Node | |
26 | %endif | |
2a8a7f7d | 27 | BuildRequires: rpm-perlprov >= 4.1-13 |
ba5ab7fb | 28 | BuildArch: noarch |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | This modules implements the huffman algorithm. The aim is to create | |
33 | a good coding scheme for a given list of different characters (or even | |
34 | strings) and their occurence numbers. | |
35 | ||
399ba7aa JB |
36 | %description -l pl |
37 |