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