%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 installation of the app's library # https://github.com/dangvd/crystal-dock/pull/93 Patch0: 93.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 %{_libdir}/libcrystal-dock_lib.so %changelog * Fri Aug 30 2024 Steve Cossette - 2.7.0-1 - 2.7.0