%global pkg_name Tree-Simple %global pkg_version 1.18 %global rpm_pkg_version 1.18 %global rpm_pkg_release 1.n0i.4 Summary: A simple tree object Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/ST/STEVAN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Scalar::Util) >= 1.18 Requires: perl(Scalar::Util) >= 1.18 %global perl_filter_req 'perl\\(Scalar::Util\\)$' %{!?_without_test:BuildRequires: perl(Test::Exception) >= 0.15} %description This module in an fully object-oriented implementation of a simple n-ary tree. It is built upon the concept of parent-child relationships, so therefore every Tree::Simple object has both a parent and a set of children (who themselves may have children, and so on). Every Tree::Simple object also has siblings, as they are just the children of their immediate parent. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Wed Nov 14 2007 Marius Feraru - 1.18-1.n0i.4 - version 1.18 - spec update (new reb00t build tools) * Tue May 22 2007 Marius Feraru - 1.17-1.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer 804.027 - version 1.17 * Sat Mar 04 2006 Marius Feraru - 1.16-1.n0i.2 - version 1.16 * Tue Aug 09 2005 Marius Feraru 1.15-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7