%global use_x11_tests 1 Name: perl-Data-TreeDumper-Renderer-GTK Version: 0.03 Release: 3%{?dist} # see GTK.pm License: GPL-1.0-or-later OR Artistic-1.0-Perl Summary: Gtk3::TreeView renderer for Data::TreeDumper Source: https://cpan.metacpan.org/authors/id/N/NK/NKH/Data-TreeDumper-Renderer-GTK-%{version}.tar.gz Url: https://metacpan.org/release/Data-TreeDumper-Renderer-GTK BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time BuildRequires: perl(AutoLoader) BuildRequires: perl(base) BuildRequires: perl(Cairo) BuildRequires: perl(Data::TreeDumper) >= 0.33 BuildRequires: perl(Exporter) BuildRequires: perl(Glib) BuildRequires: perl(Gtk3) # perl(Gtk3::TreeView) is in perl-Gtk3, but not listed in provides BuildRequires: perl(strict) BuildRequires: perl(warnings) %if %{use_x11_tests} # Tests BuildRequires: perl(Test) # X11 tests: BuildRequires: xorg-x11-server-Xvfb BuildRequires: font(:lang=en) %endif %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Gtk3::TreeView\\) %description GTK-perl renderer for Data::TreeDumper. This widget is the GUI equivalent of Data::TreeDumper; it will display a perl data structure in a TreeView, allowing you to fold and unfold child data structures and get a quick feel for what's where. Right-clicking anywhere in the view brings up a context menu, from which the user can choose to expand or collapse all items. %prep %setup -q -n Data-TreeDumper-Renderer-GTK-%{version} find . -type f -exec chmod -c -x {} + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* find %{buildroot} -type f -name '*.pl' -delete %check %if %{use_x11_tests} xvfb-run -d make test %endif %files %doc README gtk_test.pl %{perl_vendorlib}/Data* %{perl_vendorlib}/auto/Data* %{_mandir}/man3/Data::TreeDumper*.3* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.03-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 31 2023 Jitka Plesnikova - 0.03-1 - 0.03 bump (rhbz#2246640) * Thu Jul 20 2023 Fedora Release Engineering - 0.02-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.02-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.02-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.02-43 - Perl 5.36 rebuild * Mon Apr 11 2022 Petr Pisar - 0.02-42 - Modernize a spec file * Fri Jan 21 2022 Fedora Release Engineering - 0.02-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.02-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 0.02-39 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.02-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.02-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.02-36 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.02-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.02-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.02-33 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.02-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.02-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.02-30 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.02-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.02-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.02-27 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.02-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.02-25 - Perl 5.24 rebuild * Thu Feb 04 2016 Jitka Plesnikova - 0.02-24 - Package cleanup - Run X11 tests using xvfb-run * Thu Jun 18 2015 Fedora Release Engineering - 0.02-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.02-22 - Perl 5.22 rebuild * Thu Sep 04 2014 Jitka Plesnikova - 0.02-21 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.02-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Petr Pisar - 0.02-19 - Perl 5.18 rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.02-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.02-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.02-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.02-15 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 22 2011 Petr Pisar - 0.02-13 - RPM 4.9 dependency filtering added * Tue Jul 19 2011 Petr Sabata - 0.02-12 - Perl mass rebuild * Fri Feb 25 2011 Iain Arnell 0.02-11 - explicity filter Gtk2::TreeView from requires * Tue Feb 08 2011 Fedora Release Engineering - 0.02-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.02-9 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 0.02-8 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.02-7 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.02-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.02-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 19 2008 Chris Weyl 0.02-4 - drop a require on Gtk2::TreeView -- not "provided" by perl-Gtk2 (bug?) * Sun Dec 14 2008 Chris Weyl 0.02-3 - bump * Mon Dec 08 2008 Chris Weyl 0.02-2 - add br perl(Term::Size) - only enable tests when _with_display_tests; they require $DISPLAY * Sat Nov 29 2008 Chris Weyl 0.02-1 - update for submission * Sat Nov 29 2008 Chris Weyl 0.02-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)