perl-Sort-Naturally-vl.spec 3.0 KB

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