perl-Heap-vl.spec 3.0 KB

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