]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blob - perl-Gtk2-TrayIcon.spec
- replaced bogus descriptions/summaries with proper ones
[packages/perl-Gtk2-TrayIcon.git] / perl-Gtk2-TrayIcon.spec
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
6 Version:        0.04
7 Release:        1
8 License:        LGPL
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)
19
20 %description
21 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
22 widget in a System Tray like the GNOME notification area.
23
24 %description -l pl
25 Modu³ Gtk2::TrayIcon umo¿liwia programistom perlowym umieszczanie
26 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
27 obszarze powiadamiania GNOME.
28
29 %prep
30 %setup -q -n %{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35
36 %{__make} \
37         OPTIMIZE="%{rpmcflags}"
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
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
58 %{_mandir}/man3/*
This page took 0.179993 seconds and 4 git commands to generate.