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