]>
Commit | Line | Data |
---|---|---|
52b994c7 ER |
1 | # TODO |
2 | # - rename applets (to match applet name vs package name): | |
3 | # - charpick | |
4 | # - mateweather | |
5 | # - invest-applet | |
6 | # - trashapplet | |
7 | # - build: | |
8 | # - timer-applet | |
9 | # - cpufreq applet does not startup | |
da523ee7 ER |
10 | Summary: Small applications which embed themselves in the MATE panel |
11 | Summary(pl.UTF-8): Aplety MATE - małe aplikacje osadzające się w panelu | |
12 | Summary(ru.UTF-8): Маленькие программы, встраивающиеся в панель MATE | |
13 | Summary(uk.UTF-8): Маленькі програми, що вбудовуються в панель MATE | |
14 | Name: mate-applets | |
ac720ac9 | 15 | Version: 1.5.2 |
76dc4f52 | 16 | Release: 0.16 |
325fbf8e | 17 | License: GPL v2, FDL |
45551746 | 18 | Group: X11/Applications |
da523ee7 | 19 | Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz |
ac720ac9 | 20 | # Source0-md5: 912af4be09fb78405bd4da437b3b7f05 |
c513cb5c | 21 | # check paths in Makefile before removing it! |
cb11c32a | 22 | #Patch0: m4_fix.patch |
e5b5841a | 23 | Patch0: uidir.patch |
76dc4f52 | 24 | Patch1: use-libwnck.patch |
93fbc216 | 25 | URL: https://github.com/mate-desktop/mate-applets |
8c7fc452 | 26 | BuildRequires: GConf2-devel >= 2.26.0 |
8eecd2f8 | 27 | BuildRequires: NetworkManager-devel >= 0.7 |
09327ab9 MB |
28 | BuildRequires: autoconf >= 2.59 |
29 | BuildRequires: automake >= 1:1.8 | |
8eecd2f8 ER |
30 | BuildRequires: cpufrequtils-devel >= 0.3 |
31 | BuildRequires: dbus-devel >= 1.1.1 | |
32 | BuildRequires: dbus-glib-devel >= 0.74 | |
512e10b8 | 33 | BuildRequires: gettext-devel |
8eecd2f8 | 34 | BuildRequires: glib2-devel >= 1:2.22.0 |
8eecd2f8 | 35 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
b3da2f5b | 36 | BuildRequires: intltool >= 0.40.0 |
33644ac7 | 37 | BuildRequires: libgtop-devel >= 1:2.11.92 |
76dc4f52 | 38 | BuildRequires: libwnck2-devel >= 2.9.3 |
e5b5841a | 39 | BuildRequires: libnotify-devel >= 0.7.0 |
8eecd2f8 | 40 | BuildRequires: libtool |
33644ac7 ER |
41 | BuildRequires: libxml2-devel >= 1:2.5.0 |
42 | BuildRequires: mate-desktop-devel >= 1.1.0 | |
72781aad | 43 | BuildRequires: mate-doc-utils >= 0.3.2 |
da523ee7 | 44 | BuildRequires: mate-icon-theme-devel >= 1.1.0 |
33644ac7 | 45 | BuildRequires: mate-panel-devel >= 1.5.2 |
52b994c7 | 46 | BuildRequires: pkgconfig >= 1:0.19 |
33644ac7 | 47 | BuildRequires: polkit-devel >= 0.92 |
8eecd2f8 | 48 | BuildRequires: python-devel >= 1:2.4 |
33644ac7 ER |
49 | BuildRequires: python-pygobject-devel >= 2.6 |
50 | BuildRequires: python-pygtk-devel >= 2:2.6 | |
8eecd2f8 | 51 | BuildRequires: rpm-pythonprov |
da523ee7 | 52 | BuildRequires: rpmbuild(find_lang) >= 1.36 |
52b994c7 | 53 | BuildRequires: rpmbuild(macros) >= 1.311 |
cb11c32a | 54 | BuildRequires: tar >= 1:1.22 |
33644ac7 | 55 | BuildRequires: upower-devel >= 0.9.4 |
cb11c32a | 56 | BuildRequires: xz |
52b994c7 | 57 | Requires(post,postun): gtk-update-icon-cache |
33644ac7 | 58 | BuildRequires: gucharmap2-devel >= 2.23.0 |
52b994c7 ER |
59 | Requires(post,postun): hicolor-icon-theme |
60 | Requires: gnome-icon-theme >= 2.26.0 | |
61 | Requires: mate-panel >= 1.5 | |
62 | # sr@Latn vs. sr@latin | |
63 | Conflicts: glibc-misc < 6:2.7 | |
29c6cc79 | 64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6a5d9e40 | 65 | |
e5b5841a ER |
66 | %define _libexecdir %{_libdir}/mate-panel |
67 | ||
6a5d9e40 | 68 | %description |
da523ee7 ER |
69 | The mate-applets package provides Panel applets which enhance your |
70 | MATE experience. | |
6a5d9e40 | 71 | |
afe4d16e | 72 | %description -l pl.UTF-8 |
da523ee7 ER |
73 | Pakiet mate-applets udostępnia aplety Panelu, które usprawniają pracę |
74 | z MATE. | |
6a5d9e40 | 75 | |
afe4d16e | 76 | %description -l uk.UTF-8 |
da523ee7 ER |
77 | Пакет mate-applets містить аплети Панелі MATE, що збільшують |
78 | комфортність роботи в середовищі MATE. | |
be1274bb | 79 | |
afe4d16e | 80 | %description -l ru.UTF-8 |
da523ee7 ER |
81 | Пакет mate-applets содержит апплеты Панели MATE, увеличивающие |
82 | комфортность работы в среде MATE. | |
be1274bb | 83 | |
c3067899 | 84 | %package accessx-status |
85 | Summary: Keyboard Accessibility Status applet | |
c5f85e76 | 86 | Summary(pl.UTF-8): Aplet stanu dostepności klawiatury |
c3067899 | 87 | Group: X11/Applications |
09327ab9 | 88 | Requires(post,postun): gtk+2 |
23a406a7 | 89 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
90 | Requires: %{name} = %{version}-%{release} |
91 | Suggests: mate-control-center >= 1.5 | |
c3067899 | 92 | |
93 | %description accessx-status | |
37bba870 ER |
94 | The Keyboard Accessibility Monitor shows you the status of the |
95 | keyboard accessibility features when these are in use. For example, | |
96 | you can see which modifier keys are currently active, and which mouse | |
97 | buttons are being pressed via the keyboard. | |
c3067899 | 98 | |
afe4d16e | 99 | %description accessx-status -l pl.UTF-8 |
65c1b73f JB |
100 | Aplet monitora dostępności klawiatury pokazuje stan funkcji |
101 | zwiększających dostępność klawiatury, kiedy są włączone. Pozwala | |
102 | zobaczyć m.in. które klawisze modyfikatorów są aktywne albo które | |
103 | przyciski myszy są wciskane z poziomu klawiatury. | |
c3067899 | 104 | |
105 | %package battstat | |
106 | Summary: Battery Charge Monitor applet | |
c5f85e76 | 107 | Summary(pl.UTF-8): Aplet monitora stanu naładowania akumulatora |
c3067899 | 108 | Group: X11/Applications |
23a406a7 | 109 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
110 | Requires: %{name} = %{version}-%{release} |
111 | Requires: glib2 >= 1:2.26.0 | |
c3067899 | 112 | |
113 | %description battstat | |
37bba870 ER |
114 | The Battery Charge Monitor shows the status of any batteries in your |
115 | laptop computer. The monitor can tell you the capacity remaining both | |
116 | visually and as a percentage, as well as offer you an estimate of the | |
117 | time remaining based off the current usage rate. | |
c3067899 | 118 | |
afe4d16e | 119 | %description battstat -l pl.UTF-8 |
65c1b73f JB |
120 | Aplet monitora stanu naładowania akumulatora pokazuje stan wszelkich |
121 | baterii w laptopie. Monitor informuje o pozostałej pojemności zarówno | |
122 | w postaci graficznej, jak i procentowej, a także podaje przybliżony | |
123 | pozostały czas pracy przy założeniu bieżącego użycia prądu. | |
c3067899 | 124 | |
125 | %package charpicker | |
126 | Summary: Character Palette applet | |
c5f85e76 | 127 | Summary(pl.UTF-8): Aplet palety znaków |
c3067899 | 128 | Group: X11/Applications |
09327ab9 | 129 | Requires(post,postun): gtk+2 |
23a406a7 | 130 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
131 | Requires: %{name} = %{version}-%{release} |
132 | Requires: glib2 >= 1:2.26.0 | |
c3067899 | 133 | |
134 | %description charpicker | |
37bba870 ER |
135 | The Character Palette provides a convenient way to access characters |
136 | that are not on your keyboard, such as accented characters, | |
137 | mathematical symbols, special symbols, and punctuation marks. | |
138 | ||
139 | You can insert characters from the applet into text strings, for | |
140 | example in text documents or at the command line. You can customize | |
141 | the contents of the applet to suit your requirements. | |
142 | ||
143 | Character Palette supports the UTF-8 character encoding so you can use | |
144 | the palette to display or copy any Unicode character. | |
c3067899 | 145 | |
afe4d16e | 146 | %description charpicker -l pl.UTF-8 |
65c1b73f JB |
147 | Aplet palety znaków udostępnia wygodną metodę wprowadzania znaków nie |
148 | istniejących na klawiaturze, takich jak znaki akcentowane, symbole | |
149 | matematyczne, symbole specjalne i znaki przestankowe. | |
150 | ||
151 | Przy pomocy apletu można wprowadzać znaki do łańcuchów tekstowych, na | |
152 | przykład w dokumentach tekstowych lub w linii poleceń. Zawartość | |
153 | apletu można dostosowywać do własnych wymagań. | |
154 | ||
155 | Paleta znaków obsługuje kodowanie znaków UTF-8, więc można jej używać | |
156 | do wyświetlania lub kopiowania dowolnych znaków unikodowych. | |
c3067899 | 157 | |
158 | %package cpufreq | |
159 | Summary: CPU Frequency Scaling Monitor applet | |
c5f85e76 | 160 | Summary(pl.UTF-8): Aplet monitora częstotliwości procesora |
c3067899 | 161 | Group: X11/Applications |
09327ab9 | 162 | Requires(post,postun): gtk+2 |
23a406a7 | 163 | Requires(post,postun): scrollkeeper |
09327ab9 | 164 | Requires(post,preun): GConf2 |
da523ee7 ER |
165 | Requires: %{name} = %{version}-%{release} |
166 | Requires: mate-polkit | |
c3067899 | 167 | |
168 | %description cpufreq | |
37bba870 ER |
169 | The CPU Frequency Scaling Monitor provides a convenient way to monitor |
170 | the CPU Frequency Scaling for each CPU. | |
c3067899 | 171 | |
afe4d16e | 172 | %description cpufreq -l pl.UTF-8 |
65c1b73f JB |
173 | Aplet monitora częstotliwości procesora umożliwia wygodne |
174 | monitorowanie częstotliwości dla każdego procesora. | |
c3067899 | 175 | |
176 | %package drivemount | |
177 | Summary: Disk Mounter applet | |
c5f85e76 | 178 | Summary(pl.UTF-8): Aplet do montowania dysków |
c3067899 | 179 | Group: X11/Applications |
23a406a7 | 180 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
181 | Requires: %{name} = %{version}-%{release} |
182 | Requires: glib2 >= 1:2.26.0 | |
c3067899 | 183 | |
184 | %description drivemount | |
37bba870 ER |
185 | The Disk Mounter enables you to quickly mount and unmount various |
186 | types of drives and file systems. | |
c3067899 | 187 | |
afe4d16e | 188 | %description drivemount -l pl.UTF-8 |
65c1b73f JB |
189 | Aplet do montowania dysków, pozwalający szybko montować i odmontowywać |
190 | różne rodzaje dysków i systemów plików. | |
c3067899 | 191 | |
192 | %package geyes | |
65c1b73f JB |
193 | Summary: Geyes applet - tracking the mouse pointer |
194 | Summary(pl.UTF-8): Aplet geyes - śledzenie wskaźnika myszy | |
c3067899 | 195 | Group: X11/Applications |
09327ab9 | 196 | Requires(post,postun): gtk+2 |
23a406a7 | 197 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
198 | Requires: %{name} = %{version}-%{release} |
199 | Requires: glib2 >= 1:2.26.0 | |
c3067899 | 200 | |
201 | %description geyes | |
37bba870 ER |
202 | The Geyes applet provides an entertaining way to track the movement of |
203 | the mouse pointer around your screen. The applet is an image of one or | |
204 | more eyes that follow the mouse pointer around the screen. | |
c3067899 | 205 | |
afe4d16e | 206 | %description geyes -l pl.UTF-8 |
65c1b73f JB |
207 | Aplet geyes to zabawny sposób śledzenia ruchu wskaźnika myszy po |
208 | ekranie. Aplet jest obrazem jednego lub większej liczby oczu | |
209 | podążających za wskaźnikiem myszy. | |
c3067899 | 210 | |
c3067899 | 211 | %package gweather |
212 | Summary: Weather Report applet | |
c5f85e76 | 213 | Summary(pl.UTF-8): Aplet raportu pogodowego |
c3067899 | 214 | Group: X11/Applications |
23a406a7 | 215 | Requires(post,postun): scrollkeeper |
09327ab9 | 216 | Requires(post,preun): GConf2 |
da523ee7 | 217 | Requires: %{name} = %{version}-%{release} |
6261da7b | 218 | Requires: dbus(org.freedesktop.Notifications) |
c3067899 | 219 | |
220 | %description gweather | |
65c1b73f JB |
221 | The Weather Report downloads weather information from the U.S. |
222 | National Weather Service (NWS) servers, including the Interactive | |
223 | Weather Information Network (IWIN) and other weather services. You can | |
224 | use Weather Report to display current weather information and weather | |
37bba870 | 225 | forecasts on your computer. |
c3067899 | 226 | |
afe4d16e | 227 | %description gweather -l pl.UTF-8 |
65c1b73f JB |
228 | Aplet raportu pogodowego ściąga informacje pogodowe z serwerów U.S. |
229 | National Weather Service (NWS), wraz z siecią Interactive Weather | |
230 | Information Network (IWIN) oraz innych serwisów pogodowych. Apletu | |
231 | można używać do wyświetlania aktualnych informacji pogodowych oraz | |
232 | prognoz. | |
c3067899 | 233 | |
6d95af8e | 234 | %package invest |
235 | Summary: Stock Ticker applet | |
c5f85e76 | 236 | Summary(pl.UTF-8): Aplet wskaźnika giełdowego |
6d95af8e | 237 | Group: X11/Applications |
6d95af8e | 238 | Requires(post,postun): scrollkeeper |
09327ab9 | 239 | Requires(post,preun): GConf2 |
da523ee7 | 240 | Requires: %{name} = %{version}-%{release} |
dbca2d9e | 241 | Requires: python-gnome-extras-egg >= 2.14.2 |
6d95af8e | 242 | |
243 | %description invest | |
da523ee7 | 244 | The Invest MATE panel applet downloads current stock quotes from |
37bba870 | 245 | Yahoo! Finance and displays the quotes in a drop-down list. |
6d95af8e | 246 | |
afe4d16e | 247 | %description invest -l pl.UTF-8 |
65c1b73f JB |
248 | Aplet wskaźnika giełdowego, ściągający aktualne notowania z serwisu |
249 | Yahoo! Finance i wyświetlające je na rozwijanej liście. | |
6d95af8e | 250 | |
c3067899 | 251 | %package multiload |
252 | Summary: System Monitor applet | |
c5f85e76 | 253 | Summary(pl.UTF-8): Aplet monitora systemu |
c3067899 | 254 | Group: X11/Applications |
23a406a7 | 255 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
256 | Requires: %{name} = %{version}-%{release} |
257 | Requires: glib2 >= 1:2.26.0 | |
6952b53c | 258 | Suggests: mate-system-monitor >= 1.5 |
c3067899 | 259 | |
260 | %description multiload | |
37bba870 ER |
261 | The System Monitor displays system load information in graphical |
262 | format in a panel. | |
c3067899 | 263 | |
afe4d16e | 264 | %description multiload -l pl.UTF-8 |
65c1b73f JB |
265 | Aplet monitora systemu wyświetla w panelu informacje o obciążeniu |
266 | systemu w postaci graficznej. | |
c3067899 | 267 | |
268 | %package stickynotes | |
269 | Summary: Sticky Notes applet | |
c5f85e76 | 270 | Summary(pl.UTF-8): Aplet notatek |
c3067899 | 271 | Group: X11/Applications |
09327ab9 | 272 | Requires(post,postun): gtk+2 |
23a406a7 | 273 | Requires(post,postun): scrollkeeper |
da523ee7 ER |
274 | Requires: %{name} = %{version}-%{release} |
275 | Requires: glib2 >= 1:2.26.0 | |
c3067899 | 276 | |
277 | %description stickynotes | |
37bba870 ER |
278 | The Sticky Notes panel application enables you to create, view, and |
279 | manage sticky notes on your desktop. You can edit the title, contents, | |
280 | dimensions, and style of sticky notes. When the panel is restarted, | |
281 | for example when you log out and log in again, all sticky notes are | |
282 | saved and reopened in the same position with the same dimensions and | |
283 | style. | |
c3067899 | 284 | |
afe4d16e | 285 | %description stickynotes -l pl.UTF-8 |
65c1b73f JB |
286 | Aplet notatek pozwala na tworzenie, oglądanie i zarządzanie |
287 | przyczepianymi notatkami na pulpicie. Pozwala modyfikować tytuł, | |
da523ee7 ER |
288 | treść, wymiary i styl notatek. Przy restarcie panelu, na przykład przy |
289 | wylogowaniu i ponownym zalogowaniu, wszystkie notatki są zapisywane, a | |
290 | następnie otwierane ponownie w tym samym miejscu, z tymi samymi | |
291 | wymiarami i stylem. | |
c3067899 | 292 | |
293 | %package trash | |
294 | Summary: Trash applet | |
c5f85e76 | 295 | Summary(pl.UTF-8): Aplet śmietnika |
c3067899 | 296 | Group: X11/Applications |
23a406a7 | 297 | Requires(post,postun): scrollkeeper |
da523ee7 | 298 | Requires: %{name} = %{version}-%{release} |
c3067899 | 299 | |
300 | %description trash | |
37bba870 ER |
301 | The Panel Trash applet lets you manage your Trash from the panel. |
302 | ||
303 | The trash on your panel acts identically to the trash on your desktop, | |
304 | however it is useful because your panels are always visible. | |
c3067899 | 305 | |
afe4d16e | 306 | %description trash -l pl.UTF-8 |
65c1b73f JB |
307 | Aplet śmietnika pozwala na zarządzanie śmietnikiem z poziomu panelu. |
308 | ||
309 | Śmietnik w panelu zachowuje się tak samo, jak śmietnik na pulpicie, | |
310 | ale jest przydatny o tyle, że panele są zawsze widoczne. | |
c3067899 | 311 | |
6a5d9e40 | 312 | %prep |
45551746 | 313 | %setup -q |
e5b5841a | 314 | %patch0 -p1 |
76dc4f52 | 315 | %patch1 -p1 |
deb3bb07 | 316 | |
6a5d9e40 | 317 | %build |
da523ee7 | 318 | NOCONFIGURE=1 ./autogen.sh |
13413cf4 | 319 | %configure \ |
52b994c7 ER |
320 | --without-hal \ |
321 | --enable-networkmanager \ | |
322 | --disable-schemas-compile \ | |
a51c4c90 | 323 | --disable-static |
da523ee7 ER |
324 | %{__make} \ |
325 | DOC_MODULE= | |
6a5d9e40 | 326 | |
327 | %install | |
328 | rm -rf $RPM_BUILD_ROOT | |
da523ee7 ER |
329 | %if 1 |
330 | rm -rf $RPM_BUILD_ROOT | |
ec82d9a9 | 331 | %{__make} install \ |
da523ee7 | 332 | DOC_MODULE= \ |
5a7493e5 | 333 | DESTDIR=$RPM_BUILD_ROOT \ |
6d95af8e | 334 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ |
335 | pythondir=%{py_sitedir} | |
92cc239d | 336 | |
94bec28d ER |
337 | # mate < 1.5 did not exist in pld, avoid dependency on mate-conf |
338 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/stickynotes-applet.convert | |
339 | ||
da523ee7 ER |
340 | #%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgweather.la |
341 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/mate_invest/*.py | |
eee291e8 | 342 | |
65c1b73f | 343 | # es_ES is more complete copy |
da523ee7 ER |
344 | mv -f $RPM_BUILD_ROOT%{_localedir}/es{_ES,}/LC_MESSAGES/*.mo |
345 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_ES | |
b3da2f5b | 346 | |
deb3bb07 | 347 | # keyboard applet has been removed |
da523ee7 ER |
348 | #%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/xmodmap |
349 | %endif | |
350 | ||
351 | rm -f *.lang | |
352 | %find_lang %{name} | |
353 | cat <<EOF>>%{name}.lang | |
354 | %dir %{_datadir}/mate/help/C | |
355 | %dir %{_datadir}/mate/help/C/figures | |
356 | %dir %{_datadir}/mate/help/ar | |
357 | %dir %{_datadir}/mate/help/ar/figures | |
358 | %dir %{_datadir}/mate/help/ast | |
359 | %dir %{_datadir}/mate/help/ast/figures | |
360 | %dir %{_datadir}/mate/help/bg | |
361 | %dir %{_datadir}/mate/help/bg/figures | |
362 | %dir %{_datadir}/mate/help/ca | |
363 | %dir %{_datadir}/mate/help/ca/figures | |
364 | %dir %{_datadir}/mate/help/cs | |
365 | %dir %{_datadir}/mate/help/cs/figures | |
366 | %dir %{_datadir}/mate/help/da | |
367 | %dir %{_datadir}/mate/help/da/figures | |
368 | %dir %{_datadir}/mate/help/de | |
369 | %dir %{_datadir}/mate/help/de/figures | |
370 | %dir %{_datadir}/mate/help/el | |
371 | %dir %{_datadir}/mate/help/el/figures | |
372 | %dir %{_datadir}/mate/help/en_GB | |
373 | %dir %{_datadir}/mate/help/en_GB/figures | |
374 | %dir %{_datadir}/mate/help/es | |
375 | %dir %{_datadir}/mate/help/es/figures | |
376 | %dir %{_datadir}/mate/help/eu | |
377 | %dir %{_datadir}/mate/help/eu/figures | |
378 | %dir %{_datadir}/mate/help/fi | |
379 | %dir %{_datadir}/mate/help/fi/figures | |
380 | %dir %{_datadir}/mate/help/fr | |
381 | %dir %{_datadir}/mate/help/fr/figures | |
382 | %dir %{_datadir}/mate/help/gl | |
383 | %dir %{_datadir}/mate/help/gl/figures | |
384 | %dir %{_datadir}/mate/help/hu | |
385 | %dir %{_datadir}/mate/help/hu/figures | |
386 | %dir %{_datadir}/mate/help/it | |
387 | %dir %{_datadir}/mate/help/it/figures | |
388 | %dir %{_datadir}/mate/help/ko | |
389 | %dir %{_datadir}/mate/help/ko/figures | |
390 | %dir %{_datadir}/mate/help/nl | |
391 | %dir %{_datadir}/mate/help/nl/figures | |
392 | %dir %{_datadir}/mate/help/oc | |
393 | %dir %{_datadir}/mate/help/oc/figures | |
394 | %dir %{_datadir}/mate/help/pa | |
395 | %dir %{_datadir}/mate/help/pa/figures | |
396 | %dir %{_datadir}/mate/help/pt_BR | |
397 | %dir %{_datadir}/mate/help/pt_BR/figures | |
398 | %dir %{_datadir}/mate/help/ru | |
399 | %dir %{_datadir}/mate/help/ru/figures | |
400 | %dir %{_datadir}/mate/help/sv | |
401 | %dir %{_datadir}/mate/help/sv/figures | |
402 | %dir %{_datadir}/mate/help/uk | |
403 | %dir %{_datadir}/mate/help/uk/figures | |
404 | %dir %{_datadir}/mate/help/zh_CN | |
405 | %dir %{_datadir}/mate/help/zh_CN/figures | |
406 | %dir %{_datadir}/mate/help/zh_HK | |
407 | %dir %{_datadir}/mate/help/zh_HK/figures | |
408 | %dir %{_datadir}/mate/help/zh_TW | |
409 | %dir %{_datadir}/mate/help/zh_TW/figures | |
410 | ||
411 | EOF | |
412 | #%find_lang accessx-status --with-mate | |
413 | cat <<EOF >> accessx-status.lang | |
414 | %{_datadir}/mate/help/*/figures/accessx*.png | |
415 | EOF | |
416 | #%find_lang battstat --with-mate | |
417 | cat <<EOF >> battstat.lang | |
418 | %{_datadir}/mate/help/*/figures/battstat*.png | |
419 | %{_datadir}/mate/help/*/figures/context-menu.png | |
420 | EOF | |
421 | #%find_lang char-palette --with-mate | |
422 | cat <<EOF >> char-palette.lang | |
423 | %{_datadir}/mate/help/*/figures/charpalette*.png | |
424 | %{_datadir}/mate/help/*/figures/charpick*.png | |
425 | EOF | |
426 | #%find_lang cpufreq --with-mate | |
427 | cat <<EOF >> cpufreq.lang | |
428 | %{_datadir}/mate/help/*/figures/cpufreq*.png | |
429 | EOF | |
430 | #%find_lang drivemount --with-mate | |
431 | cat <<EOF >> drivemount.lang | |
432 | %{_datadir}/mate/help/*/figures/drivemount*.png | |
433 | EOF | |
434 | #%find_lang geyes --with-mate | |
435 | cat <<EOF >> geyes.lang | |
436 | %{_datadir}/mate/help/*/figures/geyes*.png | |
437 | EOF | |
438 | #%find_lang gweather --with-mate | |
439 | cat <<EOF >> gweather.lang | |
440 | %{_datadir}/mate/help/*/figures/mateweather*.png | |
441 | %{_datadir}/mate/help/*/figures/stock_weather-*.png | |
442 | EOF | |
443 | #%find_lang invest-applet --with-mate | |
444 | cat <<EOF >> invest-applet.lang | |
445 | %{_datadir}/mate/help/*/figures/symbol-search.png | |
446 | EOF | |
447 | #%find_lang mixer_applet2 --with-mate | |
448 | touch mixer_applet2.lang | |
449 | #%find_lang multiload --with-mate | |
450 | cat <<EOF >> multiload.lang | |
451 | %{_datadir}/mate/help/*/figures/multiload*.png | |
452 | %{_datadir}/mate/help/*/figures/system_monitor.png | |
453 | %{_datadir}/mate/help/*/figures/system-monitor-*.png | |
454 | EOF | |
455 | #%find_lang stickynotes_applet --with-mate | |
456 | cat <<EOF >> stickynotes_applet.lang | |
457 | %{_datadir}/mate/help/*/figures/stickynote*.png | |
458 | EOF | |
459 | #%find_lang trashapplet --with-mate | |
460 | cat <<EOF >>trashapplet.lang | |
461 | %{_datadir}/mate/help/*/figures/trash-applet.png | |
462 | EOF | |
b29528cb | 463 | |
93e72bf3 JB |
464 | %clean |
465 | rm -rf $RPM_BUILD_ROOT | |
466 | ||
c3067899 | 467 | %post accessx-status |
e4bb4543 | 468 | %scrollkeeper_update_post |
dbca2d9e | 469 | %update_icon_cache hicolor |
c3067899 | 470 | |
471 | %postun accessx-status | |
e4bb4543 | 472 | %scrollkeeper_update_postun |
dbca2d9e | 473 | %update_icon_cache hicolor |
c3067899 | 474 | |
475 | %post battstat | |
e4bb4543 | 476 | %scrollkeeper_update_post |
da523ee7 | 477 | %glib_compile_schemas |
c3067899 | 478 | |
479 | %preun battstat | |
da523ee7 | 480 | %glib_compile_schemas |
c3067899 | 481 | |
482 | %postun battstat | |
e4bb4543 | 483 | %scrollkeeper_update_postun |
c3067899 | 484 | |
485 | %post charpicker | |
e4bb4543 | 486 | %scrollkeeper_update_post |
da523ee7 | 487 | %glib_compile_schemas |
dbca2d9e | 488 | %update_icon_cache hicolor |
c3067899 | 489 | |
490 | %preun charpicker | |
da523ee7 | 491 | %glib_compile_schemas |
c3067899 | 492 | |
493 | %postun charpicker | |
e4bb4543 | 494 | %scrollkeeper_update_postun |
dbca2d9e | 495 | %update_icon_cache hicolor |
c3067899 | 496 | |
497 | %post cpufreq | |
e4bb4543 | 498 | %scrollkeeper_update_post |
499 | %gconf_schema_install cpufreq-applet.schemas | |
dbca2d9e | 500 | %update_icon_cache hicolor |
c3067899 | 501 | |
502 | %preun cpufreq | |
e4bb4543 | 503 | %gconf_schema_uninstall cpufreq-applet.schemas |
c3067899 | 504 | |
505 | %postun cpufreq | |
e4bb4543 | 506 | %scrollkeeper_update_postun |
dbca2d9e | 507 | %update_icon_cache hicolor |
c3067899 | 508 | |
509 | %post drivemount | |
e4bb4543 | 510 | %scrollkeeper_update_post |
da523ee7 | 511 | %glib_compile_schemas |
c3067899 | 512 | |
513 | %preun drivemount | |
da523ee7 | 514 | %glib_compile_schemas |
c3067899 | 515 | |
09327ab9 | 516 | %postun drivemount |
e4bb4543 | 517 | %scrollkeeper_update_postun |
c3067899 | 518 | |
519 | %post geyes | |
e4bb4543 | 520 | %scrollkeeper_update_post |
da523ee7 | 521 | %glib_compile_schemas |
dbca2d9e | 522 | %update_icon_cache hicolor |
c3067899 | 523 | |
524 | %preun geyes | |
da523ee7 | 525 | %glib_compile_schemas |
c3067899 | 526 | |
09327ab9 | 527 | %postun geyes |
e4bb4543 | 528 | %scrollkeeper_update_postun |
dbca2d9e | 529 | %update_icon_cache hicolor |
c3067899 | 530 | |
531 | %post gweather | |
90d04c4a | 532 | /sbin/ldconfig |
e4bb4543 | 533 | %scrollkeeper_update_post |
c3067899 | 534 | |
535 | %postun gweather | |
90d04c4a | 536 | /sbin/ldconfig |
e4bb4543 | 537 | %scrollkeeper_update_postun |
c3067899 | 538 | |
6d95af8e | 539 | %post invest |
540 | %scrollkeeper_update_post | |
b26882b7 | 541 | %update_icon_cache hicolor |
6d95af8e | 542 | |
543 | %postun invest | |
544 | %scrollkeeper_update_postun | |
b26882b7 | 545 | %update_icon_cache hicolor |
6d95af8e | 546 | |
c3067899 | 547 | %post multiload |
e4bb4543 | 548 | %scrollkeeper_update_post |
da523ee7 | 549 | %glib_compile_schemas |
c3067899 | 550 | |
551 | %preun multiload | |
da523ee7 | 552 | %glib_compile_schemas |
c3067899 | 553 | |
554 | %postun multiload | |
e4bb4543 | 555 | %scrollkeeper_update_postun |
c3067899 | 556 | |
557 | %post stickynotes | |
e4bb4543 | 558 | %scrollkeeper_update_post |
da523ee7 | 559 | %glib_compile_schemas |
dbca2d9e | 560 | %update_icon_cache hicolor |
c3067899 | 561 | |
562 | %preun stickynotes | |
da523ee7 | 563 | %glib_compile_schemas |
c3067899 | 564 | |
565 | %postun stickynotes | |
e4bb4543 | 566 | %scrollkeeper_update_postun |
dbca2d9e | 567 | %update_icon_cache hicolor |
c3067899 | 568 | |
569 | %post trash | |
e4bb4543 | 570 | %scrollkeeper_update_post |
c3067899 | 571 | |
572 | %postun trash | |
e4bb4543 | 573 | %scrollkeeper_update_postun |
6a5d9e40 | 574 | |
da523ee7 | 575 | %files -f %{name}.lang |
6a5d9e40 | 576 | %defattr(644,root,root,755) |
97c6a012 | 577 | %doc AUTHORS ChangeLog NEWS README |
19bedf26 | 578 | %dir %{_datadir}/%{name} |
b26882b7 | 579 | %dir %{_datadir}/%{name}/builder |
da523ee7 ER |
580 | %lang(es_CL) %dir %{_localedir}/es_CL |
581 | %lang(es_CL) %dir %{_localedir}/es_CL/LC_MESSAGES | |
582 | %lang(es_CO) %dir %{_localedir}/es_CO | |
583 | %lang(es_CO) %dir %{_localedir}/es_CO/LC_MESSAGES | |
584 | %lang(es_CR) %dir %{_localedir}/es_CR | |
585 | %lang(es_CR) %dir %{_localedir}/es_CR/LC_MESSAGES | |
586 | %lang(es_DO) %dir %{_localedir}/es_DO | |
587 | %lang(es_DO) %dir %{_localedir}/es_DO/LC_MESSAGES | |
588 | %lang(es_EC) %dir %{_localedir}/es_EC | |
589 | %lang(es_EC) %dir %{_localedir}/es_EC/LC_MESSAGES | |
590 | %lang(es_GT) %dir %{_localedir}/es_GT | |
591 | %lang(es_GT) %dir %{_localedir}/es_GT/LC_MESSAGES | |
592 | %lang(es_HN) %dir %{_localedir}/es_HN | |
593 | %lang(es_HN) %dir %{_localedir}/es_HN/LC_MESSAGES | |
594 | %lang(es_PA) %dir %{_localedir}/es_PA | |
595 | %lang(es_PA) %dir %{_localedir}/es_PA/LC_MESSAGES | |
596 | %lang(es_PE) %dir %{_localedir}/es_PE | |
597 | %lang(es_PE) %dir %{_localedir}/es_PE/LC_MESSAGES | |
598 | %lang(es_PR) %dir %{_localedir}/es_PR | |
599 | %lang(es_PR) %dir %{_localedir}/es_PR/LC_MESSAGES | |
600 | %lang(es_SV) %dir %{_localedir}/es_SV | |
601 | %lang(es_SV) %dir %{_localedir}/es_SV/LC_MESSAGES | |
602 | %lang(es_UY) %dir %{_localedir}/es_UY | |
603 | %lang(es_UY) %dir %{_localedir}/es_UY/LC_MESSAGES | |
604 | %lang(es_VE) %dir %{_localedir}/es_VE | |
605 | %lang(es_VE) %dir %{_localedir}/es_VE/LC_MESSAGES | |
c3067899 | 606 | |
97c6a012 | 607 | %files accessx-status -f accessx-status.lang |
c3067899 | 608 | %defattr(644,root,root,755) |
e5b5841a | 609 | %attr(755,root,root) %{_libexecdir}/accessx-status-applet |
da523ee7 | 610 | %{_datadir}/dbus-1/services/org.mate.panel.applet.AccessxStatusAppletFactory.service |
e5b5841a | 611 | %{_datadir}/mate-panel/ui/accessx-status-applet-menu.xml |
da523ee7 ER |
612 | %{_datadir}/mate-panel/applets/org.mate.applets.AccessxStatusApplet.mate-panel-applet |
613 | %{_pixmapsdir}/mate-accessx-status-applet | |
614 | %{_iconsdir}/mate/*/apps/ax-applet.png | |
97c6a012 | 615 | |
616 | %files battstat -f battstat.lang | |
c3067899 | 617 | %defattr(644,root,root,755) |
e5b5841a | 618 | %attr(755,root,root) %{_libexecdir}/battstat-applet-2 |
da523ee7 | 619 | %{_datadir}/dbus-1/services/org.mate.panel.applet.BattstatAppletFactory.service |
e5b5841a | 620 | %{_datadir}/mate-panel/ui/battstat-applet-menu.xml |
da523ee7 | 621 | %{_datadir}/mate-panel/applets/org.mate.applets.BattstatApplet.mate-panel-applet |
b26882b7 | 622 | %{_datadir}/%{name}/builder/battstat_applet.ui |
da523ee7 | 623 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.battstat.gschema.xml |
e5b5841a ER |
624 | # FIXME package not to pull 'balsa' |
625 | %dir %{_sysconfdir}/sound | |
626 | %dir %{_sysconfdir}/sound/events | |
da523ee7 | 627 | %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist |
97c6a012 | 628 | |
629 | %files charpicker -f char-palette.lang | |
c3067899 | 630 | %defattr(644,root,root,755) |
e5b5841a | 631 | %attr(755,root,root) %{_libexecdir}/charpick_applet2 |
da523ee7 | 632 | %{_datadir}/dbus-1/services/org.mate.panel.applet.CharpickerAppletFactory.service |
e5b5841a | 633 | %{_datadir}/mate-panel/ui/charpick-applet-menu.xml |
da523ee7 ER |
634 | %{_datadir}/mate-panel/applets/org.mate.applets.CharpickerApplet.mate-panel-applet |
635 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.charpick.gschema.xml | |
97c6a012 | 636 | |
da523ee7 | 637 | %files cpufreq -f cpufreq.lang |
c3067899 | 638 | %defattr(644,root,root,755) |
da523ee7 | 639 | %attr(755,root,root) %{_bindir}/mate-cpufreq-selector |
e5b5841a | 640 | %attr(755,root,root) %{_libexecdir}/mate-cpufreq-applet |
da523ee7 ER |
641 | %{_datadir}/dbus-1/services/org.mate.panel.applet.CPUFreqAppletFactory.service |
642 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.cpufreq.gschema.xml | |
33644ac7 ER |
643 | %if 1 |
644 | /etc/dbus-1/system.d/org.mate.CPUFreqSelector.conf | |
645 | %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service | |
da523ee7 | 646 | %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy |
33644ac7 ER |
647 | %endif |
648 | %{_datadir}/mate-panel/applets/org.mate.applets.CPUFreqApplet.mate-panel-applet | |
b26882b7 | 649 | %{_datadir}/%{name}/builder/cpufreq-preferences.ui |
e5b5841a | 650 | %{_datadir}/mate-panel/ui/cpufreq-applet-menu.xml |
da523ee7 ER |
651 | %{_pixmapsdir}/mate-cpufreq-applet |
652 | %{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.png | |
653 | %{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.svg | |
c3067899 | 654 | |
97c6a012 | 655 | %files drivemount -f drivemount.lang |
c3067899 | 656 | %defattr(644,root,root,755) |
e5b5841a | 657 | %attr(755,root,root) %{_libexecdir}/drivemount_applet2 |
da523ee7 | 658 | %{_datadir}/dbus-1/services/org.mate.panel.applet.DriveMountAppletFactory.service |
e5b5841a | 659 | %{_datadir}/mate-panel/ui/drivemount-applet-menu.xml |
da523ee7 ER |
660 | %{_datadir}/mate-panel/applets/org.mate.applets.DriveMountApplet.mate-panel-applet |
661 | #%{_sysconfdir}/gconf/schemas/drivemount.schemas | |
97c6a012 | 662 | |
663 | %files geyes -f geyes.lang | |
c3067899 | 664 | %defattr(644,root,root,755) |
e5b5841a | 665 | %attr(755,root,root) %{_libexecdir}/geyes_applet2 |
da523ee7 | 666 | %{_datadir}/dbus-1/services/org.mate.panel.applet.GeyesAppletFactory.service |
e5b5841a | 667 | %{_datadir}/mate-panel/ui/geyes-applet-menu.xml |
c3067899 | 668 | %{_datadir}/%{name}/geyes |
da523ee7 ER |
669 | %{_datadir}/mate-panel/applets/org.mate.applets.GeyesApplet.mate-panel-applet |
670 | %{_iconsdir}/hicolor/*/apps/mate-eyes-applet.* | |
671 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.geyes.gschema.xml | |
97c6a012 | 672 | |
97c6a012 | 673 | %files gweather -f gweather.lang |
c3067899 | 674 | %defattr(644,root,root,755) |
e5b5841a | 675 | %attr(755,root,root) %{_libexecdir}/mateweather-applet-2 |
da523ee7 | 676 | %{_datadir}/dbus-1/services/org.mate.panel.applet.MateWeatherAppletFactory.service |
e5b5841a | 677 | %{_datadir}/mate-panel/ui/mateweather-applet-menu.xml |
da523ee7 | 678 | %{_datadir}/mate-panel/applets/org.mate.applets.MateWeatherApplet.mate-panel-applet |
97c6a012 | 679 | |
b26882b7 | 680 | %files invest -f invest-applet.lang |
6d95af8e | 681 | %defattr(644,root,root,755) |
da523ee7 | 682 | %attr(755,root,root) %{_bindir}/mate-invest-chart |
e5b5841a | 683 | %attr(755,root,root) %{_libexecdir}/invest-applet |
da523ee7 ER |
684 | %{_datadir}/dbus-1/services/org.mate.panel.applet.InvestAppletFactory.service |
685 | %{_datadir}/%{name}/Invest_Applet.xml | |
686 | %{_datadir}/mate-panel/applets/org.mate.applets.InvestApplet.mate-panel-applet | |
b26882b7 MB |
687 | %{_datadir}/%{name}/builder/financialchart.ui |
688 | %{_datadir}/%{name}/builder/prefs-dialog.ui | |
dbca2d9e | 689 | %{_datadir}/%{name}/invest-applet |
da523ee7 ER |
690 | %{_iconsdir}/hicolor/*/apps/mate-invest-applet.* |
691 | %dir %{py_sitedir}/mate_invest | |
692 | %{py_sitedir}/mate_invest/*.py[co] | |
693 | ||
97c6a012 | 694 | %files multiload -f multiload.lang |
c3067899 | 695 | %defattr(644,root,root,755) |
e5b5841a | 696 | %attr(755,root,root) %{_libexecdir}/multiload-applet-2 |
da523ee7 | 697 | %{_datadir}/dbus-1/services/org.mate.panel.applet.MultiLoadAppletFactory.service |
e5b5841a | 698 | %{_datadir}/mate-panel/ui/multiload-applet-menu.xml |
da523ee7 ER |
699 | %{_datadir}/mate-panel/applets/org.mate.applets.MultiLoadApplet.mate-panel-applet |
700 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.multiload.gschema.xml | |
97c6a012 | 701 | |
702 | %files stickynotes -f stickynotes_applet.lang | |
c3067899 | 703 | %defattr(644,root,root,755) |
e5b5841a | 704 | %attr(755,root,root) %{_libexecdir}/stickynotes_applet |
da523ee7 | 705 | %{_datadir}/dbus-1/services/org.mate.panel.applet.StickyNotesAppletFactory.service |
e5b5841a | 706 | %{_datadir}/mate-panel/ui/stickynotes-applet-menu.xml |
b26882b7 | 707 | %{_datadir}/%{name}/builder/stickynotes.ui |
da523ee7 ER |
708 | %{_datadir}/mate-panel/applets/org.mate.applets.StickyNotesApplet.mate-panel-applet |
709 | %{_pixmapsdir}/mate-stickynotes | |
710 | %{_iconsdir}/hicolor/*/apps/mate-sticky-notes-applet.* | |
711 | %{_datadir}/glib-2.0/schemas/org.mate.stickynotes.gschema.xml | |
97c6a012 | 712 | |
713 | %files trash -f trashapplet.lang | |
c3067899 | 714 | %defattr(644,root,root,755) |
e5b5841a | 715 | %attr(755,root,root) %{_libexecdir}/trashapplet |
da523ee7 | 716 | %{_datadir}/dbus-1/services/org.mate.panel.applet.TrashAppletFactory.service |
b26882b7 | 717 | %{_datadir}/%{name}/builder/trashapplet-empty-progress.ui |
e5b5841a | 718 | %{_datadir}/mate-panel/ui/trashapplet-menu.xml |
da523ee7 | 719 | %{_datadir}/mate-panel/applets/org.mate.applets.TrashApplet.mate-panel-applet |