%global use_x11_tests 1 Name: perl-Gtk2-TrayIcon Version: 0.07 Release: 7%{?dist} Summary: Perl interface to the EggTrayIcon library (deprecated) License: LGPLv2+ URL: https://metacpan.org/release/Gtk2-TrayIcon Source0: https://cpan.metacpan.org/modules/by-module/Gtk2/Gtk2-TrayIcon-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: gtk2-devel BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::Depends) >= 0.1 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::PkgConfig) >= 0.1 BuildRequires: perl(File::Spec) BuildRequires: perl(Glib) >= 1.00 BuildRequires: perl(Glib::MakeHelper) BuildRequires: perl(Gtk2) >= 1.00 BuildRequires: perl(Gtk2::CodeGen) BuildRequires: pkgconfig(gtk+-2.0) # xorg-x11-proto-devel for X11/Xatom.h BuildRequires: xorg-x11-proto-devel # Run-time: BuildRequires: perl(DynaLoader) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Gtk2::TestHelper) # Optional tests: %if %{use_x11_tests} BuildRequires: xorg-x11-server-Xvfb BuildRequires: font(:lang=en) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Gtk2) >= 1.00 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$ %description This module allows a Perl developer to embed an arbitrary widget in a System Tray like the Gnome notification area. This package is deprecated. The users are advised to migrate to Gtk3::StatusIcon from perl-Gtk3 package. %prep %setup -q -n Gtk2-TrayIcon-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* %check %if %{use_x11_tests} xvfb-run -a make test %else make test %endif %files %doc examples ChangeLog README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Gtk2 %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.07-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.07-6 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.07-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.07-3 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 08 2021 Petr Pisar - 0.07-1 - 0.07 bump * Tue Jul 28 2020 Fedora Release Engineering - 0.06-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.06-39 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.06-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.06-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.06-36 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.06-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.06-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.06-33 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.06-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.06-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.06-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 0.06-29 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.06-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.06-27 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.06-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Petr Pisar - 0.06-25 - Modernize spec file * Thu Jun 18 2015 Fedora Release Engineering - 0.06-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.06-23 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.06-22 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.06-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.06-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.06-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.06-18 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.06-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.06-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 14 2012 Petr Pisar - 0.06-15 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.06-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Iain Arnell 0.06-13 - Rebuild for libpng 1.5 * Tue Jun 21 2011 Marcela Mašláňová - 0.06-12 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.06-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 0.06-10 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 0.06-9 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.06-8 - rebuild against perl 5.10.1 * Wed Aug 05 2009 Ralf Corsépius - 0.06-7 - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper). * Sat Jul 25 2009 Fedora Release Engineering - 0.06-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.06-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 6 2008 Tom "spot" Callaway - 0.06-4 - rebuild for new perl * Mon Feb 18 2008 Fedora Release Engineering - 0.06-3 - Autorebuild for GCC 4.3 * Tue Aug 21 2007 Chris Weyl 0.06-2 - bump * Sat Jun 02 2007 Chris Weyl 0.06-1 - update to 0.06 - add t/ to doc * Thu Aug 31 2006 Chris Weyl 0.03-3 - bump for mass rebuild * Thu Aug 10 2006 Chris Weyl 0.03-2 - bump for release * Fri Jul 28 2006 Chris Weyl 0.03-1 - Initial spec file for F-E