/[packages]/cauldron/perl-Algorithm-Permute/current/SPECS/perl-Algorithm-Permute.spec
ViewVC logotype

Contents of /cauldron/perl-Algorithm-Permute/current/SPECS/perl-Algorithm-Permute.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 103445 - (show annotations) (download)
Sat Jun 11 11:24:23 2011 UTC (10 years, 4 months ago) by jquelin
File size: 989 byte(s)
perl 5.14
1 %define upstream_name Algorithm-Permute
2 %define upstream_version 0.12
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 4
7
8 Summary: Handy and fast permutation with OO interface
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/Algorithm/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl-devel
15
16
17 %description
18 This handy module makes performing permutation in Perl easy and fast,
19 although perhaps its algorithm is not the fastest on the earth. It supports
20 permutation r of n objects where 0 < r <= n.
21
22 %prep
23 %setup -q -n %{upstream_name}-%{upstream_version}
24
25 %build
26 %{__perl} Makefile.PL INSTALLDIRS=vendor
27 %make
28
29 %check
30 make test
31
32 %install
33 rm -rf %buildroot
34 %makeinstall_std
35
36 %clean
37 rm -rf %buildroot
38
39 %files
40 %defattr(-,root,root)
41 %doc Changes README META.yml
42 %{_mandir}/man3/*
43 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.28