Summary: Gtk2::Ex::Simple::Tree Perl module
Name: perl-Gtk2-Ex-Simple-Tree
Version: @VERSION@
Release: 1
License: LGPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl-Gtk2 >= @PERL_GTK@
BuildRequires: perl-Gtk2-Ex-Simple-List >= @PERL_GTK_EX_SIMPLE_LIST@
Requires: perl-Gtk2 >= @PERL_GTK@
Requires: perl-Gtk2-Ex-Simple-List >= @PERL_GTK_EX_SIMPLE_LIST@
Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }')
Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
Source0: @SOURCE@

Add on modules that make complicated GUI tasks easier and more straightforward.

%setup -q -n Gtk2-Ex-Simple-Tree-%{version}

make test

[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress

find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;

find $RPM_BUILD_ROOT/usr -type f -print | \
	sed "s@^$RPM_BUILD_ROOT@@g" | \
	grep -v perllocal.pod | \
	grep -v "\.packlist" > %{name}-%{version}-filelist
if [ "$(cat %{name}-%{version}-filelist)X" = "X" ] ; then
	exit -1


%files -f %{name}-%{version}-filelist

- Specfile autogenerated.

# Copyright (C) 2004 by the gtk2-perl team (see the file AUTHORS for the full
# list)
# This library is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
# more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA  02111-1307  USA.