]> git.pld-linux.org Git - packages/mate-applets.git/blame - mate-applets.spec
- updated to 1.10.3
[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
4552d319 13Version: 1.10.3
f835cddd 14Release: 1
c6afed1f 15License: GPL v2+ (applets), FDL (help)
45551746 16Group: X11/Applications
f835cddd 17Source0: 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
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
8eecd2f8 29BuildRequires: cpufrequtils-devel >= 0.3
d2c5b124 30BuildRequires: dbus-devel >= 1.1.2
8eecd2f8 31BuildRequires: dbus-glib-devel >= 0.74
e75a2750 32BuildRequires: gettext-tools >= 0.10.40
c6afed1f 33BuildRequires: 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 38BuildRequires: intltool >= 0.40.0
33644ac7 39BuildRequires: libgtop-devel >= 1:2.11.92
98eec83d 40BuildRequires: libmateweather-devel >= 1.6.1
e5b5841a 41BuildRequires: libnotify-devel >= 0.7.0
c6afed1f 42BuildRequires: 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 45BuildRequires: 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 50BuildRequires: mate-common >= 1.1.0
9a819dfd 51BuildRequires: mate-desktop-devel >= 1.7.3
da523ee7 52BuildRequires: mate-icon-theme-devel >= 1.1.0
9a819dfd
JB
53BuildRequires: mate-panel-devel >= 1.7.0
54BuildRequires: mate-settings-daemon-devel
52b994c7 55BuildRequires: pkgconfig >= 1:0.19
33644ac7 56BuildRequires: polkit-devel >= 0.92
8eecd2f8 57BuildRequires: python-devel >= 1:2.4
d2c5b124 58BuildRequires: python-pygobject3-devel >= 3.0
8eecd2f8 59BuildRequires: rpm-pythonprov
da523ee7 60BuildRequires: rpmbuild(find_lang) >= 1.36
52b994c7 61BuildRequires: rpmbuild(macros) >= 1.311
c6afed1f 62BuildRequires: sed >= 4.0
cb11c32a 63BuildRequires: tar >= 1:1.22
33644ac7 64BuildRequires: upower-devel >= 0.9.4
c6afed1f 65BuildRequires: xorg-lib-libX11-devel
cb11c32a 66BuildRequires: xz
4ff7e681 67BuildRequires: yelp-tools
9a819dfd 68Requires: mate-icon-theme >= 1.1.0
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}
c6afed1f 97Requires: 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}
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
ER
120Requires: %{name} = %{version}-%{release}
121Requires: 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 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
ER
145Requires: %{name} = %{version}-%{release}
146Requires: 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 149Requires: hicolor-icon-theme
9a819dfd 150Requires: mate-panel >= 1.7.0
c3067899 151
aaddcfca 152%description -n mate-applet-charpicker
37bba870
ER
153The Character Palette provides a convenient way to access characters
154that are not on your keyboard, such as accented characters,
155mathematical symbols, special symbols, and punctuation marks.
156
157You can insert characters from the applet into text strings, for
158example in text documents or at the command line. You can customize
159the contents of the applet to suit your requirements.
160
161Character Palette supports the UTF-8 character encoding so you can use
162the palette to display or copy any Unicode character.
c3067899 163
aaddcfca 164%description -n mate-applet-charpicker -l pl.UTF-8
65c1b73f
JB
165Aplet palety znaków udostępnia wygodną metodę wprowadzania znaków nie
166istniejących na klawiaturze, takich jak znaki akcentowane, symbole
167matematyczne, symbole specjalne i znaki przestankowe.
168
169Przy pomocy apletu można wprowadzać znaki do łańcuchów tekstowych, na
170przykład w dokumentach tekstowych lub w linii poleceń. Zawartość
171apletu można dostosowywać do własnych wymagań.
172
173Paleta znaków obsługuje kodowanie znaków UTF-8, więc można jej używać
174do wyświetlania lub kopiowania dowolnych znaków unikodowych.
c3067899 175
4ff7e681
JP
176%package -n mate-applet-command
177Summary: Command applet for MATE Desktop
b32b9320 178Summary(pl.UTF-8): Aplet uruchamiania poleceń dla środowiska MATE
4ff7e681
JP
179Group: X11/Applications
180Requires: %{name} = %{version}-%{release}
181Requires: 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 184Requires: hicolor-icon-theme
9a819dfd 185Requires: mate-panel >= 1.7.0
4ff7e681
JP
186
187%description -n mate-applet-command
188Command applet for MATE Desktop.
189
b32b9320
JB
190%description -n mate-applet-command -l pl.UTF-8
191Aplet uruchamiania poleceń dla środowiska MATE.
192
aaddcfca 193%package -n mate-applet-cpufreq
47e702f3
JB
194Summary: CPU Frequency Scaling Monitor applet for MATE Desktop
195Summary(pl.UTF-8): Aplet monitora częstotliwości procesora dla środowiska MATE
c3067899 196Group: X11/Applications
c6afed1f 197Requires(post,postun): gtk-update-icon-cache
da523ee7 198Requires: %{name} = %{version}-%{release}
c6afed1f 199Requires: 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 202Requires: hicolor-icon-theme
9a819dfd 203Requires: mate-panel >= 1.7.0
da523ee7 204Requires: mate-polkit
c6afed1f 205Requires: polkit >= 0.92
c3067899 206
aaddcfca 207%description -n mate-applet-cpufreq
37bba870
ER
208The CPU Frequency Scaling Monitor provides a convenient way to monitor
209the CPU Frequency Scaling for each CPU.
c3067899 210
aaddcfca 211%description -n mate-applet-cpufreq -l pl.UTF-8
65c1b73f
JB
212Aplet monitora częstotliwości procesora umożliwia wygodne
213monitorowanie częstotliwości dla każdego procesora.
c3067899 214
aaddcfca 215%package -n mate-applet-drivemount
47e702f3
JB
216Summary: Disk Mounter applet for MATE Desktop
217Summary(pl.UTF-8): Aplet do montowania dysków dla środowiska MATE
c3067899 218Group: X11/Applications
da523ee7
ER
219Requires: %{name} = %{version}-%{release}
220Requires: 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}
223Requires: mate-panel >= 1.7.0
c3067899 224
aaddcfca 225%description -n mate-applet-drivemount
37bba870
ER
226The Disk Mounter enables you to quickly mount and unmount various
227types of drives and file systems.
c3067899 228
aaddcfca 229%description -n mate-applet-drivemount -l pl.UTF-8
65c1b73f
JB
230Aplet do montowania dysków, pozwalający szybko montować i odmontowywać
231różne rodzaje dysków i systemów plików.
c3067899 232
aaddcfca 233%package -n mate-applet-geyes
47e702f3
JB
234Summary: Geyes applet - tracking the mouse pointer for MATE Desktop
235Summary(pl.UTF-8): Aplet geyes - śledzenie wskaźnika myszy dla środowiska MATE
c3067899 236Group: X11/Applications
c6afed1f 237Requires(post,postun): gtk-update-icon-cache
da523ee7
ER
238Requires: %{name} = %{version}-%{release}
239Requires: 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 242Requires: hicolor-icon-theme
9a819dfd 243Requires: mate-panel >= 1.7.0
c3067899 244
aaddcfca 245%description -n mate-applet-geyes
37bba870
ER
246The Geyes applet provides an entertaining way to track the movement of
247the mouse pointer around your screen. The applet is an image of one or
248more eyes that follow the mouse pointer around the screen.
c3067899 249
aaddcfca 250%description -n mate-applet-geyes -l pl.UTF-8
65c1b73f
JB
251Aplet geyes to zabawny sposób śledzenia ruchu wskaźnika myszy po
252ekranie. Aplet jest obrazem jednego lub większej liczby oczu
253podążających za wskaźnikiem myszy.
c3067899 254
aaddcfca 255%package -n mate-applet-gweather
47e702f3
JB
256Summary: Weather Report applet for MATE Desktop
257Summary(pl.UTF-8): Aplet raportu pogodowego dla środowiska MATE
c3067899 258Group: X11/Applications
da523ee7 259Requires: %{name} = %{version}-%{release}
d2c5b124 260Requires: dbus >= 1.1.2
6261da7b 261Requires: dbus(org.freedesktop.Notifications)
23606d42 262Requires: dbus-glib >= 0.74
c6afed1f 263Requires: 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
266Requires: libmateweather >= 1.6.1
267Requires: libnotify >= 0.7.0
9a819dfd 268Requires: mate-panel >= 1.7.0
c3067899 269
aaddcfca 270%description -n mate-applet-gweather
65c1b73f
JB
271The Weather Report downloads weather information from the U.S.
272National Weather Service (NWS) servers, including the Interactive
273Weather Information Network (IWIN) and other weather services. You can
274use Weather Report to display current weather information and weather
37bba870 275forecasts on your computer.
c3067899 276
aaddcfca 277%description -n mate-applet-gweather -l pl.UTF-8
65c1b73f
JB
278Aplet raportu pogodowego ściąga informacje pogodowe z serwerów U.S.
279National Weather Service (NWS), wraz z siecią Interactive Weather
280Information Network (IWIN) oraz innych serwisów pogodowych. Apletu
281można używać do wyświetlania aktualnych informacji pogodowych oraz
282prognoz.
c3067899 283
aaddcfca 284%package -n mate-applet-invest
47e702f3
JB
285Summary: Stock Ticker applet for MATE Desktop
286Summary(pl.UTF-8): Aplet wskaźnika giełdowego dla środowiska MATE
6d95af8e 287Group: X11/Applications
c6afed1f 288Requires(post,postun): gtk-update-icon-cache
da523ee7 289Requires: %{name} = %{version}-%{release}
c6afed1f 290Requires: 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 293Requires: hicolor-icon-theme
9a819dfd 294Requires: mate-panel >= 1.7.0
c6afed1f 295Requires: python-dbus
d2c5b124 296Requires: python-pygobject3 >= 3.0
6d95af8e 297
aaddcfca 298%description -n mate-applet-invest
da523ee7 299The Invest MATE panel applet downloads current stock quotes from
37bba870 300Yahoo! 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
303Aplet wskaźnika giełdowego, ściągający aktualne notowania z serwisu
304Yahoo! Finance i wyświetlające je na rozwijanej liście.
6d95af8e 305
aaddcfca 306%package -n mate-applet-multiload
47e702f3
JB
307Summary: System Monitor applet for MATE Desktop
308Summary(pl.UTF-8): Aplet monitora systemu dla środowiska MATE
c3067899 309Group: X11/Applications
da523ee7
ER
310Requires: %{name} = %{version}-%{release}
311Requires: 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 314Requires: libgtop >= 1:2.11.92
9a819dfd 315Requires: mate-panel >= 1.7.0
6952b53c 316Suggests: mate-system-monitor >= 1.5
c3067899 317
aaddcfca 318%description -n mate-applet-multiload
37bba870
ER
319The System Monitor displays system load information in graphical
320format in a panel.
c3067899 321
aaddcfca 322%description -n mate-applet-multiload -l pl.UTF-8
65c1b73f
JB
323Aplet monitora systemu wyświetla w panelu informacje o obciążeniu
324systemu w postaci graficznej.
c3067899 325
aaddcfca 326%package -n mate-applet-stickynotes
47e702f3
JB
327Summary: Sticky Notes applet for MATE Desktop
328Summary(pl.UTF-8): Aplet notatek dla środowiska MATE
c3067899 329Group: X11/Applications
c6afed1f 330Requires(post,postun): gtk-update-icon-cache
da523ee7
ER
331Requires: %{name} = %{version}-%{release}
332Requires: 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 335Requires: hicolor-icon-theme
9a819dfd
JB
336%{?with_gtk3:Requires: libwnck >= 3.0.0}
337%{!?with_gtk3:Requires: libwnck2 >= 2.9.3}
c6afed1f 338Requires: libxml2 >= 1:2.5.0
9a819dfd 339Requires: mate-panel >= 1.7.0
c3067899 340
aaddcfca 341%description -n mate-applet-stickynotes
37bba870
ER
342The Sticky Notes panel application enables you to create, view, and
343manage sticky notes on your desktop. You can edit the title, contents,
344dimensions, and style of sticky notes. When the panel is restarted,
345for example when you log out and log in again, all sticky notes are
346saved and reopened in the same position with the same dimensions and
347style.
c3067899 348
aaddcfca 349%description -n mate-applet-stickynotes -l pl.UTF-8
65c1b73f
JB
350Aplet notatek pozwala na tworzenie, oglądanie i zarządzanie
351przyczepianymi notatkami na pulpicie. Pozwala modyfikować tytuł,
da523ee7
ER
352treść, wymiary i styl notatek. Przy restarcie panelu, na przykład przy
353wylogowaniu i ponownym zalogowaniu, wszystkie notatki są zapisywane, a
354następnie otwierane ponownie w tym samym miejscu, z tymi samymi
355wymiarami i stylem.
c3067899 356
47e702f3
JB
357%package -n mate-applet-timer
358Summary: Timer applet for MATE Desktop
359Summary(pl.UTF-8): Aplet czasomierza dla środowiska MATE
360Group: X11/Applications
361Requires: %{name} = %{version}-%{release}
9a819dfd 362Requires: mate-panel >= 1.7.0
47e702f3
JB
363
364%description -n mate-applet-timer
365Timer applet for MATE Desktop.
366
367%description -n mate-applet-timer -l pl.UTF-8
368Aplet czasomierza dla środowiska MATE.
369
aaddcfca 370%package -n mate-applet-trash
47e702f3
JB
371Summary: Trash applet for MATE Desktop
372Summary(pl.UTF-8): Aplet śmietnika dla środowiska MATE
c3067899 373Group: X11/Applications
da523ee7 374Requires: %{name} = %{version}-%{release}
c6afed1f 375Requires: 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}
378Requires: mate-panel >= 1.7.0
c3067899 379
aaddcfca 380%description -n mate-applet-trash
37bba870
ER
381The Panel Trash applet lets you manage your Trash from the panel.
382
383The trash on your panel acts identically to the trash on your desktop,
384however it is useful because your panels are always visible.
c3067899 385
aaddcfca 386%description -n mate-applet-trash -l pl.UTF-8
65c1b73f
JB
387Aplet śmietnika pozwala na zarządzanie śmietnikiem z poziomu panelu.
388
389Śmietnik w panelu zachowuje się tak samo, jak śmietnik na pulpicie,
390ale 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
418rm -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
445rm -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
This page took 0.211363 seconds and 4 git commands to generate.