]> git.pld-linux.org Git - packages/perl-Tie-LLHash.git/blame - perl-Tie-LLHash.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Tie-LLHash.git] / perl-Tie-LLHash.spec
CommitLineData
b95a4d46 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
110d86f6 4
ba10f911 5%define pdir Tie
6%define pnam LLHash
05134e2f 7Summary: Tie::LLHash Perl module - ordered hashes
11ca1a6f 8Summary(pl.UTF-8): Moduł Perla Tie::LLHash - uporządkowane hasze
97d1b3bd 9Name: perl-Tie-LLHash
c8fae558 10Version: 1.003
1b5bed56 11Release: 2
b95a4d46 12# same as perl
13License: GPL v1+ or Artistic
97d1b3bd 14Group: Development/Languages/Perl
bfc3e590 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c8fae558 16# Source0-md5: b5890351e3e4a1eab89267d9aa410147
110d86f6 17URL: http://search.cpan.org/dist/Tie-LLHash/
1af3d3fa 18BuildRequires: perl-devel >= 1:5.8.0
ed90d6f7 19BuildRequires: rpm-perlprov >= 4.1-13
8b8fbeea 20BuildArch: noarch
b62a95a4 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
97d1b3bd 22
23%description
05134e2f
JB
24This class implements an ordered hash-like object. It's a cross
25between a Perl hash and a linked list. Use it whenever you want the
26speed and structure of a Perl hash, but the orderedness of a list.
27
b21777e3
JR
28%description -l pl.UTF-8
29Ta klasa jest implementacją obiektu podobnego do hasza. Jest on
30skrzyżowaniem pomiędzy perlowym haszem a listą. Przydaje się kiedy
31potrzeba szybkości i struktury perlowych haszy, ale uporządkowania
05134e2f 32listy.
97d1b3bd 33
34%prep
baf46a35 35%setup -q -n %{pdir}-%{pnam}-%{version}
97d1b3bd 36
37%build
ed90d6f7 38%{__perl} Makefile.PL \
d4726ad7 39 INSTALLDIRS=vendor
329581bb 40%{__make}
97d1b3bd 41
b95a4d46 42%{?with_tests:%{__make} test}
43
97d1b3bd 44%install
45rm -rf $RPM_BUILD_ROOT
97d1b3bd 46
b95a4d46 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
97d1b3bd 49
97d1b3bd 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
05134e2f 55%doc Changes README
ed90d6f7 56%{perl_vendorlib}/Tie/LLHash.pm
97d1b3bd 57%{_mandir}/man3/*
This page took 0.075464 seconds and 4 git commands to generate.