# Execute X11 test %bcond_without perl_Gnome2_Wnck_enables_x11_test Name: perl-Gnome2-Wnck Version: 0.18 Release: 7%{?dist} Summary: Perl interface to the Window Navigator (DEPRECATED) License: LGPLv2+ URL: https://metacpan.org/release/Gnome2-Wnck Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-Wnck-%{version}.tar.gz # The test won't be fixed by upstream, because module it deprecated # The failing code is not needed for test # https://rt.cpan.org/Public/Bug/Display.html?id=129606 Patch0: Gnome2-Wnck-0.18-Fix-WnckWorkspace-t.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: gcc BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Cwd) BuildRequires: perl(DynaLoader) BuildRequires: perl(ExtUtils::Depends) >= 0.20 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(File::Spec) BuildRequires: perl(Glib) >= 1.180 BuildRequires: perl(Glib::MakeHelper) BuildRequires: perl(Gtk2) >= 1.00 BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: libXres-devel BuildRequires: libwnck-devel %if %{with perl_Gnome2_Wnck_enables_x11_test} BuildRequires: xorg-x11-server-Xvfb BuildRequires: font(:lang=en) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description DEPRECATED This module allows a Perl developer to use the Window Navigator Construction Kit library (libwnck for short) to write tasklists and pagers. This module has been deprecated by the Gtk-Perl project. This means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI. The Git repo for this module has been archived (made read-only), it will no longer possible to submit new commits to it. You are more than welcome to ask about this module on the Gtk-Perl mailing list, but our priorities going forward will be maintaining Gtk-Perl modules that are supported and maintained upstream; this module is neither. %prep %setup -q -n Gnome2-Wnck-%{version} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check %if %{with perl_Gnome2_Wnck_enables_x11_test} xvfb-run -a make test %else make test %endif %files %license LICENSE %doc ChangeLog maps NEWS README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Gnome2* %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.18-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.18-6 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.18-3 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 21 2021 Jitka Plesnikova - 0.18-1 - 0.18 bump * Tue Jul 28 2020 Fedora Release Engineering - 0.16-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.16-39 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.16-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.16-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.16-36 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.16-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.16-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.16-33 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.16-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.16-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.16-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.16-29 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.16-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.16-27 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.16-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.16-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.16-24 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.16-23 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.16-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.16-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.16-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.16-19 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.16-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.16-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Petr Pisar - 0.16-16 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.16-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Iain Arnell 0.16-14 - Rebuild for libpng 1.5 - BuildRequires perl(Test::More) * Tue Jun 21 2011 Marcela Mašláňová - 0.16-13 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.16-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 0.16-11 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 0.16-10 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.16-9 - rebuild against perl 5.10.1 * Sun Jul 28 2009 Liang Suilong 0.16-8 - Add BR: perl(Glib::MakeHelper) - Remove BR: perl-Glib-devel * Sun Jul 28 2009 Liang Suilong 0.16-7 - Change BuildRequires from perl(Glib::MakeHelper) to perl(Glib) - Add BR: perl-Glib-devel * Sun Jul 27 2009 Liang Suilong 0.16-6 - Change BuildRequires from perl(Glib) to perl(Glib::MakeHelper) * Sat Jul 25 2009 Fedora Release Engineering - 0.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun May 10 2009 Liang Suilong 0.16-4 - Modify BuildRequires and correct the %%files. * Sun Apr 21 2009 Liang Suilong 0.16-3 - Modify BuildRequires and correct the %%files. * Fri Mar 13 2009 Suilong Liang -0.16-1 - Fix the bug that the package could not be built on x86_64 * Sat Jan 17 2009 Suilong Liang -svn20090118-1 - Initial Package for Fedora 10.