File perl-Heap.spec of Package perl-Heap

#
# spec file for package perl-Heap
#
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           perl-Heap
Version:        0.80
Release:        0
Summary:        Perl Extensions for keeping Data partially sorted
License:        Artistic-1.0 OR GPL-2.0-or-later
Group:          Development/Libraries/Perl
Source:         http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-%{version}.tar.gz
URL:            http://search.cpan.org/~jmm/Heap-%{version}/lib/Heap.pm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       perl
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl-macros

%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).




Authors:
--------
    John Macdonald <john@perlwolf.com>

%prep
%setup -q -n "Heap-%{version}"

%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make

%install
%perl_make_install
%perl_process_packlist

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Heap
%{perl_vendorlib}/Heap.pm
%{perl_vendorlib}/Heap/*.pm
%dir %{perl_vendorlib}/Heap/Elem
%{perl_vendorlib}/Heap/Elem/*.pm
%{perl_vendorarch}/auto/Heap
%doc %{perl_man3dir}/Heap*.%{perl_man3ext}*

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:

%changelog
openSUSE Build Service is sponsored by