]> git.pld-linux.org Git - packages/perl-List-Combination.git/blob - perl-List-Combination.spec
34e122bfcefeb023a02371033d16bf649169ac7c
[packages/perl-List-Combination.git] / perl-List-Combination.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    List
3 %define         pnam    Combination
4 Summary:        List::Combination - an iterator over the combinations of an array
5 Summary(pl.UTF-8):      List::Combination - iterator po kombinacjach tablicy
6 Name:           perl-List-Combination
7 Version:        1.00
8 Release:        4
9 License:        unknown
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.pm.gz
12 # Source0-md5:  15f3e07012320c5a1c9d91f40ac03550
13 BuildRequires:  perl-devel >= 1:5.8.0
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This class provides the ability to iterate over all the combinations,
20 of a given size, of the objects in an array.
21
22 %description -l pl.UTF-8
23 Ta klasa daje możliwość iterowania po wszystkich (danej długości)
24 kombinacjach obiektów tablicy.
25
26 %prep
27 %setup -q -c -T
28 %{__gzip} -dc %{_sourcedir}/List-Combination-%{version}.pm.gz > Combination.pm
29
30 %build
31 touch Makefile.PL
32 %{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"List::Combination");' \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{perl_vendorlib}/%{pdir}/*.pm
48 %{_mandir}/man3/*
This page took 0.045099 seconds and 2 git commands to generate.