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