Introduce package hyprshutdown v0.1.0
All checks were successful
Build hyprshutdown / Build and push image (push) Successful in 2m38s

This commit is contained in:
2026-03-17 22:41:19 -04:00
parent 2170f03565
commit a9ef2f2858
2 changed files with 73 additions and 0 deletions

41
hyprshutdown.spec Normal file
View File

@@ -0,0 +1,41 @@
Name: hyprshutdown
Version: 0.1.0
Release: %autorelease
Summary: A graceful shutdown 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
BuildRequires: gcc-c++
BuildRequires: glaze-static
BuildRequires: pkgconfig(hyprtoolkit)
BuildRequires: pkgconfig(hyprutils) >= 0.11.0
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(libdrm)
%description
%{summary}.
%prep
%autosetup -p1
%build
%cmake -DCMAKE_BUILD_TYPE=Release
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%{_bindir}/hyprshutdown
%changelog
%autochangelog