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