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