|
|
|
Name: perl-Heap
|
|
|
|
Version: 0.80
|
|
|
|
Release: 22%{?dist}
|
|
|
|
Summary: Perl extension for keeping data partially sorted
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Heap
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Heap collection of modules provide routines that manage a heap of
|
|
|
|
elements. A heap is a partially sorted structure that is always able to
|
|
|
|
easily extract the smallest of the elements in the structure (or the
|
|
|
|
largest if a reversed compare routine is provided).
|
|
|
|
|
|
|
|
If the collection of elements is changing dynamically, the heap has less
|
|
|
|
overhead than keeping the collection fully sorted.
|
|
|
|
|
|
|
|
The elements must be objects as described in "Heap::Elem" and all
|
|
|
|
elements inserted into one heap must be mutually compatible - either
|
|
|
|
the same class exactly or else classes that differ only in ways unrelated
|
|
|
|
to the Heap::Elem interface.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Heap-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-22
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-21
|
|
|
|
- Package cleanup
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-18
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-17
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.80-14
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.80-11
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.80-9
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.80-7
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
|
|
|
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.80-6
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.80-5
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.80-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
|
|
|
* Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.80-1
|
|
|
|
- update to 0.80
|
|
|
|
|
|
|
|
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.71-2
|
|
|
|
- Initial packaging
|