%global short_version 2.7 Name: crystal-dock Summary: Modern cross-desktop dock for the Linux Desktop Version: 2.7.0 Release: 1%{?dist} License: GPL-3.0-only URL: https://github.com/dangvd/crystal-dock Source0: %{url}/archive/refs/tags/v%{short_version}.tar.gz # Fixes running the app # https://github.com/dangvd/crystal-dock/commit/89e9036c7ce655a2932aae2c3dede251283d05d5 Patch0: 89e9036c7ce655a2932aae2c3dede251283d05d5.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Test) BuildRequires: cmake(Qt6Widgets) BuildRequires: qt6-qtbase-private-devel BuildRequires: pkgconfig(wayland-client) BuildRequires: cmake(LayerShellQt) %description Crystal Dock is a cool dock (desktop panel) for Linux desktop, with the focus on attractive user interface, being simple and easy to customize, and cross-desktop support. %prep %autosetup -p1 -n %{name}-%{short_version} %build cd src %cmake %cmake_build %install cd src %cmake_install %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %doc README.md %license LICENSE %{_bindir}/crystal-dock %{_datadir}/applications/crystal-dock.desktop %changelog * Fri Aug 30 2024 Steve Cossette - 2.7.0-1 - 2.7.0