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

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