# Run X11 tests against a dummy X11 server %{bcond_without perl_Gnome2_Canvas_enables_x11_test} Name: perl-Gnome2-Canvas Version: 1.006 Release: 14%{?dist} Summary: An engine for structured graphics in Gnome2 (deprecated) License: GPLv2+ URL: https://metacpan.org/release/Gnome2-Canvas Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-Canvas-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::Depends) >= 0.2000 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(File::Spec) BuildRequires: perl(Glib) >= 1.120 BuildRequires: perl(Glib::MakeHelper) BuildRequires: perl(Gtk2) >= 1.10000 BuildRequires: perl(Gtk2::CodeGen) BuildRequires: perl(strict) BuildRequires: pkgconfig(libgnomecanvas-2.0) >= 2.0.0 # Run-time: BuildRequires: perl(DynaLoader) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Test::More) # Optional tests: %if %{with perl_Gnome2_Canvas_enables_x11_test} # X11 tests: BuildRequires: xorg-x11-server-Xvfb BuildRequires: font(:lang=en) %endif Requires: perl(Gtk2) >= 1.10000 # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$ %description The Gnome Canvas is an engine for structured graphics that offers a rich imaging model, high-performance rendering, and a powerful, high level API. It offers a choice of two rendering back-ends, one based on GDK for extremely fast display, and another based on Libart, a sophisticated, antialiased, alpha-compositing engine. This widget can be used for flexible display of graphics and for creating interactive user interface elements. This package is deprecated. Users are advised to migrate to perl-Cairo. %prep %setup -q -n Gnome2-Canvas-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot} %check %if %{with perl_Gnome2_Canvas_enables_x11_test} xvfb-run -d make test %else make test %endif %files %license LICENSE %doc AUTHORS ChangeLog NEWS README TODO %doc canvas_demo/ %{perl_vendorarch}/auto/* %{perl_vendorarch}/Gnome2* %{_mandir}/man3/*.3* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 1.006-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 11 2024 Jitka Plesnikova - 1.006-13 - Perl 5.40 rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.006-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.006-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.006-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 1.006-9 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.006-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.006-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.006-6 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.006-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.006-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 1.006-3 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.006-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 05 2021 Petr Pisar - 1.006-1 - 1.006 bump * Fri Oct 02 2020 Petr Pisar - 1.004-1 - 1.004 bump * Thu Sep 24 2020 Petr Pisar - 1.003-1 - 1.003 bump * Tue Jul 28 2020 Fedora Release Engineering - 1.002-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.002-46 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.002-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.002-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.002-43 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.002-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.002-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 1.002-40 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.002-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.002-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.002-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 1.002-36 - Perl 5.26 re-rebuild of bootstrapped packages * Wed Jun 07 2017 Petr Pisar - 1.002-35 - Modernize spec file * Wed Jun 07 2017 Jitka Plesnikova - 1.002-34 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.002-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.002-32 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.002-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Petr Pisar - 1.002-30 - Modernize spec file * Thu Jun 18 2015 Fedora Release Engineering - 1.002-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 1.002-28 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 1.002-27 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.002-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.002-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.002-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 1.002-23 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.002-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.002-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 14 2012 Petr Pisar - 1.002-20 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.002-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Iain Arnell 1.002-18 - Rebuild for libpng 1.5 - BuildRequires perl(Test::More) * Tue Jun 21 2011 Marcela Mašláňová - 1.002-17 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.002-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 1.002-15 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 1.002-14 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.002-13 - rebuild against perl 5.10.1 * Thu Jul 30 2009 Ralf Corsépius - 1.002-12 - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper). * Sat Jul 25 2009 Fedora Release Engineering - 1.002-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.002-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 6 2008 Tom "spot" Callaway - 1.002-9 - rebuild for new perl * Mon Feb 18 2008 Fedora Release Engineering - 1.002-8 - Autorebuild for GCC 4.3 * Tue Aug 21 2007 Chris Weyl 1.002-7 - bump * Thu Oct 05 2006 Christian Iseli 1.002-6 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Tue Sep 19 2006 Chris Weyl 1.002-5 - taking co-maintainership post-non-massrebuild - tweak %%files to properly own all directories under perl_vendorarch/auto/ * Wed Sep 14 2005 Gavin Henry - 1.002-4 - Added OPTIMIZE="$RPM_OPT_FLAGS" * Fri Aug 19 2005 Gavin Henry - 1.002-3 - Third build. * Thu Aug 18 2005 Gavin Henry - 1.002-2 - Second build. * Sun Jul 3 2005 Gavin Henry - 1.002-1 - First build.