]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blob - perl-Gtk2-TrayIcon.spec
- updated macros
[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 BuildRequires:  rpmbuild(macros) >= 1.745
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
28 widget in a System Tray like the GNOME notification area.
29
30 %description -l pl.UTF-8
31 Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie
32 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
33 obszarze powiadamiania GNOME.
34
35 %prep
36 %setup -q -n %{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41
42 %{__make} \
43         CC="%{__cc}" \
44         OPTIMIZE="%{rpmcflags}"
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} pure_install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ChangeLog README TODO
60 %{perl_vendorarch}/Gtk2/TrayIcon.pm
61 %dir %{perl_vendorarch}/Gtk2/TrayIcon
62 %{perl_vendorarch}/Gtk2/TrayIcon/Install
63 %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
64 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.so
65 %{_mandir}/man3/Gtk2::TrayIcon*.3pm*
This page took 0.039943 seconds and 3 git commands to generate.