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