]> git.pld-linux.org Git - packages/perl-Gtk2-TrayManager.git/blob - perl-Gtk2-TrayManager.spec
- release 9 (by relup.sh)
[packages/perl-Gtk2-TrayManager.git] / perl-Gtk2-TrayManager.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Gtk2
7 %define         pnam    TrayManager
8 Summary:        Gtk2::TrayManager - Perl bindings for EggTrayManager
9 Summary(pl.UTF-8):      Gtk2::TrayManager - Dowiązania Perla dla EggTrayManager
10 Name:           perl-Gtk2-TrayManager
11 Version:        0.05
12 Release:        9
13 License:        LGPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  88cf41ab0d72572ac3d2e9ab9b3ab8f0
17 URL:            http://gtk2-perl.sourceforge.net/
18 BuildRequires:  libglade2-devel >= 2.0.0
19 BuildRequires:  perl-Glib >= 1.00
20 BuildRequires:  perl-Gtk2 >= 1.00
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  perl-ExtUtils-Depends
23 BuildRequires:  perl-ExtUtils-PkgConfig
24 BuildRequires:  rpm-perlprov >= 4.1-13
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Gtk2::TrayManager allows a Perl developer to create notification area
29 applications.
30
31 %description -l pl.UTF-8
32 Gtk2::TrayManager pozwala programistom perlowym na tworzenie programów
33 wykorzystujących obszar powiadamiania.
34
35 %prep
36 %setup -q -n %{pdir}-%{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} 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 %{perl_vendorarch}/Gtk2/TrayManager.pm
60 %dir %{perl_vendorarch}/Gtk2/TrayManager
61 %{perl_vendorarch}/Gtk2/TrayManager/Install
62 %dir %{perl_vendorarch}/auto/Gtk2/TrayManager
63 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayManager/*.so
64 %{_mandir}/man3/*
This page took 0.079491 seconds and 3 git commands to generate.