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