%global commit a7b809e3a222b8ab09f23b77c93c8dc51da8f302 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: hyprshutdown Version: 0 Release: 1.git%{shortcommit}%{?dist} Summary: A graceful shutdown utility for Hyprland License: BSD-3-Clause license URL: https://github.com/hyprwm/hyprshutdown Source: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz Patch: cmakelists-remove-desktop-file.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: glaze-devel BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(hyprutils) BuildRequires: pkgconfig(hyprtoolkit) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(wayland-client) BuildRequires: systemd-devel Requires: (hyprland or hyprland-git) Requires: systemd %description hyprshutdown is a graceful shutdown/logout utility for Hyprland, which prevents apps from crashing / dying unexpectedly.. %prep %autosetup -n %{name}-%{commit} -p1 %build %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/hyprshutdown %changelog * Fri Dec 05 2025 LionHeartP - 0-1.gita7b809e - Initial package