]>
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 | |
15c547be | 4 | Version: 1.22.1 |
f6bfe495 | 5 | Release: 1 |
0c351917 JB |
6 | License: GPL v3 |
7 | Group: X11/Applications | |
f6bfe495 | 8 | Source0: http://pub.mate-desktop.org/releases/1.22/mate-indicator-applet-%{version}.tar.xz |
15c547be | 9 | # Source0-md5: 42b5815cb454795bfca37ca5220712fd |
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 |
a6d92912 | 15 | BuildRequires: gtk+3-devel >= 3.22 |
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 | |
a6d92912 | 28 | Requires: gtk+3 >= 3.22 |
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 | ||
b93a5846 JB |
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 | |
0c351917 JB |
36 | |
37 | %description | |
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 | |
43 | menu. | |
44 | ||
45 | MATE Indicator Applet is a fork of Indicator Applet for GNOME | |
46 | (<https://launchpad.net/indicator-applet>). | |
47 | ||
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. | |
55 | ||
56 | MATE Indicator Applet to odgałęzienie pakietu Indicator Applet dla | |
57 | GNOME (<https://launchpad.net/indicator-applet>). | |
58 | ||
59 | %prep | |
60 | %setup -q -n mate-indicator-applet-%{version} | |
61 | ||
0c351917 JB |
62 | %build |
63 | %{__intltoolize} | |
64 | %{__libtoolize} | |
65 | %{__aclocal} -I m4 | |
66 | %{__autoconf} | |
67 | %{__autoheader} | |
68 | %{__automake} | |
69 | %configure \ | |
b93a5846 | 70 | --libexecdir=%{matepanel_libexecdir} \ |
9b079bcd | 71 | --disable-silent-rules |
0c351917 JB |
72 | |
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
b93a5846 | 81 | # es_ES,ku_IQ,ur_PK are outdated versions of es,ku,ur; the rest not supported by glibc |
15c547be | 82 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nqo,pms,ur_PK,zh-Hans} |
0c351917 JB |
83 | |
84 | %find_lang mate-indicator-applet | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post | |
90 | %update_icon_cache hicolor | |
91 | ||
92 | %postun | |
93 | %update_icon_cache hicolor | |
94 | ||
95 | %files -f mate-indicator-applet.lang | |
96 | %defattr(644,root,root,755) | |
a2fbc160 | 97 | %doc AUTHORS ChangeLog NEWS README |
b93a5846 JB |
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 | |
0c351917 JB |
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 |