source: projects/specs/trunk/p/perl-Sort-Naturally/perl-Sort-Naturally-vl.spec @ 9142

Revision 9142, 3.0 KB checked in by inagaki, 9 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


Line 
1Name:       perl-Sort-Naturally
2Version:    1.03
3Release:    1%{?_dist_release}
4Summary:    Sort lexically, but sort numeral parts numerically
5
6# see lib/Sort/Naturally.pm
7License:    GPL+ or Artistic
8Group:      Development/Libraries
9URL:        http://search.cpan.org/dist/Sort-Naturally
10
11Source:     http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Sort-Naturally-%{version}.tar.gz
12
13BuildRoot:  %{_tmppath}/%{name}-%{version}-root
14BuildArch:  noarch
15BuildRequires: perl(ExtUtils::MakeMaker)
16BuildRequires: perl(Test)
17Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       shaolin
22
23%description
24This module exports two functions, 'nsort' and 'ncmp'; they are used in
25implementing my idea of a "natural sorting" algorithm. Under natural
26sorting, numeric substrings are compared numerically, and other
27word-characters are compared lexically.
28
29%prep
30%setup -q -n Sort-Naturally-%{version}
31
32%build
33%{__perl} Makefile.PL INSTALLDIRS=vendor
34make %{?_smp_mflags}
35
36%install
37rm -rf %{buildroot}
38make pure_install PERL_INSTALL_ROOT=%{buildroot}
39find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
40find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
41
42%{_fixperms} %{buildroot}/*
43
44%check
45make test
46
47%clean
48rm -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
Note: See TracBrowser for help on using the repository browser.