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