From 2ae2b2057cd2d64741bcf9f97d003e3ad266c18b Mon Sep 17 00:00:00 2001 From: madonuko Date: Mon, 21 Oct 2024 17:11:42 +0800 Subject: [PATCH] add: mate-dock-applet Closes: #2247 --- anda/desktops/mate/dock-applet/anda.hcl | 5 +++ .../mate/dock-applet/mate-dock-applet.spec | 36 +++++++++++++++++++ anda/desktops/mate/dock-applet/update.rhai | 0 3 files changed, 41 insertions(+) create mode 100644 anda/desktops/mate/dock-applet/anda.hcl create mode 100644 anda/desktops/mate/dock-applet/mate-dock-applet.spec create mode 100644 anda/desktops/mate/dock-applet/update.rhai diff --git a/anda/desktops/mate/dock-applet/anda.hcl b/anda/desktops/mate/dock-applet/anda.hcl new file mode 100644 index 0000000000..67b36c3fa6 --- /dev/null +++ b/anda/desktops/mate/dock-applet/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "mate-dock-applet.spec" + } +} diff --git a/anda/desktops/mate/dock-applet/mate-dock-applet.spec b/anda/desktops/mate/dock-applet/mate-dock-applet.spec new file mode 100644 index 0000000000..0b44131400 --- /dev/null +++ b/anda/desktops/mate/dock-applet/mate-dock-applet.spec @@ -0,0 +1,36 @@ +%define debug_package %nil + +Name: mate-dock-applet +Version: 21.10.0 +Release: 1%?dist +Summary: Application dock for the MATE panel +License: GPL-3.0-or-later +URL: https://github.com/ubuntu-mate/mate-dock-applet +Source0: %url/archive/refs/tags/%version.tar.gz +BuildRequires: automake make +BuildRequires: python3 python3-xlib python3-pillow glib2-devel python3-cairo bamf-daemon bamf python3-distro gettext-devel +Requires: bamf libnotify mate-panel python3-cairo python3-dbus python3-gobject python3-pillow python3-xdg python3-xlib +Packager: madonuko + +%description +%summary. + +%prep +%autosetup +autoreconf -fi + +%build +%configure --with-gtk3 +%make_build + +%install +%make_install + +%files +%doc README.md +%license COPYING +%_libdir/mate-applets/%name/ +%_datadir/dbus-1/services/org.mate.panel.applet.DockAppletFactory.service +%_datadir/glib-2.0/schemas/org.mate.panel.applet.dock.gschema.xml +%_datadir/locale/*/LC_MESSAGES/%name.mo +%_datadir/mate-panel/applets/org.mate.panel.DockApplet.mate-panel-applet diff --git a/anda/desktops/mate/dock-applet/update.rhai b/anda/desktops/mate/dock-applet/update.rhai new file mode 100644 index 0000000000..e69de29bb2