%define upstream_name Tree-DAG_Node %define upstream_version 1.09 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Class for representing nodes in a tre License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Tree/%{upstream_name}-%{upstream_version}.tgz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build) >= 0.380.0 BuildRequires: perl(Test::More) >= 0.940.0 BuildRequires: perl(Test::Pod) >= 1.440.0 BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildArch: noarch %description This class encapsulates/makes/manipulates objects that represent nodes in a tree structure. The tree structure is not an object itself, but is emergent from the linkages you create between nodes. This class provides the methods for making linkages that can be used to build up a tree, while preventing you from ever making any kinds of linkages which are not allowed in a tree (such as having a node be its own mother or ancestor, or having a node have two mothers). %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install %makeinstall_std %check make test %files %doc CHANGES META.json META.yml MYMETA.yml README %{perl_vendorlib}/Tree %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.90.0-2.mga3 + Revision: 374479 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Nov 14 2012 jquelin <jquelin> 1.90.0-1.mga3 + Revision: 317764 - update to 1.09 * Wed Nov 07 2012 jquelin <jquelin> 1.70.0-1.mga3 + Revision: 315924 - update to 1.07 * Tue Jan 18 2011 jquelin <jquelin> 1.60.0-1.mga1 + Revision: 23029 - cleaning spec file - imported package perl-Tree-DAG_Node