3 %bcond_without tests # do not perform "make test"
6 %define pnam TrayManager
7 Summary: Gtk2::TrayManager - Perl bindings for EggTrayManager
8 Summary(pl.UTF-8): Gtk2::TrayManager - Dowiązania Perla dla EggTrayManager
9 Name: perl-Gtk2-TrayManager
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 88cf41ab0d72572ac3d2e9ab9b3ab8f0
16 URL: http://gtk2-perl.sourceforge.net/
17 BuildRequires: libglade2-devel >= 2.0.0
18 BuildRequires: perl-Glib >= 1.00
19 BuildRequires: perl-Gtk2 >= 1.00
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: perl-ExtUtils-Depends
22 BuildRequires: perl-ExtUtils-PkgConfig
23 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Gtk2::TrayManager allows a Perl developer to create notification area
30 %description -l pl.UTF-8
31 Gtk2::TrayManager pozwala programistom perlowym na tworzenie programów
32 wykorzystujących obszar powiadamiania.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
43 OPTIMIZE="%{rpmcflags}"
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %{perl_vendorarch}/Gtk2/TrayManager.pm
59 %dir %{perl_vendorarch}/Gtk2/TrayManager
60 %{perl_vendorarch}/Gtk2/TrayManager/Install
61 %dir %{perl_vendorarch}/auto/Gtk2/TrayManager
62 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayManager/*.so