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