source: spec/trunk/SPECS/perl-Tie-IxHash.spec@ 1437

Last change on this file since 1437 was 1351, checked in by tellie, 8 years ago

spec: perl-Tie-IxHash: Release version 1.23-13.

File size: 1.9 KB
Line 
1# Run optional test
2%bcond_without perl_Tie_IxHash_enables_optional_test
3
4Name: perl-Tie-IxHash
5Version: 1.23
6Release: 1%{?dist}
7Summary: Ordered associative arrays for Perl
8
9Group: Development/Libraries
10License: GPL+ or Artistic
11URL: http://search.cpan.org/dist/Tie-IxHash/
12Vendor: bww bitwise works GmbH
13Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
14
15BuildArch: noarch
16BuildRequires: make
17BuildRequires: perl-generators
18#BuildRequires: perl-interpreter
19BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63
20BuildRequires: sed
21# Run-time:
22#BuildRequires: perl(:VERSION) >= 5.5
23BuildRequires: perl(integer)
24BuildRequires: perl(strict)
25BuildRequires: perl(Tie::Hash)
26BuildRequires: perl(vars)
27# Tests:
28BuildRequires: perl(Test::More)
29%if %{with perl_Tie_IxHash_enables_optional_test} && !%{defined perl_bootstrap}
30# Optional tests:
31BuildRequires: perl(Test::Pod) >= 1.14
32%endif
33Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
34
35%description
36This Perl module implements Perl hashes that preserve the order in
37which the hash elements were added. The order is not affected when
38values corresponding to existing keys in the IxHash are changed.
39The elements can also be set to any arbitrary supplied order. The
40familiar perl array operations can also be performed on the IxHash.
41
42
43%prep
44%setup -q -n Tie-IxHash-%{version}
45
46# Fix line endings
47sed -i -e 's/\r$//' Changes README
48
49
50%build
51perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
52make %{?_smp_mflags}
53make manifypods
54
55%install
56make pure_install DESTDIR=%{buildroot}
57%{_fixperms} -c %{buildroot}
58find %{buildroot} -type f -name .packlist -delete
59
60%check
61#make test
62
63
64%files
65%doc Changes README
66%{perl_vendorlib}/Tie/
67%{_mandir}/man3/*.3pm*
68
69
70%changelog
71* Fri Mar 09 2018 Elbert Pol <elbert.pol@gmail.com> - 1.23-1
72- initial rpm for OS2
73
Note: See TracBrowser for help on using the repository browser.