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