1 | Name: perl-Sort-Naturally |
---|
2 | Version: 1.02 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | # see lib/Sort/Naturally.pm |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | Summary: Sort lexically, but sort numeral parts numerically |
---|
8 | Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Sort-Naturally-%{version}.tar.gz |
---|
9 | Url: http://search.cpan.org/dist/Sort-Naturally |
---|
10 | BuildArch: noarch |
---|
11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
12 | |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(Test) |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | Packager: shaolin |
---|
19 | |
---|
20 | %description |
---|
21 | This module exports two functions, 'nsort' and 'ncmp'; they are used in |
---|
22 | implementing my idea of a "natural sorting" algorithm. Under natural |
---|
23 | sorting, numeric substrings are compared numerically, and other |
---|
24 | word-characters are compared lexically. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q -n Sort-Naturally-%{version} |
---|
28 | |
---|
29 | %build |
---|
30 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | %install |
---|
34 | rm -rf %{buildroot} |
---|
35 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
36 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
37 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
38 | |
---|
39 | %{_fixperms} %{buildroot}/* |
---|
40 | |
---|
41 | %check |
---|
42 | make test |
---|
43 | |
---|
44 | %clean |
---|
45 | rm -rf %{buildroot} |
---|
46 | |
---|
47 | %files |
---|
48 | %doc ChangeLog README t/ |
---|
49 | %{perl_vendorlib}/* |
---|
50 | %{_mandir}/man3/*.3* |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.02-2 |
---|
54 | - rebuild |
---|
55 | |
---|
56 | * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.02-1 |
---|
57 | - initial build for Vine Linux |
---|
58 | |
---|
59 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-10 |
---|
60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
61 | |
---|
62 | * Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 1.02-9 |
---|
63 | - Perl mass rebuild in dist-f16-perl (d'oh) |
---|
64 | - Remove now obsolete Buildroot and defattr |
---|
65 | |
---|
66 | * Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-8 |
---|
67 | - Perl 5.14 mass rebuild |
---|
68 | |
---|
69 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-7 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
71 | |
---|
72 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-6 |
---|
73 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
74 | |
---|
75 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-5 |
---|
76 | - Mass rebuild with perl-5.12.0 |
---|
77 | |
---|
78 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-4 |
---|
79 | - rebuild against perl 5.10.1 |
---|
80 | |
---|
81 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-3 |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
83 | |
---|
84 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2 |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
86 | |
---|
87 | * Sun Oct 05 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.02-1 |
---|
88 | - initial RPM packaging |
---|
89 | - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.1) |
---|
90 | |
---|