Name: logical-dock Version: 1.0.0 Release: 2%{?dist} Summary: Standalone dock panel with folder stacks and search widget for Logical OS License: GPL-3.0-or-later BuildArch: noarch # Source tarball packed from the standalone quickshell/dock directory: # tar -czf ~/rpmbuild/SOURCES/quickshell-dock-1.0.0.tar.gz --transform 's,^dock,quickshell-dock-1.0.0,' -C ~/.config/quickshell dock Source0: %{name}-%{version}.tar.xz Requires: (quickshell or quickshell-git) Requires: qt6-qt5compat Requires: qt6-qtdeclarative Requires: qt6-qtwayland Requires: python3 Requires: python3-dbus Requires: python3-gobject Requires: glib2 Requires: wl-clipboard Requires: file Requires: font(materialsymbolsrounded) Recommends: breeze-icon-theme Recommends: kf6-breeze-icons Recommends: (zenity or kdialog) Recommends: hyprland # Pure QML/Python runtime configuration under /etc/xdg; skip bytecode generation outside Python sitelib # and ignore helper scripts in RPM auto-dependency scanning (some scripts use `env -S` shebangs) %global _python_bytecompile_extra 0 %global __requires_exclude_from ^%{_sysconfdir}/xdg/quickshell/.*$ %global __provides_exclude_from ^%{_sysconfdir}/xdg/quickshell/.*$ %description Standalone bottom dock panel for Quickshell and Hyprland featuring macOS-like pinned XDG folder stacks with drag-and-drop, 2D icon reordering and drag-off removal, window live previews, D-Bus/title progress indicators, and an integrated multi-mode search widget. %prep %autosetup -n %{name} %build # No compilation required (QML + Python scripts) %install install -d -m 0755 %{buildroot}%{_sysconfdir}/xdg/quickshell/dock cp -a . %{buildroot}%{_sysconfdir}/xdg/quickshell/dock/ # Ensure helper scripts are executable and clean up any stray caches/spec files find %{buildroot}%{_sysconfdir}/xdg/quickshell/dock -type d -name "__pycache__" -exec rm -rf {} + rm -f %{buildroot}%{_sysconfdir}/xdg/quickshell/dock/*.spec if [ -d %{buildroot}%{_sysconfdir}/xdg/quickshell/dock/scripts ]; then find %{buildroot}%{_sysconfdir}/xdg/quickshell/dock/scripts -type f \( -name "*.py" -o -name "*.sh" \) -exec chmod 0755 {} + fi # Optional drop-in tab for standalone quickshell-settings install -d -m 0755 %{buildroot}%{_sysconfdir}/xdg/quickshell/settings/plugins if [ -d settings-plugins ]; then cp -a settings-plugins/* %{buildroot}%{_sysconfdir}/xdg/quickshell/settings/plugins/ rm -rf %{buildroot}%{_sysconfdir}/xdg/quickshell/dock/settings-plugins fi install -d -m 0755 %{buildroot}%{_bindir} cat > %{buildroot}%{_bindir}/quickshell-dock <<'EOF' #!/bin/sh exec qs -c dock "$@" EOF chmod 0755 %{buildroot}%{_bindir}/quickshell-dock %files %{_bindir}/quickshell-dock %dir %{_sysconfdir}/xdg/quickshell %{_sysconfdir}/xdg/quickshell/dock %dir %{_sysconfdir}/xdg/quickshell/settings %{_sysconfdir}/xdg/quickshell/settings/plugins %changelog * Thu Nov 26 2026 fb24m - 1.0.0-1 - Initial standalone package for Quickshell dock panel