Name: hyprshutdown Version: 0.1.2 Release: %autorelease Summary: A graceful shutdown and logout utility for Hyprland License: BSD-3-Clause URL: https://github.com/hyprwm/hyprshutdown Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake >= 3.19 BuildRequires: gcc-c++ BuildRequires: glaze-static BuildRequires: ninja-build BuildRequires: pkgconf-pkg-config BuildRequires: pkgconfig(hyprtoolkit) BuildRequires: pkgconfig(hyprutils) >= 0.11.0 BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(pixman-1) %description A utility that gracefully closes applications before exiting Hyprland, allowing them to save their state and finish shutting down. %prep %autosetup -p1 %build %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DFETCHCONTENT_FULLY_DISCONNECTED=ON %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog %autochangelog