1 Summary: Small applet to display information from various applications consistently in the panel
2 Summary(pl.UTF-8): Mały aplet do spójnego wyświetlania w panelu informacji od różnych aplikacji
3 Name: mate-applet-indicator
7 Group: X11/Applications
8 Source0: http://pub.mate-desktop.org/releases/1.22/mate-indicator-applet-%{version}.tar.xz
9 # Source0-md5: 42b5815cb454795bfca37ca5220712fd
10 URL: http://mate-desktop.org/
11 BuildRequires: autoconf >= 2.53
12 BuildRequires: automake >= 1:1.9
13 BuildRequires: gettext-tools >= 0.10.40
14 BuildRequires: glib2-devel >= 2.0
15 BuildRequires: gtk+3-devel >= 3.22
16 BuildRequires: intltool >= 0.35.0
17 BuildRequires: libindicator-gtk3-devel >= 0.4
18 # for indicators-ng support (when ido 13.10 available)
19 #BuildRequires: ido-gtk3-devel >= 13.10
20 #BuildRequires: libindicator-gtk3-devel >= 12.10.2
21 BuildRequires: libtool >= 1:1.4.3
22 BuildRequires: mate-panel-devel >= 1.17.0
23 BuildRequires: pkgconfig >= 1:0.19
24 BuildRequires: tar >= 1:1.22
25 BuildRequires: xorg-lib-libX11-devel
27 Requires(post,postun): gtk-update-icon-cache
28 Requires: gtk+3 >= 3.22
29 Requires: hicolor-icon-theme
30 Requires: mate-panel >= 1.17.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 # use the same libexecdir as mate-panel
34 # (better solution: store mate-panel libexecdir in libmatepanelapplet-*.pc and read it here)
35 %define matepanel_libexecdir %{_libexecdir}/mate-panel
38 The indicator applet exposes Ayatana Indicators in the MATE Panel.
39 Ayatana Indicators are an initiative by Canonical to provide crisp and
40 clean system and application status indication. They take the form of
41 an icon and associated menu, displayed (usually) in the desktop panel.
42 Existing indicators include the Message Menu, Battery Menu and Sound
45 MATE Indicator Applet is a fork of Indicator Applet for GNOME
46 (<https://launchpad.net/indicator-applet>).
48 %description -l pl.UTF-8
49 Aplet indicator uwidacznia wskaźniki Ayatana w panelu MATE. Wskaźniki
50 Ayatana (Ayatana Indicators) to inicjatywa Canonical mająca na celu
51 zapewnienie świeżych i przejrzystych wskazań dotyczących stanu systemu
52 i aplikacji. Mają postać ikony i związanego z nią menu, wyświetlanych
53 (zwykle) w panelu pulpitu. Istniejące wskaźniki obejmują menu
54 komunikatów, menu baterii oraz menu dźwięku.
56 MATE Indicator Applet to odgałęzienie pakietu Indicator Applet dla
57 GNOME (<https://launchpad.net/indicator-applet>).
60 %setup -q -n mate-indicator-applet-%{version}
70 --libexecdir=%{matepanel_libexecdir} \
71 --disable-silent-rules
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
81 # es_ES,ku_IQ,ur_PK are outdated versions of es,ku,ur; the rest not supported by glibc
82 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nqo,pms,ur_PK,zh-Hans}
84 %find_lang mate-indicator-applet
87 rm -rf $RPM_BUILD_ROOT
90 %update_icon_cache hicolor
93 %update_icon_cache hicolor
95 %files -f mate-indicator-applet.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README
98 %attr(755,root,root) %{matepanel_libexecdir}/mate-indicator-applet
99 %attr(755,root,root) %{matepanel_libexecdir}/mate-indicator-applet-appmenu
100 %attr(755,root,root) %{matepanel_libexecdir}/mate-indicator-applet-complete
101 %{_datadir}/dbus-1/services/org.mate.panel.applet.IndicatorApplet*.service
102 %{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorApplet*.mate-panel-applet
103 %{_iconsdir}/hicolor/scalable/apps/mate-indicator-applet.svg