]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blob - perl-Gtk2-TrayIcon.spec
569d1dd66d7516e2d2416d962a8b94f07192fd22
[packages/perl-Gtk2-TrayIcon.git] / perl-Gtk2-TrayIcon.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
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
9 Version:        0.06
10 Release:        15
11 License:        LGPL v2+
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)
24
25 %description
26 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
27 widget in a System Tray like the GNOME notification area.
28
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.
33
34 %prep
35 %setup -q -n %{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40
41 %{__make} \
42         CC="%{__cc}" \
43         OPTIMIZE="%{rpmcflags}"
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} pure_install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
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*
This page took 0.048925 seconds and 2 git commands to generate.