]> git.pld-linux.org Git - packages/perl-Tie-IxHash.git/blame - perl-Tie-IxHash.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Tie-IxHash.git] / perl-Tie-IxHash.spec
CommitLineData
12b243f8 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
a282aa7c 5%define pdir Tie
6%define pnam IxHash
2b144f19 7Summary: Tie::IxHash - ordered associative arrays for Perl
8904db97 8Summary(pl.UTF-8): Tie::IxHash - uporządkowane tablice asocjacyjne dla Perla
74099a18 9Name: perl-Tie-IxHash
55306686 10Version: 1.23
8904db97 11Release: 1
12b243f8 12# same as perl
13License: GPL v1+ or Artistic
74099a18 14Group: Development/Languages/Perl
8904db97 15Source0: http://www.cpan.org/modules/by-authors/id/C/CH/CHORNY/%{pdir}-%{pnam}-%{version}.tar.gz
55306686 16# Source0-md5: 8393f2ced231533c3e714abad582f291
8904db97 17URL: http://search.cpan.org/dist/Tie-IxHash/
483eb789 18BuildRequires: perl-devel >= 1:5.8.0
5e09ed35 19BuildRequires: rpm-perlprov >= 4.1-13
2f4be33e 20BuildArch: noarch
fcc9fe51 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
74099a18 22
23%description
d4d2ba5c
JB
24This Perl module implements Perl hashes that preserve the order in
25which the hash elements were added. The order is not affected when
26values corresponding to existing keys in the IxHash are changed. The
27elements can also be set to any arbitrary supplied order. The familiar
28perl array operations can also be performed on the IxHash.
29
cda9986b
JR
30%description -l pl.UTF-8
31Ten moduł Perla jest implementacją haszy, które zachowują kolejność, w
32jakiej elementy były dodawane. Kolejność nie ulega zmianie kiedy
33modyfikowane są wartości odpowiadające istniejącym kluczom w obiekcie
34IxHash. Elementy mogą być także ustawiane w zadanej kolejności. Znane
35operacje na tablicach perlowych mogą być także wykonywane na typie
d4d2ba5c 36IxHash.
74099a18 37
38%prep
fc4799c9 39%setup -q -n %{pdir}-%{pnam}-%{version}
74099a18 40
41%build
5e09ed35 42%{__perl} Makefile.PL \
4740fc3d 43 INSTALLDIRS=vendor
75a5af66 44%{__make}
74099a18 45
12b243f8 46%{?with_tests:%{__make} test}
47
74099a18 48%install
49rm -rf $RPM_BUILD_ROOT
74099a18 50
12b243f8 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
74099a18 53
74099a18 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
d4d2ba5c 59%doc Changes README
5e09ed35 60%{perl_vendorlib}/Tie/IxHash.pm
8904db97 61%{_mandir}/man3/Tie::IxHash.3pm*
This page took 0.087935 seconds and 5 git commands to generate.