Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Tree-Nary
perl-Tree-Nary.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Tree-Nary.spec of Package perl-Tree-Nary
# vim: set sw=4 ts=4 et nu: # # spec file for package perl-Tree-Nary # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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 http://bugs.opensuse.org/ # # Please submit bugfixes or comments via http://bugs.opensuse.org/ Name: perl-Tree-Nary Version: 1.3 Release: 0 Summary: Perl implementation of N-ary search trees License: GPL-2.0+ or Artistic-1.0 Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/F/FS/FSORIANO/Tree-Nary-%{version}.tar.gz Url: http://search.cpan.org/dist/Tree-Nary BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl-macros %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description The Tree::Nary class implements N-ary trees (trees of data with any number of branches), providing the organizational structure for a tree (collection) of any number of nodes, but knowing nothing about the specific type of node used. It can be used to display hierarchical database entries in an internal application (the NIS netgroup file is an example of such a database). It offers the capability to select nodes on the tree, and attachment points for nodes on the tree. Each attachment point can support multiple child nodes. The data field contains the actual data of the node. The next and previous fields point to the node's siblings (a sibling is another node with the same parent). The parent field points to the parent of the node, or is *undef* if the node is the root of the tree. The children field points to the first child of the node. The other children are accessed by using the next pointer of each child. This module is a translation (albeit not a direct one) from the C implementation of N-ary trees, available in the GLIB distribution (see SEE ALSO). %prep %setup -q -n "Tree-Nary-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?_smp_flags} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc CHANGES README %dir %{perl_vendorlib}/Tree %{perl_vendorlib}/Tree/Nary.pm %doc %{perl_man3dir}/Tree::Nary.%{perl_man3ext}%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor