|
|
bf0e8bc |
%global use_x11_tests 1
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
Name: perl-Gtk2-TrayIcon
|
|
Chris Weyl |
8346f72 |
Version: 0.06
|
|
|
8c31922 |
Release: 26%{?dist}
|
|
Chris Weyl |
e5fe8f8 |
Summary: Perl interface to the EggTrayIcon library
|
|
Chris Weyl |
e5fe8f8 |
Group: Development/Libraries
|
|
|
9dae15e |
License: LGPLv2+
|
|
Chris Weyl |
e5fe8f8 |
URL: http://search.cpan.org/dist/Gtk2-TrayIcon
|
|
Chris Weyl |
8346f72 |
Source0: http://www.cpan.org/modules/by-module/Gtk2/Gtk2-TrayIcon-%{version}.tar.gz
|
|
|
bf0e8bc |
BuildRequires: coreutils
|
|
|
bf0e8bc |
BuildRequires: findutils
|
|
|
bf0e8bc |
# gcc for string.h
|
|
|
bf0e8bc |
BuildRequires: gcc
|
|
Chris Weyl |
8346f72 |
BuildRequires: gtk2-devel
|
|
|
bf0e8bc |
BuildRequires: make
|
|
|
bf0e8bc |
BuildRequires: perl
|
|
|
bf0e8bc |
BuildRequires: perl(Cwd)
|
|
Chris Weyl |
8346f72 |
BuildRequires: perl(ExtUtils::Depends)
|
|
|
bf0e8bc |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Chris Weyl |
8346f72 |
BuildRequires: perl(ExtUtils::PkgConfig)
|
|
|
bf0e8bc |
BuildRequires: perl(File::Spec)
|
|
|
bf0e8bc |
BuildRequires: perl(Glib) >= 1.00
|
|
|
4badf86 |
BuildRequires: perl(Glib::MakeHelper)
|
|
|
bf0e8bc |
BuildRequires: perl(Gtk2) >= 1.00
|
|
|
bf0e8bc |
BuildRequires: perl(Gtk2::CodeGen)
|
|
|
bf0e8bc |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
bf0e8bc |
# xorg-x11-proto-devel for X11/Xatom.h
|
|
|
bf0e8bc |
BuildRequires: xorg-x11-proto-devel
|
|
|
bf0e8bc |
# Run-time:
|
|
|
bf0e8bc |
BuildRequires: perl(DynaLoader)
|
|
|
bf0e8bc |
BuildRequires: perl(strict)
|
|
|
bf0e8bc |
BuildRequires: perl(warnings)
|
|
|
bf0e8bc |
# Tests:
|
|
|
bf0e8bc |
BuildRequires: perl(Gtk2::TestHelper)
|
|
|
bf0e8bc |
# Optional tests:
|
|
|
bf0e8bc |
%if %{use_x11_tests}
|
|
|
bf0e8bc |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
bf0e8bc |
BuildRequires: font(:lang=en)
|
|
|
bf0e8bc |
%endif
|
|
|
bf0e8bc |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
bf0e8bc |
Requires: perl(Gtk2) >= 1.00
|
|
|
bf0e8bc |
|
|
|
bf0e8bc |
# Remove under-specified dependencies
|
|
|
bf0e8bc |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Gtk2\\)$
|
|
Chris Weyl |
8346f72 |
|
|
Chris Weyl |
e5fe8f8 |
%description
|
|
Chris Weyl |
e5fe8f8 |
This module allows a Perl developer to embed an arbitrary widget in a System
|
|
Chris Weyl |
e5fe8f8 |
Tray like the Gnome notification area.
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%prep
|
|
Chris Weyl |
e5fe8f8 |
%setup -q -n Gtk2-TrayIcon-%{version}
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%build
|
|
|
bf0e8bc |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
Chris Weyl |
e5fe8f8 |
make %{?_smp_mflags}
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%install
|
|
|
bf0e8bc |
make pure_install DESTDIR=%{buildroot}
|
|
Chris Weyl |
e5fe8f8 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
Chris Weyl |
e5fe8f8 |
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
Chris Weyl |
8346f72 |
%{_fixperms} %{buildroot}/*
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%check
|
|
|
bf0e8bc |
%if %{use_x11_tests}
|
|
|
bf0e8bc |
xvfb-run -a make test
|
|
|
bf0e8bc |
%else
|
|
|
bf0e8bc |
make test
|
|
|
bf0e8bc |
%endif
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%files
|
|
|
bf0e8bc |
%doc examples ChangeLog README TODO
|
|
Chris Weyl |
e5fe8f8 |
%{perl_vendorarch}/auto/*
|
|
Chris Weyl |
e5fe8f8 |
%{perl_vendorarch}/Gtk2
|
|
Chris Weyl |
e5fe8f8 |
%{_mandir}/man3/*.3*
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
|
|
Chris Weyl |
e5fe8f8 |
%changelog
|
|
|
8c31922 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-26
|
|
|
8c31922 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8c31922 |
|
|
|
bf0e8bc |
* Tue Jan 26 2016 Petr Pisar <ppisar@redhat.com> - 0.06-25
|
|
|
bf0e8bc |
- Modernize spec file
|
|
|
bf0e8bc |
|
|
|
ab94c65 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-24
|
|
|
ab94c65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ab94c65 |
|
|
|
a846b40 |
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-23
|
|
|
a846b40 |
- Perl 5.22 rebuild
|
|
|
a846b40 |
|
|
|
07d59dc |
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-22
|
|
|
07d59dc |
- Perl 5.20 rebuild
|
|
|
07d59dc |
|
|
|
37ead18 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-21
|
|
|
37ead18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
37ead18 |
|
|
|
e41cdbf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-20
|
|
|
e41cdbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e41cdbf |
|
|
|
8db716a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-19
|
|
|
8db716a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8db716a |
|
|
|
8cf0207 |
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.06-18
|
|
|
8cf0207 |
- Perl 5.18 rebuild
|
|
|
8cf0207 |
|
|
|
cb7e131 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-17
|
|
|
cb7e131 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cb7e131 |
|
|
|
c4671ef |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-16
|
|
|
c4671ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c4671ef |
|
|
|
fc5f691 |
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.06-15
|
|
|
fc5f691 |
- Perl 5.16 rebuild
|
|
|
fc5f691 |
|
|
|
91fd1b0 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-14
|
|
|
91fd1b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
91fd1b0 |
|
|
|
b2c3618 |
* Wed Nov 09 2011 Iain Arnell <iarnell@gmail.com> 0.06-13
|
|
|
b2c3618 |
- Rebuild for libpng 1.5
|
|
|
b2c3618 |
|
|
|
75154c7 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-12
|
|
|
75154c7 |
- Perl mass rebuild
|
|
|
75154c7 |
|
|
|
e601abb |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-11
|
|
|
e601abb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e601abb |
|
|
|
7d756ed |
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-10
|
|
|
7d756ed |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
7d756ed |
|
|
|
9daf3f1 |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-9
|
|
|
9daf3f1 |
- Mass rebuild with perl-5.12.0
|
|
|
9daf3f1 |
|
|
|
33e27fc |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-8
|
|
|
33e27fc |
- rebuild against perl 5.10.1
|
|
|
33e27fc |
|
|
|
4badf86 |
* Wed Aug 05 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.06-7
|
|
|
4badf86 |
- Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
|
|
|
4badf86 |
|
|
|
2409aef |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-6
|
|
|
2409aef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2409aef |
|
|
|
a02e8a2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-5
|
|
|
a02e8a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a02e8a2 |
|
|
|
9dae15e |
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.06-4
|
|
|
9dae15e |
- rebuild for new perl
|
|
|
9dae15e |
|
|
|
4533245 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.06-3
|
|
|
4533245 |
- Autorebuild for GCC 4.3
|
|
|
4533245 |
|
|
Chris Weyl |
8a98f82 |
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.06-2
|
|
Chris Weyl |
8a98f82 |
- bump
|
|
Chris Weyl |
8a98f82 |
|
|
Chris Weyl |
8346f72 |
* Sat Jun 02 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
|
Chris Weyl |
8346f72 |
- update to 0.06
|
|
Chris Weyl |
8346f72 |
- add t/ to doc
|
|
Chris Weyl |
8346f72 |
|
|
Chris Weyl |
0fcc149 |
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.03-3
|
|
Chris Weyl |
0fcc149 |
- bump for mass rebuild
|
|
Chris Weyl |
0fcc149 |
|
|
Chris Weyl |
0c3a12f |
* Thu Aug 10 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.03-2
|
|
Chris Weyl |
0c3a12f |
- bump for release
|
|
Chris Weyl |
0c3a12f |
|
|
Chris Weyl |
e5fe8f8 |
* Fri Jul 28 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
|
|
Chris Weyl |
e5fe8f8 |
- Initial spec file for F-E
|