]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - cpufreq applet does not start | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without gucharmap # Gucharmap (character map) support in charpicker applet | |
6 | ||
7 | Summary: Small applications which embed themselves in the MATE panel | |
8 | Summary(pl.UTF-8): Aplety MATE - małe aplikacje osadzające się w panelu | |
9 | Summary(ru.UTF-8): Маленькие программы, встраивающиеся в панель MATE | |
10 | Summary(uk.UTF-8): Маленькі програми, що вбудовуються в панель MATE | |
11 | Name: mate-applets | |
12 | Version: 1.22.2 | |
13 | Release: 1 | |
14 | License: GPL v2+ (applets), FDL (help) | |
15 | Group: X11/Applications | |
16 | Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz | |
17 | # Source0-md5: 7856be3f2609a60fc54cfe008b08dca2 | |
18 | # check paths in Makefile before removing it! | |
19 | Patch0: m4_fix.patch | |
20 | Patch1: uidir.patch | |
21 | URL: https://github.com/mate-desktop/mate-applets | |
22 | BuildRequires: NetworkManager-devel >= 0.7 | |
23 | %ifarch %{ix86} %{arm} mips ppc sh | |
24 | BuildRequires: apmd-devel | |
25 | %endif | |
26 | BuildRequires: autoconf >= 2.59 | |
27 | BuildRequires: automake >= 1:1.9 | |
28 | BuildRequires: dbus-devel >= 1.1.2 | |
29 | BuildRequires: dbus-glib-devel >= 0.74 | |
30 | BuildRequires: gettext-tools >= 0.10.40 | |
31 | BuildRequires: glib2-devel >= 1:2.50.0 | |
32 | BuildRequires: gtk+3-devel >= 3.22 | |
33 | BuildRequires: gtksourceview3-devel >= 3.0 | |
34 | BuildRequires: intltool >= 0.50.1 | |
35 | BuildRequires: kernel-tools-cpupower-libs-devel >= 4.7 | |
36 | BuildRequires: libgtop-devel >= 1:2.12.0 | |
37 | BuildRequires: libiw-devel >= 28-0.pre9 | |
38 | BuildRequires: libmateweather-devel >= 1.19.1 | |
39 | BuildRequires: libnotify-devel >= 0.7.0 | |
40 | BuildRequires: libtool >= 1:1.4.3 | |
41 | BuildRequires: libwnck-devel >= 3.0.0 | |
42 | BuildRequires: libxml2-devel >= 1:2.5.0 | |
43 | BuildRequires: linux-libc-headers >= 7:4.7 | |
44 | %if %{with gucharmap} | |
45 | BuildRequires: gucharmap-devel >= 3.0.0 | |
46 | %endif | |
47 | BuildRequires: mate-common >= 1.1.0 | |
48 | BuildRequires: mate-panel-devel >= 1.17.0 | |
49 | BuildRequires: mate-settings-daemon-devel | |
50 | BuildRequires: pkgconfig >= 1:0.19 | |
51 | BuildRequires: polkit-devel >= 0.97 | |
52 | BuildRequires: rpmbuild(find_lang) >= 1.36 | |
53 | BuildRequires: rpmbuild(macros) >= 1.311 | |
54 | BuildRequires: sed >= 4.0 | |
55 | BuildRequires: tar >= 1:1.22 | |
56 | BuildRequires: upower-devel >= 0.9.4 | |
57 | BuildRequires: xorg-lib-libX11-devel | |
58 | BuildRequires: xz | |
59 | BuildRequires: yelp-tools | |
60 | Obsoletes: mate-applet-invest | |
61 | # sr@Latn vs. sr@latin | |
62 | Conflicts: glibc-misc < 6:2.7 | |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
64 | ||
65 | # use the same libexecdir as mate-panel | |
66 | # (better solution: store mate-panel libexecdir in libmatepanelapplet-*.pc and read it here) | |
67 | %define matepanel_libexecdir %{_libexecdir}/mate-panel | |
68 | ||
69 | %description | |
70 | The mate-applets package provides Panel applets which enhance your | |
71 | MATE experience. | |
72 | ||
73 | %description -l pl.UTF-8 | |
74 | Pakiet mate-applets udostępnia aplety Panelu, które usprawniają pracę | |
75 | z MATE. | |
76 | ||
77 | %description -l uk.UTF-8 | |
78 | Пакет mate-applets містить аплети Панелі MATE, що збільшують | |
79 | комфортність роботи в середовищі MATE. | |
80 | ||
81 | %description -l ru.UTF-8 | |
82 | Пакет mate-applets содержит апплеты Панели MATE, увеличивающие | |
83 | комфортность работы в среде MATE. | |
84 | ||
85 | %package -n mate-applet-accessx-status | |
86 | Summary: Keyboard Accessibility Status applet for MATE Desktop | |
87 | Summary(pl.UTF-8): Aplet stanu dostepności klawiatury dla środowiska MATE | |
88 | Group: X11/Applications | |
89 | Requires(post,postun): gtk-update-icon-cache | |
90 | Requires: %{name} = %{version}-%{release} | |
91 | Requires: glib2 >= 1:2.50.0 | |
92 | Requires: gtk+3 >= 3.22 | |
93 | Requires: mate-icon-theme >= 1.1.0 | |
94 | Requires: mate-panel >= 1.17.0 | |
95 | Suggests: mate-control-center >= 1.5 | |
96 | ||
97 | %description -n mate-applet-accessx-status | |
98 | The Keyboard Accessibility Monitor shows you the status of the | |
99 | keyboard accessibility features when these are in use. For example, | |
100 | you can see which modifier keys are currently active, and which mouse | |
101 | buttons are being pressed via the keyboard. | |
102 | ||
103 | %description -n mate-applet-accessx-status -l pl.UTF-8 | |
104 | Aplet monitora dostępności klawiatury pokazuje stan funkcji | |
105 | zwiększających dostępność klawiatury, kiedy są włączone. Pozwala | |
106 | zobaczyć m.in. które klawisze modyfikatorów są aktywne albo które | |
107 | przyciski myszy są wciskane z poziomu klawiatury. | |
108 | ||
109 | %package -n mate-applet-battstat | |
110 | Summary: Battery Charge Monitor applet for MATE Desktop | |
111 | Summary(pl.UTF-8): Aplet monitora stanu naładowania akumulatora dla środowiska MATE | |
112 | Group: X11/Applications | |
113 | Requires: %{name} = %{version}-%{release} | |
114 | Requires: glib2 >= 1:2.50.0 | |
115 | Requires: gtk+3 >= 3.22 | |
116 | Requires: libnotify >= 0.7.0 | |
117 | Requires: mate-panel >= 1.17.0 | |
118 | Requires: upower >= 0.9.4 | |
119 | ||
120 | %description -n mate-applet-battstat | |
121 | The Battery Charge Monitor shows the status of any batteries in your | |
122 | laptop computer. The monitor can tell you the capacity remaining both | |
123 | visually and as a percentage, as well as offer you an estimate of the | |
124 | time remaining based off the current usage rate. | |
125 | ||
126 | %description -n mate-applet-battstat -l pl.UTF-8 | |
127 | Aplet monitora stanu naładowania akumulatora pokazuje stan wszelkich | |
128 | baterii w laptopie. Monitor informuje o pozostałej pojemności zarówno | |
129 | w postaci graficznej, jak i procentowej, a także podaje przybliżony | |
130 | pozostały czas pracy przy założeniu bieżącego użycia prądu. | |
131 | ||
132 | %package -n mate-applet-charpicker | |
133 | Summary: Character Palette applet for MATE Desktop | |
134 | Summary(pl.UTF-8): Aplet palety znaków dla środowiska MATE | |
135 | Group: X11/Applications | |
136 | Requires(post,postun): gtk-update-icon-cache | |
137 | Requires: %{name} = %{version}-%{release} | |
138 | Requires: glib2 >= 1:2.50.0 | |
139 | Requires: gtk+3 >= 3.22 | |
140 | %if %{with gucharmap} | |
141 | Requires: gucharmap-libs >= 3.0.0 | |
142 | %endif | |
143 | Requires: hicolor-icon-theme | |
144 | Requires: mate-panel >= 1.17.0 | |
145 | ||
146 | %description -n mate-applet-charpicker | |
147 | The Character Palette provides a convenient way to access characters | |
148 | that are not on your keyboard, such as accented characters, | |
149 | mathematical symbols, special symbols, and punctuation marks. | |
150 | ||
151 | You can insert characters from the applet into text strings, for | |
152 | example in text documents or at the command line. You can customize | |
153 | the contents of the applet to suit your requirements. | |
154 | ||
155 | Character Palette supports the UTF-8 character encoding so you can use | |
156 | the palette to display or copy any Unicode character. | |
157 | ||
158 | %description -n mate-applet-charpicker -l pl.UTF-8 | |
159 | Aplet palety znaków udostępnia wygodną metodę wprowadzania znaków nie | |
160 | istniejących na klawiaturze, takich jak znaki akcentowane, symbole | |
161 | matematyczne, symbole specjalne i znaki przestankowe. | |
162 | ||
163 | Przy pomocy apletu można wprowadzać znaki do łańcuchów tekstowych, na | |
164 | przykład w dokumentach tekstowych lub w linii poleceń. Zawartość | |
165 | apletu można dostosowywać do własnych wymagań. | |
166 | ||
167 | Paleta znaków obsługuje kodowanie znaków UTF-8, więc można jej używać | |
168 | do wyświetlania lub kopiowania dowolnych znaków unikodowych. | |
169 | ||
170 | %package -n mate-applet-command | |
171 | Summary: Command applet for MATE Desktop | |
172 | Summary(pl.UTF-8): Aplet uruchamiania poleceń dla środowiska MATE | |
173 | Group: X11/Applications | |
174 | Requires: %{name} = %{version}-%{release} | |
175 | Requires: glib2 >= 1:2.50.0 | |
176 | Requires: gtk+3 >= 3.22 | |
177 | Requires: hicolor-icon-theme | |
178 | Requires: mate-panel >= 1.17.0 | |
179 | ||
180 | %description -n mate-applet-command | |
181 | Command applet for MATE Desktop. | |
182 | ||
183 | %description -n mate-applet-command -l pl.UTF-8 | |
184 | Aplet uruchamiania poleceń dla środowiska MATE. | |
185 | ||
186 | %package -n mate-applet-cpufreq | |
187 | Summary: CPU Frequency Scaling Monitor applet for MATE Desktop | |
188 | Summary(pl.UTF-8): Aplet monitora częstotliwości procesora dla środowiska MATE | |
189 | Group: X11/Applications | |
190 | Requires(post,postun): gtk-update-icon-cache | |
191 | Requires: %{name} = %{version}-%{release} | |
192 | Requires: gtk+3 >= 3.22 | |
193 | Requires: hicolor-icon-theme | |
194 | Requires: kernel-tools-cpupower-libs >= 4.7 | |
195 | Requires: mate-panel >= 1.17.0 | |
196 | Requires: mate-polkit | |
197 | Requires: polkit >= 0.97 | |
198 | ||
199 | %description -n mate-applet-cpufreq | |
200 | The CPU Frequency Scaling Monitor provides a convenient way to monitor | |
201 | the CPU Frequency Scaling for each CPU. | |
202 | ||
203 | %description -n mate-applet-cpufreq -l pl.UTF-8 | |
204 | Aplet monitora częstotliwości procesora umożliwia wygodne | |
205 | monitorowanie częstotliwości dla każdego procesora. | |
206 | ||
207 | %package -n mate-applet-drivemount | |
208 | Summary: Disk Mounter applet for MATE Desktop | |
209 | Summary(pl.UTF-8): Aplet do montowania dysków dla środowiska MATE | |
210 | Group: X11/Applications | |
211 | Requires: %{name} = %{version}-%{release} | |
212 | Requires: glib2 >= 1:2.50.0 | |
213 | Requires: gtk+3 >= 3.22 | |
214 | Requires: mate-panel >= 1.17.0 | |
215 | ||
216 | %description -n mate-applet-drivemount | |
217 | The Disk Mounter enables you to quickly mount and unmount various | |
218 | types of drives and file systems. | |
219 | ||
220 | %description -n mate-applet-drivemount -l pl.UTF-8 | |
221 | Aplet do montowania dysków, pozwalający szybko montować i odmontowywać | |
222 | różne rodzaje dysków i systemów plików. | |
223 | ||
224 | %package -n mate-applet-geyes | |
225 | Summary: Geyes applet - tracking the mouse pointer for MATE Desktop | |
226 | Summary(pl.UTF-8): Aplet geyes - śledzenie wskaźnika myszy dla środowiska MATE | |
227 | Group: X11/Applications | |
228 | Requires(post,postun): gtk-update-icon-cache | |
229 | Requires: %{name} = %{version}-%{release} | |
230 | Requires: glib2 >= 1:2.50.0 | |
231 | Requires: gtk+3 >= 3.22 | |
232 | Requires: hicolor-icon-theme | |
233 | Requires: mate-panel >= 1.17.0 | |
234 | ||
235 | %description -n mate-applet-geyes | |
236 | The Geyes applet provides an entertaining way to track the movement of | |
237 | the mouse pointer around your screen. The applet is an image of one or | |
238 | more eyes that follow the mouse pointer around the screen. | |
239 | ||
240 | %description -n mate-applet-geyes -l pl.UTF-8 | |
241 | Aplet geyes to zabawny sposób śledzenia ruchu wskaźnika myszy po | |
242 | ekranie. Aplet jest obrazem jednego lub większej liczby oczu | |
243 | podążających za wskaźnikiem myszy. | |
244 | ||
245 | %package -n mate-applet-gweather | |
246 | Summary: Weather Report applet for MATE Desktop | |
247 | Summary(pl.UTF-8): Aplet raportu pogodowego dla środowiska MATE | |
248 | Group: X11/Applications | |
249 | Requires: %{name} = %{version}-%{release} | |
250 | Requires: dbus >= 1.1.2 | |
251 | Requires: dbus(org.freedesktop.Notifications) | |
252 | Requires: dbus-glib >= 0.74 | |
253 | Requires: glib2 >= 1:2.50.0 | |
254 | Requires: gtk+3 >= 3.22 | |
255 | Requires: libmateweather >= 1.19.1 | |
256 | Requires: libnotify >= 0.7.0 | |
257 | Requires: mate-panel >= 1.17.0 | |
258 | ||
259 | %description -n mate-applet-gweather | |
260 | The Weather Report downloads weather information from the U.S. | |
261 | National Weather Service (NWS) servers, including the Interactive | |
262 | Weather Information Network (IWIN) and other weather services. You can | |
263 | use Weather Report to display current weather information and weather | |
264 | forecasts on your computer. | |
265 | ||
266 | %description -n mate-applet-gweather -l pl.UTF-8 | |
267 | Aplet raportu pogodowego ściąga informacje pogodowe z serwerów U.S. | |
268 | National Weather Service (NWS), wraz z siecią Interactive Weather | |
269 | Information Network (IWIN) oraz innych serwisów pogodowych. Apletu | |
270 | można używać do wyświetlania aktualnych informacji pogodowych oraz | |
271 | prognoz. | |
272 | ||
273 | %package -n mate-applet-multiload | |
274 | Summary: System Monitor applet for MATE Desktop | |
275 | Summary(pl.UTF-8): Aplet monitora systemu dla środowiska MATE | |
276 | Group: X11/Applications | |
277 | Requires: %{name} = %{version}-%{release} | |
278 | Requires: glib2 >= 1:2.50.0 | |
279 | Requires: gtk+3 >= 3.22 | |
280 | Requires: libgtop >= 1:2.12.0 | |
281 | Requires: mate-panel >= 1.17.0 | |
282 | Suggests: mate-system-monitor >= 1.5 | |
283 | ||
284 | %description -n mate-applet-multiload | |
285 | The System Monitor displays system load information in graphical | |
286 | format in a panel. | |
287 | ||
288 | %description -n mate-applet-multiload -l pl.UTF-8 | |
289 | Aplet monitora systemu wyświetla w panelu informacje o obciążeniu | |
290 | systemu w postaci graficznej. | |
291 | ||
292 | %package -n mate-applet-netspeed | |
293 | Summary: MATE netspeed applet | |
294 | Summary(pl.UTF-8): Aplet netspeed dla środowiska MATE | |
295 | Group: X11/Applications | |
296 | Requires(post,postun): gtk-update-icon-cache | |
297 | Requires: %{name} = %{version}-%{release} | |
298 | Requires: glib2 >= 1:2.50.0 | |
299 | Requires: gtk+3 >= 3.22 | |
300 | Requires: hicolor-icon-theme | |
301 | Requires: libwnck >= 3.0.0 | |
302 | Requires: libxml2 >= 1:2.5.0 | |
303 | Requires: mate-panel >= 1.17.0 | |
304 | ||
305 | %description -n mate-applet-netspeed | |
306 | MATE netspeed is an applet that shows how much traffic occurs on a | |
307 | specified network device. It's a fork of GNOME netspeed applet. | |
308 | ||
309 | %description -n mate-applet-netspeed -l pl.UTF-8 | |
310 | MATE netspeed to aplet pokazujący, jak duży ruch występuje na | |
311 | określonym urządzeniu sieciowym. Jest to odgałęzienie apletu GNOME | |
312 | netspeed | |
313 | ||
314 | %package -n mate-applet-stickynotes | |
315 | Summary: Sticky Notes applet for MATE Desktop | |
316 | Summary(pl.UTF-8): Aplet notatek dla środowiska MATE | |
317 | Group: X11/Applications | |
318 | Requires(post,postun): gtk-update-icon-cache | |
319 | Requires: %{name} = %{version}-%{release} | |
320 | Requires: glib2 >= 1:2.50.0 | |
321 | Requires: gtk+3 >= 3.22 | |
322 | Requires: hicolor-icon-theme | |
323 | Requires: libwnck >= 3.0.0 | |
324 | Requires: libxml2 >= 1:2.5.0 | |
325 | Requires: mate-panel >= 1.17.0 | |
326 | ||
327 | %description -n mate-applet-stickynotes | |
328 | The Sticky Notes panel application enables you to create, view, and | |
329 | manage sticky notes on your desktop. You can edit the title, contents, | |
330 | dimensions, and style of sticky notes. When the panel is restarted, | |
331 | for example when you log out and log in again, all sticky notes are | |
332 | saved and reopened in the same position with the same dimensions and | |
333 | style. | |
334 | ||
335 | %description -n mate-applet-stickynotes -l pl.UTF-8 | |
336 | Aplet notatek pozwala na tworzenie, oglądanie i zarządzanie | |
337 | przyczepianymi notatkami na pulpicie. Pozwala modyfikować tytuł, | |
338 | treść, wymiary i styl notatek. Przy restarcie panelu, na przykład przy | |
339 | wylogowaniu i ponownym zalogowaniu, wszystkie notatki są zapisywane, a | |
340 | następnie otwierane ponownie w tym samym miejscu, z tymi samymi | |
341 | wymiarami i stylem. | |
342 | ||
343 | %package -n mate-applet-timer | |
344 | Summary: Timer applet for MATE Desktop | |
345 | Summary(pl.UTF-8): Aplet czasomierza dla środowiska MATE | |
346 | Group: X11/Applications | |
347 | Requires: %{name} = %{version}-%{release} | |
348 | Requires: mate-panel >= 1.17.0 | |
349 | ||
350 | %description -n mate-applet-timer | |
351 | Timer applet for MATE Desktop. | |
352 | ||
353 | %description -n mate-applet-timer -l pl.UTF-8 | |
354 | Aplet czasomierza dla środowiska MATE. | |
355 | ||
356 | %package -n mate-applet-trash | |
357 | Summary: Trash applet for MATE Desktop | |
358 | Summary(pl.UTF-8): Aplet śmietnika dla środowiska MATE | |
359 | Group: X11/Applications | |
360 | Requires: %{name} = %{version}-%{release} | |
361 | Requires: glib2 >= 1:2.50.0 | |
362 | Requires: gtk+3 >= 3.22 | |
363 | Requires: mate-panel >= 1.17.0 | |
364 | ||
365 | %description -n mate-applet-trash | |
366 | The Panel Trash applet lets you manage your Trash from the panel. | |
367 | ||
368 | The trash on your panel acts identically to the trash on your desktop, | |
369 | however it is useful because your panels are always visible. | |
370 | ||
371 | %description -n mate-applet-trash -l pl.UTF-8 | |
372 | Aplet śmietnika pozwala na zarządzanie śmietnikiem z poziomu panelu. | |
373 | ||
374 | Śmietnik w panelu zachowuje się tak samo, jak śmietnik na pulpicie, | |
375 | ale jest przydatny o tyle, że panele są zawsze widoczne. | |
376 | ||
377 | %prep | |
378 | %setup -q | |
379 | %patch0 -p1 | |
380 | %patch1 -p1 | |
381 | ||
382 | %build | |
383 | %{__intltoolize} | |
384 | %{__libtoolize} | |
385 | %{__aclocal} -I m4 | |
386 | %{__autoconf} | |
387 | %{__autoheader} | |
388 | %{__automake} | |
389 | %configure \ | |
390 | --libexecdir=%{matepanel_libexecdir} \ | |
391 | --disable-schemas-compile \ | |
392 | --disable-silent-rules \ | |
393 | --disable-static | |
394 | ||
395 | %{__make} | |
396 | ||
397 | %install | |
398 | rm -rf $RPM_BUILD_ROOT | |
399 | %{__make} install \ | |
400 | DESTDIR=$RPM_BUILD_ROOT | |
401 | ||
402 | # outdated version of es (as of 1.6.1) | |
403 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_ES | |
404 | # not supported by glibc (as of glibc-2.24) | |
405 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ie,jv,ku_IQ,pms} | |
406 | ||
407 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{es_ES,frp,ie,jv,ku_IQ,pms,ur_PK,zh-Hans} | |
408 | ||
409 | %find_lang %{name} | |
410 | %find_lang mate-accessx-status --with-mate | |
411 | %find_lang mate-battstat --with-mate | |
412 | %find_lang mate-char-palette --with-mate | |
413 | %find_lang mate-cpufreq-applet --with-mate | |
414 | %find_lang mate-drivemount --with-mate | |
415 | %find_lang mate-geyes --with-mate | |
416 | %find_lang mateweather --with-mate | |
417 | %find_lang mate-multiload --with-mate | |
418 | %find_lang mate-netspeed-applet --with-mate | |
419 | %find_lang mate-stickynotes-applet --with-mate | |
420 | %find_lang mate-trashapplet --with-mate | |
421 | ||
422 | %clean | |
423 | rm -rf $RPM_BUILD_ROOT | |
424 | ||
425 | %post -n mate-applet-accessx-status | |
426 | %update_icon_cache mate | |
427 | ||
428 | %postun -n mate-applet-accessx-status | |
429 | %update_icon_cache mate | |
430 | ||
431 | %post -n mate-applet-battstat | |
432 | %glib_compile_schemas | |
433 | ||
434 | %preun -n mate-applet-battstat | |
435 | %glib_compile_schemas | |
436 | ||
437 | %post -n mate-applet-charpicker | |
438 | %glib_compile_schemas | |
439 | %update_icon_cache hicolor | |
440 | ||
441 | %preun -n mate-applet-charpicker | |
442 | %glib_compile_schemas | |
443 | ||
444 | %postun -n mate-applet-charpicker | |
445 | %update_icon_cache hicolor | |
446 | ||
447 | %post -n mate-applet-command | |
448 | %glib_compile_schemas | |
449 | ||
450 | %preun -n mate-applet-command | |
451 | %glib_compile_schemas | |
452 | ||
453 | %post -n mate-applet-cpufreq | |
454 | %glib_compile_schemas | |
455 | %update_icon_cache hicolor | |
456 | ||
457 | %preun -n mate-applet-cpufreq | |
458 | %glib_compile_schemas | |
459 | ||
460 | %postun -n mate-applet-cpufreq | |
461 | %update_icon_cache hicolor | |
462 | ||
463 | %post -n mate-applet-drivemount | |
464 | %glib_compile_schemas | |
465 | ||
466 | %preun -n mate-applet-drivemount | |
467 | %glib_compile_schemas | |
468 | ||
469 | %post -n mate-applet-geyes | |
470 | %glib_compile_schemas | |
471 | %update_icon_cache hicolor | |
472 | ||
473 | %preun -n mate-applet-geyes | |
474 | %glib_compile_schemas | |
475 | ||
476 | %postun -n mate-applet-geyes | |
477 | %update_icon_cache hicolor | |
478 | ||
479 | %post -n mate-applet-multiload | |
480 | %glib_compile_schemas | |
481 | ||
482 | %preun -n mate-applet-multiload | |
483 | %glib_compile_schemas | |
484 | ||
485 | %post -n mate-applet-netspeed | |
486 | %glib_compile_schemas | |
487 | %update_icon_cache hicolor | |
488 | ||
489 | %preun -n mate-applet-netspeed | |
490 | %glib_compile_schemas | |
491 | ||
492 | %postun -n mate-applet-netspeed | |
493 | %update_icon_cache hicolor | |
494 | ||
495 | %post -n mate-applet-stickynotes | |
496 | %glib_compile_schemas | |
497 | %update_icon_cache hicolor | |
498 | ||
499 | %preun -n mate-applet-stickynotes | |
500 | %glib_compile_schemas | |
501 | ||
502 | %postun -n mate-applet-stickynotes | |
503 | %update_icon_cache hicolor | |
504 | ||
505 | %post -n mate-applet-timer | |
506 | %glib_compile_schemas | |
507 | ||
508 | %preun -n mate-applet-timer | |
509 | %glib_compile_schemas | |
510 | ||
511 | %files -f %{name}.lang | |
512 | %defattr(644,root,root,755) | |
513 | %doc AUTHORS ChangeLog NEWS README | |
514 | %dir %{_datadir}/%{name} | |
515 | %dir %{_datadir}/%{name}/builder | |
516 | %dir %{_datadir}/%{name}/icons | |
517 | %dir %{_datadir}/%{name}/icons/hicolor | |
518 | %dir %{_datadir}/%{name}/icons/hicolor/48x48 | |
519 | %dir %{_datadir}/%{name}/icons/hicolor/48x48/apps | |
520 | ||
521 | %files -n mate-applet-accessx-status -f mate-accessx-status.lang | |
522 | %defattr(644,root,root,755) | |
523 | %attr(755,root,root) %{matepanel_libexecdir}/accessx-status-applet | |
524 | %{_datadir}/dbus-1/services/org.mate.panel.applet.AccessxStatusAppletFactory.service | |
525 | %{_datadir}/mate-panel/applets/org.mate.applets.AccessxStatusApplet.mate-panel-applet | |
526 | %{_datadir}/mate-panel/ui/accessx-status-applet-menu.xml | |
527 | %{_iconsdir}/hicolor/*/apps/mate-ax-*.png | |
528 | %{_iconsdir}/hicolor/*/apps/mate-mousekeys-*.png | |
529 | ||
530 | %files -n mate-applet-battstat -f mate-battstat.lang | |
531 | %defattr(644,root,root,755) | |
532 | %attr(755,root,root) %{matepanel_libexecdir}/battstat-applet | |
533 | %{_datadir}/%{name}/builder/battstat_applet.ui | |
534 | %{_datadir}/dbus-1/services/org.mate.panel.applet.BattstatAppletFactory.service | |
535 | %{_datadir}/mate-panel/applets/org.mate.applets.BattstatApplet.mate-panel-applet | |
536 | %{_datadir}/mate-panel/ui/battstat-applet-menu.xml | |
537 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.battstat.gschema.xml | |
538 | # FIXME package not to pull 'balsa' | |
539 | %dir %{_sysconfdir}/sound | |
540 | %dir %{_sysconfdir}/sound/events | |
541 | %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist | |
542 | ||
543 | %files -n mate-applet-charpicker -f mate-char-palette.lang | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{matepanel_libexecdir}/mate-charpick-applet | |
546 | %{_datadir}/dbus-1/services/org.mate.panel.applet.CharpickerAppletFactory.service | |
547 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.charpick.gschema.xml | |
548 | %{_datadir}/mate-panel/applets/org.mate.applets.CharpickerApplet.mate-panel-applet | |
549 | %{_datadir}/mate-panel/ui/charpick-applet-menu.xml | |
550 | %{_mandir}/man1/mate-charpick-applet.1* | |
551 | ||
552 | %files -n mate-applet-command | |
553 | %defattr(644,root,root,755) | |
554 | %attr(755,root,root) %{matepanel_libexecdir}/command-applet | |
555 | %{_datadir}/dbus-1/services/org.mate.panel.applet.CommandAppletFactory.service | |
556 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.command.gschema.xml | |
557 | %{_datadir}/mate-panel/applets/org.mate.applets.CommandApplet.mate-panel-applet | |
558 | ||
559 | %files -n mate-applet-cpufreq -f mate-cpufreq-applet.lang | |
560 | %defattr(644,root,root,755) | |
561 | # selector | |
562 | %attr(755,root,root) %{_bindir}/mate-cpufreq-selector | |
563 | /etc/dbus-1/system.d/org.mate.CPUFreqSelector.conf | |
564 | %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service | |
565 | %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy | |
566 | # applet itself | |
567 | %attr(755,root,root) %{matepanel_libexecdir}/mate-cpufreq-applet | |
568 | %{_datadir}/%{name}/builder/cpufreq-preferences.ui | |
569 | %{_datadir}/dbus-1/services/org.mate.panel.applet.CPUFreqAppletFactory.service | |
570 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.cpufreq.gschema.xml | |
571 | %{_datadir}/mate-panel/applets/org.mate.applets.CPUFreqApplet.mate-panel-applet | |
572 | %{_datadir}/mate-panel/ui/cpufreq-applet-menu.xml | |
573 | %{_pixmapsdir}/mate-cpufreq-applet | |
574 | %{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.png | |
575 | %{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.svg | |
576 | %{_mandir}/man1/mate-cpufreq-selector.1* | |
577 | ||
578 | %files -n mate-applet-drivemount -f mate-drivemount.lang | |
579 | %defattr(644,root,root,755) | |
580 | %attr(755,root,root) %{matepanel_libexecdir}/mate-drivemount-applet | |
581 | %{_datadir}/dbus-1/services/org.mate.panel.applet.DriveMountAppletFactory.service | |
582 | %{_datadir}/glib-2.0/schemas/org.mate.drivemount.gschema.xml | |
583 | %{_datadir}/mate-panel/applets/org.mate.applets.DriveMountApplet.mate-panel-applet | |
584 | %{_datadir}/mate-panel/ui/drivemount-applet-menu.xml | |
585 | %{_mandir}/man1/mate-drivemount-applet.1* | |
586 | ||
587 | %files -n mate-applet-geyes -f mate-geyes.lang | |
588 | %defattr(644,root,root,755) | |
589 | %attr(755,root,root) %{matepanel_libexecdir}/mate-geyes-applet | |
590 | %{_datadir}/%{name}/geyes | |
591 | %{_datadir}/dbus-1/services/org.mate.panel.applet.GeyesAppletFactory.service | |
592 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.geyes.gschema.xml | |
593 | %{_datadir}/mate-panel/applets/org.mate.applets.GeyesApplet.mate-panel-applet | |
594 | %{_datadir}/mate-panel/ui/geyes-applet-menu.xml | |
595 | %{_iconsdir}/hicolor/*/apps/mate-eyes-applet.* | |
596 | %{_mandir}/man1/mate-geyes-applet.1* | |
597 | ||
598 | %files -n mate-applet-gweather -f mateweather.lang | |
599 | %defattr(644,root,root,755) | |
600 | %attr(755,root,root) %{matepanel_libexecdir}/mateweather-applet | |
601 | %{_datadir}/dbus-1/services/org.mate.panel.applet.MateWeatherAppletFactory.service | |
602 | %{_datadir}/mate-panel/applets/org.mate.applets.MateWeatherApplet.mate-panel-applet | |
603 | %{_datadir}/mate-panel/ui/mateweather-applet-menu.xml | |
604 | %{_mandir}/man1/mateweather.1* | |
605 | ||
606 | %files -n mate-applet-multiload -f mate-multiload.lang | |
607 | %defattr(644,root,root,755) | |
608 | %attr(755,root,root) %{matepanel_libexecdir}/mate-multiload-applet | |
609 | %{_datadir}/dbus-1/services/org.mate.panel.applet.MultiLoadAppletFactory.service | |
610 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.multiload.gschema.xml | |
611 | %{_datadir}/mate-panel/ui/multiload-applet-menu.xml | |
612 | %{_datadir}/mate-panel/applets/org.mate.applets.MultiLoadApplet.mate-panel-applet | |
613 | %{_mandir}/man1/mate-multiload-applet.1* | |
614 | ||
615 | %files -n mate-applet-netspeed -f mate-netspeed-applet.lang | |
616 | %defattr(644,root,root,755) | |
617 | %attr(755,root,root) %{matepanel_libexecdir}/mate-netspeed-applet | |
618 | %{_datadir}/dbus-1/services/org.mate.panel.applet.NetspeedAppletFactory.service | |
619 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.netspeed.gschema.xml | |
620 | %{_datadir}/mate-panel/applets/org.mate.applets.NetspeedApplet.mate-panel-applet | |
621 | %{_datadir}/mate-panel/ui/netspeed-menu.xml | |
622 | %{_iconsdir}/hicolor/*/apps/mate-netspeed-applet.* | |
623 | %{_iconsdir}/hicolor/*x*/devices/mate-netspeed-*.png | |
624 | %{_iconsdir}/hicolor/24x24/status/mate-netspeed-*.png | |
625 | ||
626 | %files -n mate-applet-stickynotes -f mate-stickynotes-applet.lang | |
627 | %defattr(644,root,root,755) | |
628 | %attr(755,root,root) %{matepanel_libexecdir}/stickynotes-applet | |
629 | %{_datadir}/%{name}/builder/stickynotes.ui | |
630 | %{_datadir}/%{name}/icons/hicolor/*/apps/stickynotes-stock-*.png | |
631 | %{_datadir}/dbus-1/services/org.mate.panel.applet.StickyNotesAppletFactory.service | |
632 | %{_datadir}/glib-2.0/schemas/org.mate.stickynotes.gschema.xml | |
633 | %{_datadir}/mate-panel/applets/org.mate.applets.StickyNotesApplet.mate-panel-applet | |
634 | %{_datadir}/mate-panel/ui/stickynotes-applet-menu.xml | |
635 | %{_iconsdir}/hicolor/*/apps/mate-sticky-*.* | |
636 | ||
637 | %files -n mate-applet-timer | |
638 | %defattr(644,root,root,755) | |
639 | %attr(755,root,root) %{matepanel_libexecdir}/timer-applet | |
640 | %{_datadir}/dbus-1/services/org.mate.panel.applet.TimerAppletFactory.service | |
641 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.timer.gschema.xml | |
642 | %{_datadir}/mate-panel/applets/org.mate.applets.TimerApplet.mate-panel-applet | |
643 | ||
644 | %files -n mate-applet-trash -f mate-trashapplet.lang | |
645 | %defattr(644,root,root,755) | |
646 | %attr(755,root,root) %{matepanel_libexecdir}/trashapplet | |
647 | %{_datadir}/%{name}/builder/trashapplet-empty-progress.ui | |
648 | %{_datadir}/dbus-1/services/org.mate.panel.applet.TrashAppletFactory.service | |
649 | %{_datadir}/mate-panel/applets/org.mate.applets.TrashApplet.mate-panel-applet | |
650 | %{_datadir}/mate-panel/ui/trashapplet-menu.xml |