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