perl-Sort-Versions-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: perl-Sort-Versions
  2. Version: 1.60
  3. Release: 1%{?_dist_release}
  4. Summary: Perl module for sorting of revision-like numbers
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Sort-Versions/
  8. Source0: http://www.cpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. A perl 5 module for sorting of revision-like numbers
  18. Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
  19. like the 'version numbers' that many shared library systems and revision
  20. control packages use. This is quite useful if you are trying to deal with
  21. shared libraries. It can also be applied to applications that intersperse
  22. variable-width numeric fields within text. Other applications can
  23. undoubtedly be found.
  24. %prep
  25. %setup -q -n Sort-Versions-%{version}
  26. for f in Changes Versions.pm; do
  27. iconv -f iso-8859-1 -t utf-8 <$f >${f}_ &&
  28. touch -r $f ${f}_ &&
  29. mv ${f}_ $f
  30. done
  31. %build
  32. %{__perl} Makefile.PL INSTALLDIRS=vendor
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  37. find %{buildroot} -depth \
  38. -type f -name .packlist -exec rm -f {} ';' -o \
  39. -type d -empty -exec rmdir {} ';'
  40. chmod -R u+w %{buildroot}/*
  41. %clean
  42. rm -rf %{buildroot}
  43. %check
  44. make test
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc Changes
  48. %{perl_vendorlib}/Sort
  49. %{_mandir}/man3/*
  50. %changelog
  51. * Sun Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.60-1
  52. - updated to 1.60
  53. - built with perl 5.16.3
  54. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5-1
  55. - initial build for Vine Linux
  56. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-18
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  58. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-17
  59. - Perl mass rebuild
  60. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-16
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-15
  63. - 661697 rebuild for fixing problems with vendorach/lib
  64. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-14
  65. - Mass rebuild with perl-5.12.0
  66. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.5-13
  67. - rebuild against perl 5.10.1
  68. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-12
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Thu Mar 19 2009 Stepan Kasal <skasal@redhat.com> - 1.5-11
  71. - fix timestamps of the recoded text files
  72. * Mon Mar 16 2009 Stepan Kasal <skasal@redhat.com> - 1.5-10
  73. - Recode as UTF-8, fix argument order find with -depth (both by Paul Howarth)
  74. - Other minor cleanups
  75. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  77. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-8
  78. - rebuild for new perl
  79. * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-7
  80. - Add BR: perl(Test::More).
  81. * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.5-6
  82. - Update license tag.
  83. - Reflect perl split.
  84. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-5
  85. - Mass rebuild.
  86. * Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 1.5-4
  87. - Rebuild for perl-5.8.8.
  88. * Wed Aug 17 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-3
  89. - Spec cleanup.
  90. * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-2
  91. - FE re-submission.
  92. * Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 1.5-1
  93. - FE submission.