%global use_x11_tests 1 Name: perl-Wx-Perl-DataWalker Version: 0.02 Release: 41%{?dist} Summary: Implement subclass that shows relatively simple structure License: GPL+ or Artistic URL: https://metacpan.org/release/Wx-Perl-DataWalker Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Wx-Perl-DataWalker-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(Class::XSAccessor) >= 0.06 BuildRequires: perl(Devel::Size) >= 0.71 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Wx) >= 0.88 BuildRequires: perl(YAML::XS) BuildRequires: perl(Test::More) %if %{use_x11_tests} # X11 tests: BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-xinit BuildRequires: font(:lang=en) %endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Wx::Perl::DataWalker implements a Wx::Frame subclass that shows a relatively simple Perl data structure browser. After opening such a frame and supplying it with a reference to an essentially arbitrary data structure, you can visually browse it by double-clicking references. %prep %setup -q -n Wx-Perl-DataWalker-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check %if %{use_x11_tests} xvfb-run -a make test %endif %files %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.02-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.02-40 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.02-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.02-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 0.02-37 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.02-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.02-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.02-34 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.02-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.02-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.02-31 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.02-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.02-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.02-28 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.02-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.02-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 08 2017 Jitka Plesnikova - 0.02-25 - Perl 5.26 re-rebuild of bootstrapped packages * Sat Feb 11 2017 Fedora Release Engineering - 0.02-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.02-23 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.02-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.02-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.02-20 - Perl 5.22 rebuild * Thu Feb 12 2015 Jitka Plesnikova - 0.02-19 - Run X11 tests using xvfb-run (BZ#1179570) * Thu Sep 04 2014 Jitka Plesnikova - 0.02-18 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.02-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Petr Pisar - 0.02-16 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.02-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.02-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.02-13 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.02-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Petr Sabata - 0.02-11 - Perl mass rebuild * Thu Jun 23 2011 Petr Pisar - 0.02-10 - Remove obsolete spec code - Run tests against Xvfb * Wed Feb 09 2011 Fedora Release Engineering - 0.02-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 0.02-8 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 0.02-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.02-6 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.02-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 19 2009 Stepan Kasal 0.02-4 - rebuild * Tue May 5 2009 Marcela Mašláňová 0.02-3 - remove release from BR * Wed Apr 29 2009 Marcela Mašláňová 0.02-2 - add BR * Wed Apr 29 2009 Marcela Mašláňová 0.02-1 - Specfile autogenerated by cpanspec 1.78.