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: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5: 522c328f14681a25d76eeaf317e05049
15 URL: http://gtk2-perl.sourceforge.net/
16 BuildRequires: libglade2-devel >= 2.0.0
17 BuildRequires: perl-Glib >= 1.00
18 BuildRequires: perl-Gtk2 >= 1.00
19 BuildRequires: perl-ExtUtils-Depends >= 0.1
20 BuildRequires: perl-ExtUtils-PkgConfig >= 0.1
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
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 %description -l pl.UTF-8
30 Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie
31 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
32 obszarze powiadamiania GNOME.
35 %setup -q -n %{pnam}-%{version}
38 %{__perl} Makefile.PL \
43 OPTIMIZE="%{rpmcflags}"
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc ChangeLog README TODO
59 %{perl_vendorarch}/Gtk2/TrayIcon.pm
60 %dir %{perl_vendorarch}/Gtk2/TrayIcon
61 %{perl_vendorarch}/Gtk2/TrayIcon/Install
62 %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
63 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.so
64 %{_mandir}/man3/Gtk2::TrayIcon*.3pm*