3 %bcond_without tests # do not perform "make test"
7 Summary: Tie::IxHash - ordered associative arrays for Perl
8 Summary(pl.UTF-8): Tie::IxHash - uporządkowane tablice asocjacyjne dla Perla
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/C/CH/CHORNY/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 8393f2ced231533c3e714abad582f291
17 URL: http://search.cpan.org/dist/Tie-IxHash/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This Perl module implements Perl hashes that preserve the order in
25 which the hash elements were added. The order is not affected when
26 values corresponding to existing keys in the IxHash are changed. The
27 elements can also be set to any arbitrary supplied order. The familiar
28 perl array operations can also be performed on the IxHash.
30 %description -l pl.UTF-8
31 Ten moduł Perla jest implementacją haszy, które zachowują kolejność, w
32 jakiej elementy były dodawane. Kolejność nie ulega zmianie kiedy
33 modyfikowane są wartości odpowiadające istniejącym kluczom w obiekcie
34 IxHash. Elementy mogą być także ustawiane w zadanej kolejności. Znane
35 operacje na tablicach perlowych mogą być także wykonywane na typie
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Tie/IxHash.pm
61 %{_mandir}/man3/Tie::IxHash.3pm*