]> git.pld-linux.org Git - packages/perl-Heap.git/blob - perl-Heap.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Heap.git] / perl-Heap.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 Summary:        Heap - Perl extensions for keeping data partially sorted
6 Summary(pl.UTF-8):      Heap - rozszerzenie Perla do przechowywania danych częściowo posortowanych
7 Name:           perl-Heap
8 Version:        0.80
9 Release:        1
10 # same as perl
11 License:        GPL v1+ or Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/Heap/Heap-%{version}.tar.gz
14 # Source0-md5:  05fed19a7552dadee11c780cd68c0116
15 URL:            http://search.cpan.org/dist/Heap/
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Heap module is a collection of routines for managing a heap data
23 structure.
24
25 The Heap collection of modules provide routines that manage a heap of
26 elements.  A heap is a partially sorted structure that is always able
27 to easily extract the smallest of the elements in the structure (or
28 the largest if a reversed compare routine is provided).
29
30 %description -l pl.UTF-8
31 Zestaw modułów Heap to udostępnia procedury do zarządzania strukturą
32 danych sterty. Sterta to częściowo posortowana struktura danych, która
33 umożliwia łatwe znalezienie elementu najmniejszego (lub największego w
34 przypadku podania odwrotnej funkcji porównującej).
35
36 %prep
37 %setup -q -n Heap-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes README
57 %{perl_vendorlib}/Heap.pm
58 %{perl_vendorlib}/Heap
59 # empty autosplit.ix files
60 #%%{perl_vendorlib}/auto/Heap
61 %{_mandir}/man3/*
This page took 0.097846 seconds and 4 git commands to generate.