%global debug_package %{nil} Name: mate-dock-applet Version: 21.10.0 Release: 0 Summary: Dock applet for the MATE panel License: GPL-2.0-or-later Group: System/GUI/Other URL: https://github.com/ubuntu-mate/mate-dock-applet Source: https://github.com/ubuntu-mate/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: bamf-daemon BuildRequires: fdupes BuildRequires: gobject-introspection-devel BuildRequires: python3-devel BuildRequires: gettext-devel Requires: bamf-daemon Requires: python3-pillow Requires: python3-cairo Requires: python3-distro Requires: python3-gobject Requires: python3-gobject-base-noarch Requires: python3-xlib Requires: python3-pyxdg Recommends: libunity %description An application dock applet for the MATE panel. The applet allows you to: * Place a dock on any MATE panel, of any size, on any side of the desktop you desire. * Pin and unpin applications to the dock. * Rearrange application icons on the dock. * Launch applications by clicking on their icons in the dock. * Minimise/restore the running application windows by clicking the applications dock icon. * Detect changes in the current icon theme and update the dock accordingly. * Use an indicator by each application to show when it is running. * Optionally, use multiple indicators for each window an application has opened. * Use either a light or dark indicator that it can always be seen no matter what colour the panel is. %prep %setup -q -n %{name}-%{version} %build autoreconf -fi %configure \ --with-gtk3 %make_build %install %make_install %fdupes %{buildroot}%{_libdir}/ pushd %{buildroot}%{_libdir}/mate-applets/mate-dock-applet/ # Do not use env for python scripts. sed -i '/^#!/s|env python3$|python3|' *.py # Create Python bytecode. rm -rf *.pyc *.pyo __pycache__/ touch -c *.py %py_byte_compile %{python3} . popd %files %license COPYING %doc AUTHORS ChangeLog README.md %dir %{_libdir}/mate-applets/ %{_libdir}/mate-applets/mate-dock-applet/ %dir %{_datadir}/dbus-1/ %dir %{_datadir}/dbus-1/services/ %{_datadir}/dbus-1/services/org.mate.panel.applet.*.service %{_datadir}/glib-2.0/schemas/*.gschema.xml %dir %{_datadir}/mate-panel/ %dir %{_datadir}/mate-panel/applets/ %{_datadir}/mate-panel/applets/org.mate.panel.*.mate-panel-applet %{_datadir}/locale/*