perl-Heap-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Name: perl-Heap
  2. Version: 0.80
  3. Release: 3%{?_dist_release}
  4. Summary: Perl extension for keeping data partially sorted
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Heap
  8. Source0: http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildArch: noarch
  13. BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. The Heap collection of modules provide routines that manage a heap of
  17. elements. A heap is a partially sorted structure that is always able to
  18. easily extract the smallest of the elements in the structure (or the
  19. largest if a reversed compare routine is provided).
  20. If the collection of elements is changing dynamically, the heap has less
  21. overhead than keeping the collection fully sorted.
  22. The elements must be objects as described in "Heap::Elem" and all
  23. elements inserted into one heap must be mutually compatible - either
  24. the same class exactly or else classes that differ only in ways unrelated
  25. to the Heap::Elem interface.
  26. %prep
  27. %setup -q -n Heap-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  35. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  36. chmod -R u+w %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*.3*
  46. %changelog
  47. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.80-3
  48. - rebuilt with perl-5.26.
  49. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.80-2
  50. - build with Perl 5.16
  51. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.80-1
  52. - initial build for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-10
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.80-9
  56. - Perl mass rebuild
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-8
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.80-7
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.80-6
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.80-5
  64. - rebuild against perl 5.10.1
  65. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-4
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-3
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.80-2
  70. - rebuild for new perl
  71. * Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.80-1
  72. - update to 0.80
  73. * Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.71-2
  74. - Initial packaging