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