]> git.pld-linux.org Git - packages/mate-applet-indicator.git/blob - mate-applet-indicator.spec
edc8142fe170237d9a8afa3ff2c90b48aada5c22
[packages/mate-applet-indicator.git] / mate-applet-indicator.spec
1 #
2 # Conditional build:
3 %bcond_with     gtk3            # use GTK+ 3.x instead of 2.x
4 #
5 Summary:        Small applet to display information from various applications consistently in the panel
6 Summary(pl.UTF-8):      Mały aplet do spójnego wyświetlania w panelu informacji od różnych aplikacji
7 Name:           mate-applet-indicator
8 Version:        1.14.1
9 Release:        1
10 License:        GPL v3
11 Group:          X11/Applications
12 Source0:        http://pub.mate-desktop.org/releases/1.14/mate-indicator-applet-%{version}.tar.xz
13 # Source0-md5:  92ee2f8e1cb5495d8206c3223ec3e764
14 URL:            http://mate-desktop.org/
15 BuildRequires:  autoconf >= 2.53
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  gettext-tools >= 0.10.40
18 BuildRequires:  glib2-devel >= 2.0
19 %{!?with_gtk3:BuildRequires:    gtk+2-devel >= 2:2.24}
20 %{?with_gtk3:BuildRequires:     gtk+3-devel >= 3.0}
21 BuildRequires:  intltool >= 0.35.0
22 %{!?with_gtk3:BuildRequires:    libindicator-devel >= 0.4}
23 %{?with_gtk3:BuildRequires:     libindicator-gtk3-devel >= 0.4}
24 # for indicators-ng support (when ido 13.10 available)
25 #%{?with_gtk3:BuildRequires:    ido-gtk3-devel >= 13.10}
26 #%{?with_gtk3:BuildRequires:    libindicator-gtk3-devel >= 12.10}
27 BuildRequires:  libtool >= 1:1.4.3
28 BuildRequires:  mate-panel-devel
29 BuildRequires:  pkgconfig >= 1:0.19
30 BuildRequires:  tar >= 1:1.22
31 BuildRequires:  xorg-lib-libX11-devel
32 BuildRequires:  xz
33 Requires(post,postun):  gtk-update-icon-cache
34 %{!?with_gtk3:Requires: gtk+2 >= 2:2.24}
35 %{?with_gtk3:Requires:  gtk+3 >= 3.0}
36 Requires:       hicolor-icon-theme
37 Requires:       mate-panel
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %define         _libexecdir     %{_libdir}/mate-panel
41
42 %description
43 The indicator applet exposes Ayatana Indicators in the MATE Panel.
44 Ayatana Indicators are an initiative by Canonical to provide crisp and
45 clean system and application status indication. They take the form of
46 an icon and associated menu, displayed (usually) in the desktop panel.
47 Existing indicators include the Message Menu, Battery Menu and Sound
48 menu.
49
50 MATE Indicator Applet is a fork of Indicator Applet for GNOME
51 (<https://launchpad.net/indicator-applet>).
52
53 %description -l pl.UTF-8
54 Aplet indicator uwidacznia wskaźniki Ayatana w panelu MATE. Wskaźniki
55 Ayatana (Ayatana Indicators) to inicjatywa Canonical mająca na celu
56 zapewnienie świeżych i przejrzystych wskazań dotyczących stanu systemu
57 i aplikacji. Mają postać ikony i związanego z nią menu, wyświetlanych
58 (zwykle) w panelu pulpitu. Istniejące wskaźniki obejmują menu
59 komunikatów, menu baterii oraz menu dźwięku.
60
61 MATE Indicator Applet to odgałęzienie pakietu Indicator Applet dla
62 GNOME (<https://launchpad.net/indicator-applet>).
63
64 %prep
65 %setup -q -n mate-indicator-applet-%{version}
66
67 %build
68 %{__intltoolize}
69 %{__libtoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --disable-silent-rules \
76         %{?with_gtk3:--with-gtk=3.0}
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv}
87
88 %find_lang mate-indicator-applet
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 %update_icon_cache hicolor
95
96 %postun
97 %update_icon_cache hicolor
98
99 %files -f mate-indicator-applet.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog NEWS README
102 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet
103 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet-appmenu
104 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet-complete
105 %{_datadir}/dbus-1/services/org.mate.panel.applet.IndicatorApplet*.service
106 %{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorApplet*.mate-panel-applet
107 %{_iconsdir}/hicolor/scalable/apps/mate-indicator-applet.svg
This page took 0.10499 seconds and 2 git commands to generate.