Name: hyprsunset Version: 0.3.3 Release: %autorelease Summary: An application to enable a blue-light filter on Hyprland License: BSD-3-Clause URL: https://github.com/hyprwm/hyprsunset 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) %description hyprsunset is a small utility from the Hyprland organization that allows you to control the tint and temperature of your screen, similar to redshift, f.lux, etc. %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 %changelog %autochangelog