]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blob - perl-Gtk2-TrayIcon.spec
- rebuild for perl 5.20
[packages/perl-Gtk2-TrayIcon.git] / perl-Gtk2-TrayIcon.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pnam    Gtk2-TrayIcon
7 Summary:        Gtk2::TrayIcon - Perl interface to the EggTrayIcon library
8 Summary(pl.UTF-8):      Gtk2::TrayIcon - interfejs perlowy do biblioteki EggTrayIcon
9 Name:           perl-Gtk2-TrayIcon
10 Version:        0.06
11 Release:        6
12 License:        LGPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  522c328f14681a25d76eeaf317e05049
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-ExtUtils-Depends >= 0.1
21 BuildRequires:  perl-ExtUtils-PkgConfig >= 0.1
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
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 %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.bs
66 %{_mandir}/man3/Gtk2::TrayIcon*.3pm*
This page took 0.058539 seconds and 3 git commands to generate.