perl-Number-Compare-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: perl-Number-Compare
  2. Version: 0.01
  3. Release: 17%{?_dist_release}
  4. Summary: Perl module for numeric comparisons
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Number-Compare/
  8. Source0: http://www.cpan.org/modules/by-module/Number/Number-Compare-%{version}.tar.gz
  9. # Address https://bugzilla.redhat.com/show_bug.cgi?id=607982
  10. # Patch from https://rt.cpan.org/Public/Bug/Display.html?id=58466
  11. Patch0: https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildArch: noarch
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Test::More)
  16. #Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Number::Compare compiles a simple comparison to an anonymous subroutine,
  21. which you can call with a value to be tested again.
  22. %prep
  23. %setup -q -n Number-Compare-%{version}
  24. %patch0 -p1
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %check
  37. make test
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes
  41. %{perl_vendorlib}/Number
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.01-17
  45. - build for Vine Linux
  46. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-16
  47. - 661697 rebuild for fixing problems with vendorach/lib
  48. * Sat Jun 26 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.01-15
  49. - Apply https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch
  50. to address https://bugzilla.redhat.com/show_bug.cgi?id=607982.
  51. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-14
  52. - Mass rebuild with perl-5.12.0
  53. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-13
  54. - rebuild against perl 5.10.1
  55. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-12
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  57. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-11
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  59. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-10
  60. - Rebuild for perl 5.10 (again)
  61. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-9
  62. - rebuild for new perl
  63. * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-8
  64. - Update license tag.
  65. * Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-7
  66. - Reflect perl package split.
  67. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-6
  68. - Mass rebuild.
  69. * Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-5
  70. - Rebuild for perl-5.8.8.
  71. * Tue Aug 16 2005 Paul Howarth <paul@city-fan.org> - 0.01-4
  72. - BR: perl redundant for Extras.
  73. * Sat Aug 13 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-3
  74. - Spec cleanup.
  75. * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-2
  76. - FE re-submission.
  77. * Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-1
  78. - FE submission.