]>
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 |
bf39af9b | 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 |
e3cf91a6 | 12 | Release: 3 |
a9a6b279 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
ba5ab7fb | 15 | Group: Development/Languages/Perl |
866e6d14 | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
18f8b316 | 17 | # Source0-md5: dd5c0360357dcb0807e9ac2e49b2e746 |
fae2a71e | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
88a1c1da | 19 | %if %{with tests} |
ba5ab7fb | 20 | BuildRequires: perl-Heap |
21 | BuildRequires: perl-Scalar-List-Utils | |
22 | BuildRequires: perl-String-Random | |
23 | BuildRequires: perl-Test-Exception | |
24 | BuildRequires: perl-Test-ManyParams | |
25 | BuildRequires: perl-Test-Simple | |
26 | BuildRequires: perl-Tree-DAG_Node | |
27 | %endif | |
2a8a7f7d | 28 | BuildRequires: rpm-perlprov >= 4.1-13 |
ba5ab7fb | 29 | BuildArch: noarch |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
bf39af9b | 33 | This modules implements the huffman algorithm. The aim is to create |
ba5ab7fb | 34 | a good coding scheme for a given list of different characters (or even |
35 | strings) and their occurence numbers. | |
36 | ||
399ba7aa JB |
37 | %description -l pl |
38 |