3 %bcond_without tests # do not perform "make test"
5 %define pnam Gtk2-TrayIcon
6 Summary: Gtk2::TrayIcon - Perl interface to the EggTrayIcon library
7 Summary(pl.UTF-8): Gtk2::TrayIcon - interfejs perlowy do biblioteki EggTrayIcon
8 Name: perl-Gtk2-TrayIcon
12 Group: Development/Languages/Perl
13 Source0: https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5: c3db5edd7c39ca52625d664b0fb988a5
15 URL: http://gtk2-perl.sourceforge.net/
16 BuildRequires: perl-ExtUtils-Depends >= 0.1
17 BuildRequires: perl-ExtUtils-PkgConfig >= 0.1
18 BuildRequires: perl-Glib-devel >= 1.00
19 BuildRequires: perl-Gtk2-devel >= 1.00
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: rpmbuild(macros) >= 1.745
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
27 widget in a System Tray like the GNOME notification area.
29 Note: this module is deprecated and no longer maintained.
31 %description -l pl.UTF-8
32 Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie
33 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
34 obszarze powiadamiania GNOME.
36 Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
39 Summary: Development files for Perl Gtk2-TrayIcon bindings
40 Summary(pl.UTF-8): Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla
41 Group: Development/Languages/Perl
42 Requires: %{name} = %{version}-%{release}
43 Requires: perl-Cairo-devel
44 Requires: perl-Glib-devel >= 1.00
45 Requires: perl-Gtk2-devel >= 1.00
48 Development files for Perl Gtk2-TrayIcon bindings.
50 %description devel -l pl.UTF-8
51 Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla.
54 %setup -q -n %{pnam}-%{version}
57 %{__perl} Makefile.PL \
62 OPTIMIZE="%{rpmcflags}"
64 %{?with_tests:%{__make} test}
67 rm -rf $RPM_BUILD_ROOT
69 %{__make} pure_install \
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc ChangeLog README TODO
78 %{perl_vendorarch}/Gtk2/TrayIcon.pm
79 %dir %{perl_vendorarch}/Gtk2/TrayIcon
80 %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
81 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/TrayIcon.so
82 %{_mandir}/man3/Gtk2::TrayIcon*.3pm*
85 %defattr(644,root,root,755)
86 %{perl_vendorarch}/Gtk2/TrayIcon/Install