]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blob - perl-Gtk2-TrayIcon.spec
- updated to 0.07, deprecated now
[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.07
10 Release:        1
11 License:        LGPL v2+
12 Group:          Development/Languages/Perl
13 Source0:        https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5:  c3db5edd7c39ca52625d664b0fb988a5
15 URL:            http://gtk2-perl.sourceforge.net/
16 BuildRequires:  perl-ExtUtils-Depends >= 0.1
17 BuildRequires:  perl-ExtUtils-PkgConfig >= 0.1
18 BuildRequires:  perl-Glib-devel >= 1.00
19 BuildRequires:  perl-Gtk2-devel >= 1.00
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRequires:  rpmbuild(macros) >= 1.745
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
27 widget in a System Tray like the GNOME notification area.
28
29 Note: this module is deprecated and no longer maintained.
30
31 %description -l pl.UTF-8
32 Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie
33 dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
34 obszarze powiadamiania GNOME.
35
36 Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
37
38 %package devel
39 Summary:        Development files for Perl Gtk2-TrayIcon bindings
40 Summary(pl.UTF-8):      Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla
41 Group:          Development/Languages/Perl
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       perl-Cairo-devel
44 Requires:       perl-Glib-devel >= 1.00
45 Requires:       perl-Gtk2-devel >= 1.00
46
47 %description devel
48 Development files for Perl Gtk2-TrayIcon bindings.
49
50 %description devel -l pl.UTF-8
51 Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla.
52
53 %prep
54 %setup -q -n %{pnam}-%{version}
55
56 %build
57 %{__perl} Makefile.PL \
58         INSTALLDIRS=vendor
59
60 %{__make} \
61         CC="%{__cc}" \
62         OPTIMIZE="%{rpmcflags}"
63
64 %{?with_tests:%{__make} test}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} pure_install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc ChangeLog README TODO
78 %{perl_vendorarch}/Gtk2/TrayIcon.pm
79 %dir %{perl_vendorarch}/Gtk2/TrayIcon
80 %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
81 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/TrayIcon.so
82 %{_mandir}/man3/Gtk2::TrayIcon*.3pm*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %{perl_vendorarch}/Gtk2/TrayIcon/Install
This page took 0.092803 seconds and 3 git commands to generate.