]> git.pld-linux.org Git - packages/mate-applets.git/blame - mate-applets.spec
- remove frp locale, release 2
[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
f0a8c96a 14Release: 2
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
f0a8c96a
JB
455# not supported by glibc (as of glibc-2.24)
456%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv}
b3da2f5b 457
da523ee7 458%find_lang %{name}
9a819dfd
JB
459%find_lang mate-accessx-status --with-mate
460%find_lang mate-battstat --with-mate
461%find_lang mate-char-palette --with-mate
462%find_lang mate-cpufreq-applet --with-mate
463%find_lang mate-drivemount --with-mate
464%find_lang mate-geyes --with-mate
465%find_lang mateweather --with-mate
466%find_lang mate-invest-applet --with-mate
467%find_lang mate-multiload --with-mate
6765a7f3 468%find_lang mate-netspeed-applet --with-mate
4552d319 469%find_lang mate-stickynotes-applet --with-mate
9a819dfd 470%find_lang mate-trashapplet --with-mate
b29528cb 471
93e72bf3
JB
472%clean
473rm -rf $RPM_BUILD_ROOT
474
aaddcfca 475%post -n mate-applet-accessx-status
c6afed1f 476%update_icon_cache mate
c3067899 477
aaddcfca 478%postun -n mate-applet-accessx-status
c6afed1f 479%update_icon_cache mate
c3067899 480
aaddcfca 481%post -n mate-applet-battstat
da523ee7 482%glib_compile_schemas
c3067899 483
aaddcfca 484%preun -n mate-applet-battstat
da523ee7 485%glib_compile_schemas
c3067899 486
aaddcfca 487%post -n mate-applet-charpicker
da523ee7 488%glib_compile_schemas
dbca2d9e 489%update_icon_cache hicolor
c3067899 490
aaddcfca 491%preun -n mate-applet-charpicker
da523ee7 492%glib_compile_schemas
c3067899 493
aaddcfca 494%postun -n mate-applet-charpicker
dbca2d9e 495%update_icon_cache hicolor
c3067899 496
4ff7e681
JP
497%post -n mate-applet-command
498%glib_compile_schemas
499
500%preun -n mate-applet-command
501%glib_compile_schemas
502
aaddcfca 503%post -n mate-applet-cpufreq
107b821d 504%glib_compile_schemas
dbca2d9e 505%update_icon_cache hicolor
c3067899 506
aaddcfca 507%preun -n mate-applet-cpufreq
107b821d 508%glib_compile_schemas
c3067899 509
aaddcfca 510%postun -n mate-applet-cpufreq
dbca2d9e 511%update_icon_cache hicolor
c3067899 512
aaddcfca 513%post -n mate-applet-drivemount
da523ee7 514%glib_compile_schemas
c3067899 515
aaddcfca 516%preun -n mate-applet-drivemount
da523ee7 517%glib_compile_schemas
c3067899 518
aaddcfca 519%post -n mate-applet-geyes
da523ee7 520%glib_compile_schemas
dbca2d9e 521%update_icon_cache hicolor
c3067899 522
aaddcfca 523%preun -n mate-applet-geyes
da523ee7 524%glib_compile_schemas
c3067899 525
aaddcfca 526%postun -n mate-applet-geyes
dbca2d9e 527%update_icon_cache hicolor
c3067899 528
aaddcfca 529%post -n mate-applet-invest
b26882b7 530%update_icon_cache hicolor
6d95af8e 531
aaddcfca 532%postun -n mate-applet-invest
b26882b7 533%update_icon_cache hicolor
6d95af8e 534
aaddcfca 535%post -n mate-applet-multiload
da523ee7 536%glib_compile_schemas
c3067899 537
aaddcfca 538%preun -n mate-applet-multiload
da523ee7 539%glib_compile_schemas
c3067899 540
6765a7f3
JP
541%post -n mate-applet-netspeed
542%glib_compile_schemas
543%update_icon_cache hicolor
544
545%preun -n mate-applet-netspeed
546%glib_compile_schemas
547
548%postun -n mate-applet-netspeed
549%update_icon_cache hicolor
550
aaddcfca 551%post -n mate-applet-stickynotes
da523ee7 552%glib_compile_schemas
dbca2d9e 553%update_icon_cache hicolor
c3067899 554
aaddcfca 555%preun -n mate-applet-stickynotes
da523ee7 556%glib_compile_schemas
c3067899 557
aaddcfca 558%postun -n mate-applet-stickynotes
dbca2d9e 559%update_icon_cache hicolor
c3067899 560
4ff7e681
JP
561%post -n mate-applet-timer
562%glib_compile_schemas
563
564%preun -n mate-applet-timer
565%glib_compile_schemas
566
da523ee7 567%files -f %{name}.lang
6a5d9e40 568%defattr(644,root,root,755)
97c6a012 569%doc AUTHORS ChangeLog NEWS README
19bedf26 570%dir %{_datadir}/%{name}
b26882b7 571%dir %{_datadir}/%{name}/builder
6765a7f3
JP
572%dir %{_datadir}/%{name}/icons
573%dir %{_datadir}/%{name}/icons/hicolor
574%dir %{_datadir}/%{name}/icons/hicolor/48x48
575%dir %{_datadir}/%{name}/icons/hicolor/48x48/apps
c6afed1f
JB
576
577%files -n mate-applet-accessx-status -f mate-accessx-status.lang
c3067899 578%defattr(644,root,root,755)
e5b5841a 579%attr(755,root,root) %{_libexecdir}/accessx-status-applet
da523ee7 580%{_datadir}/dbus-1/services/org.mate.panel.applet.AccessxStatusAppletFactory.service
da523ee7 581%{_datadir}/mate-panel/applets/org.mate.applets.AccessxStatusApplet.mate-panel-applet
c6afed1f 582%{_datadir}/mate-panel/ui/accessx-status-applet-menu.xml
da523ee7 583%{_pixmapsdir}/mate-accessx-status-applet
5f32ec10 584%{_iconsdir}/hicolor/*/apps/mate-ax-applet.png
97c6a012 585
c6afed1f 586%files -n mate-applet-battstat -f mate-battstat.lang
c3067899 587%defattr(644,root,root,755)
f835cddd 588%attr(755,root,root) %{_libexecdir}/battstat-applet
c6afed1f 589%{_datadir}/%{name}/builder/battstat_applet.ui
da523ee7 590%{_datadir}/dbus-1/services/org.mate.panel.applet.BattstatAppletFactory.service
da523ee7 591%{_datadir}/mate-panel/applets/org.mate.applets.BattstatApplet.mate-panel-applet
c6afed1f 592%{_datadir}/mate-panel/ui/battstat-applet-menu.xml
da523ee7 593%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.battstat.gschema.xml
e5b5841a
ER
594# FIXME package not to pull 'balsa'
595%dir %{_sysconfdir}/sound
596%dir %{_sysconfdir}/sound/events
da523ee7 597%{_sysconfdir}/sound/events/mate-battstat_applet.soundlist
97c6a012 598
c6afed1f 599%files -n mate-applet-charpicker -f mate-char-palette.lang
c3067899 600%defattr(644,root,root,755)
f835cddd 601%attr(755,root,root) %{_libexecdir}/mate-charpick-applet
da523ee7 602%{_datadir}/dbus-1/services/org.mate.panel.applet.CharpickerAppletFactory.service
da523ee7 603%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.charpick.gschema.xml
c6afed1f
JB
604%{_datadir}/mate-panel/applets/org.mate.applets.CharpickerApplet.mate-panel-applet
605%{_datadir}/mate-panel/ui/charpick-applet-menu.xml
d8a65a65 606%{_mandir}/man1/mate-charpick-applet.1*
97c6a012 607
4ff7e681
JP
608%files -n mate-applet-command
609%defattr(644,root,root,755)
610%attr(755,root,root) %{_libexecdir}/command-applet
611%{_datadir}/dbus-1/services/org.mate.panel.applet.CommandAppletFactory.service
612%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.command.gschema.xml
613%{_datadir}/mate-panel/applets/org.mate.applets.CommandApplet.mate-panel-applet
614
c6afed1f 615%files -n mate-applet-cpufreq -f mate-cpufreq-applet.lang
c3067899 616%defattr(644,root,root,755)
c6afed1f 617# selector
da523ee7 618%attr(755,root,root) %{_bindir}/mate-cpufreq-selector
33644ac7
ER
619/etc/dbus-1/system.d/org.mate.CPUFreqSelector.conf
620%{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service
da523ee7 621%{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy
c6afed1f
JB
622# applet itself
623%attr(755,root,root) %{_libexecdir}/mate-cpufreq-applet
b26882b7 624%{_datadir}/%{name}/builder/cpufreq-preferences.ui
c6afed1f
JB
625%{_datadir}/dbus-1/services/org.mate.panel.applet.CPUFreqAppletFactory.service
626%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.cpufreq.gschema.xml
627%{_datadir}/mate-panel/applets/org.mate.applets.CPUFreqApplet.mate-panel-applet
e5b5841a 628%{_datadir}/mate-panel/ui/cpufreq-applet-menu.xml
da523ee7
ER
629%{_pixmapsdir}/mate-cpufreq-applet
630%{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.png
631%{_iconsdir}/hicolor/*/apps/mate-cpu-frequency-applet.svg
d8a65a65 632%{_mandir}/man1/mate-cpufreq-selector.1*
c3067899 633
c6afed1f 634%files -n mate-applet-drivemount -f mate-drivemount.lang
c3067899 635%defattr(644,root,root,755)
f835cddd 636%attr(755,root,root) %{_libexecdir}/mate-drivemount-applet
da523ee7 637%{_datadir}/dbus-1/services/org.mate.panel.applet.DriveMountAppletFactory.service
da523ee7 638%{_datadir}/mate-panel/applets/org.mate.applets.DriveMountApplet.mate-panel-applet
c6afed1f 639%{_datadir}/mate-panel/ui/drivemount-applet-menu.xml
d8a65a65 640%{_mandir}/man1/mate-drivemount-applet.1*
97c6a012 641
c6afed1f 642%files -n mate-applet-geyes -f mate-geyes.lang
c3067899 643%defattr(644,root,root,755)
f835cddd 644%attr(755,root,root) %{_libexecdir}/mate-geyes-applet
c3067899 645%{_datadir}/%{name}/geyes
c6afed1f
JB
646%{_datadir}/dbus-1/services/org.mate.panel.applet.GeyesAppletFactory.service
647%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.geyes.gschema.xml
da523ee7 648%{_datadir}/mate-panel/applets/org.mate.applets.GeyesApplet.mate-panel-applet
c6afed1f 649%{_datadir}/mate-panel/ui/geyes-applet-menu.xml
da523ee7 650%{_iconsdir}/hicolor/*/apps/mate-eyes-applet.*
d8a65a65 651%{_mandir}/man1/mate-geyes-applet.1*
97c6a012 652
c6afed1f 653%files -n mate-applet-gweather -f mateweather.lang
c3067899 654%defattr(644,root,root,755)
f835cddd 655%attr(755,root,root) %{_libexecdir}/mateweather-applet
da523ee7 656%{_datadir}/dbus-1/services/org.mate.panel.applet.MateWeatherAppletFactory.service
da523ee7 657%{_datadir}/mate-panel/applets/org.mate.applets.MateWeatherApplet.mate-panel-applet
c6afed1f 658%{_datadir}/mate-panel/ui/mateweather-applet-menu.xml
d8a65a65 659%{_mandir}/man1/mateweather.1*
97c6a012 660
c6afed1f 661%files -n mate-applet-invest -f mate-invest-applet.lang
6d95af8e 662%defattr(644,root,root,755)
da523ee7 663%attr(755,root,root) %{_bindir}/mate-invest-chart
e5b5841a 664%attr(755,root,root) %{_libexecdir}/invest-applet
da523ee7 665%{_datadir}/%{name}/Invest_Applet.xml
c6afed1f 666%{_datadir}/%{name}/invest-applet
b26882b7
MB
667%{_datadir}/%{name}/builder/financialchart.ui
668%{_datadir}/%{name}/builder/prefs-dialog.ui
c6afed1f
JB
669%{_datadir}/dbus-1/services/org.mate.panel.applet.InvestAppletFactory.service
670%{_datadir}/mate-panel/applets/org.mate.applets.InvestApplet.mate-panel-applet
da523ee7
ER
671%{_iconsdir}/hicolor/*/apps/mate-invest-applet.*
672%dir %{py_sitedir}/mate_invest
673%{py_sitedir}/mate_invest/*.py[co]
d8a65a65 674%{_mandir}/man1/mate-invest-chart.1*
da523ee7 675
c6afed1f 676%files -n mate-applet-multiload -f mate-multiload.lang
c3067899 677%defattr(644,root,root,755)
f835cddd 678%attr(755,root,root) %{_libexecdir}/mate-multiload-applet
da523ee7 679%{_datadir}/dbus-1/services/org.mate.panel.applet.MultiLoadAppletFactory.service
c6afed1f 680%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.multiload.gschema.xml
e5b5841a 681%{_datadir}/mate-panel/ui/multiload-applet-menu.xml
da523ee7 682%{_datadir}/mate-panel/applets/org.mate.applets.MultiLoadApplet.mate-panel-applet
d8a65a65 683%{_mandir}/man1/mate-multiload-applet.1*
97c6a012 684
6765a7f3
JP
685%files -n mate-applet-netspeed -f mate-netspeed-applet.lang
686%defattr(644,root,root,755)
687%attr(755,root,root) %{_libexecdir}/mate-netspeed-applet
688%{_datadir}/dbus-1/services/org.mate.panel.applet.NetspeedAppletFactory.service
689%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.netspeed.gschema.xml
690%{_datadir}/mate-panel/applets/org.mate.applets.NetspeedApplet.mate-panel-applet
691%{_datadir}/mate-panel/ui/netspeed-menu.xml
692%{_iconsdir}/hicolor/*/apps/mate-netspeed-applet.*
693%{_iconsdir}/hicolor/*x*/devices/mate-netspeed-*.png
694%{_iconsdir}/hicolor/24x24/status/mate-netspeed-*.png
695
4552d319 696%files -n mate-applet-stickynotes -f mate-stickynotes-applet.lang
c3067899 697%defattr(644,root,root,755)
6765a7f3 698%attr(755,root,root) %{_libexecdir}/stickynotes-applet
b26882b7 699%{_datadir}/%{name}/builder/stickynotes.ui
6765a7f3 700%{_datadir}/%{name}/icons/hicolor/*/apps/stickynotes-stock-*.png
c6afed1f
JB
701%{_datadir}/dbus-1/services/org.mate.panel.applet.StickyNotesAppletFactory.service
702%{_datadir}/glib-2.0/schemas/org.mate.stickynotes.gschema.xml
da523ee7 703%{_datadir}/mate-panel/applets/org.mate.applets.StickyNotesApplet.mate-panel-applet
c6afed1f 704%{_datadir}/mate-panel/ui/stickynotes-applet-menu.xml
da523ee7 705%{_iconsdir}/hicolor/*/apps/mate-sticky-notes-applet.*
97c6a012 706
47e702f3
JB
707%files -n mate-applet-timer
708%defattr(644,root,root,755)
47e702f3 709%attr(755,root,root) %{_libexecdir}/timer-applet
4ff7e681
JP
710%{_datadir}/dbus-1/services/org.mate.panel.applet.TimerAppletFactory.service
711%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.timer.gschema.xml
712%{_datadir}/mate-panel/applets/org.mate.applets.TimerApplet.mate-panel-applet
47e702f3 713
c6afed1f 714%files -n mate-applet-trash -f mate-trashapplet.lang
c3067899 715%defattr(644,root,root,755)
e5b5841a 716%attr(755,root,root) %{_libexecdir}/trashapplet
b26882b7 717%{_datadir}/%{name}/builder/trashapplet-empty-progress.ui
c6afed1f 718%{_datadir}/dbus-1/services/org.mate.panel.applet.TrashAppletFactory.service
da523ee7 719%{_datadir}/mate-panel/applets/org.mate.applets.TrashApplet.mate-panel-applet
c6afed1f 720%{_datadir}/mate-panel/ui/trashapplet-menu.xml
This page took 0.289121 seconds and 4 git commands to generate.