]> git.pld-linux.org Git - packages/perl-Tie-IxHash.git/blob - perl-Tie-IxHash.spec
bde47c05b9fc5b022adb17acc8befd0ec2fe17fc
[packages/perl-Tie-IxHash.git] / perl-Tie-IxHash.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Tie
3 %define pnam    IxHash
4 Summary:        Tie::IxHash - ordered associative arrays for Perl
5 Name:           perl-Tie-IxHash
6 Version:        1.21
7 Release:        8
8 License:        GPL
9 Group:          Development/Languages/Perl
10 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.6
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This Perl module implements Perl hashes that preserve the order in which
18 the hash elements were added.  The order is not affected when values
19 corresponding to existing keys in the IxHash are changed.  The elements
20 can also be set to any arbitrary supplied order.  The familiar perl
21 array operations can also be performed on the IxHash.
22
23 %prep
24 %setup -q -n %{pdir}-%{pnam}-%{version}
25
26 %build
27 perl Makefile.PL
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 gzip -9nf Changes README
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %{perl_sitelib}/Tie/IxHash.pm
44 %{_mandir}/man3/*
This page took 0.069872 seconds and 2 git commands to generate.