Name: hypridle Version: 0.1.7 Release: %autorelease Summary: Hyprland's idle daemon License: BSD-3-Clause URL: https://github.com/hyprwm/hypridle Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(hyprutils) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(hyprwayland-scanner) BuildRequires: pkgconfig(hyprland-protocols) BuildRequires: pkgconfig(sdbus-c++) %description hypridle is Hyprland's idle management daemon. It uses the ext-idle-notify-v1 Wayland protocol to monitor user activity and can trigger actions based on idle/active events, such as dimming the screen or locking the session. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %postun %systemd_user_postun %{name}.service %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %{_datadir}/hypr/%{name}.conf %changelog %autochangelog