1 %include /usr/lib/rpm/macros.perl
2 %define pnam Gtk2-TrayIcon
3 Summary: Gtk2::TrayIcon - Perl interface to the EggTrayIcon library
4 Summary(pl): Gtk2::TrayIcon - interfejs perlowy do biblioteki EggTrayIcon
5 Name: perl-Gtk2-TrayIcon
9 Group: Development/Languages/Perl
10 Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
11 # Source0-md5: eff5603bba7eb0f20e56a0d4ce1874db
12 URL: http://gtk2-perl.sourceforge.net/
13 BuildRequires: libglade2-devel >= 2.0.0
14 BuildRequires: perl-Glib >= 1.00
15 BuildRequires: perl-Gtk2 >= 1.00
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
22 widget in a System Tray like the GNOME notification area.
25 Modu³ Gtk2::TrayIcon umo¿liwia programistom perlowym umieszczanie
26 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
27 obszarze powiadamiania GNOME.
30 %setup -q -n %{pnam}-%{version}
33 %{__perl} Makefile.PL \
37 OPTIMIZE="%{rpmcflags}"
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{perl_vendorarch}/Gtk2/TrayIcon.pm
53 %dir %{perl_vendorarch}/Gtk2/TrayIcon
54 %{perl_vendorarch}/Gtk2/TrayIcon/Install
55 %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
56 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.so
57 %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.bs