# hyprsunset.spec — blue-light filter for Hyprland (omedora). # # Adapted from solopasha/hyprlandRPM. omedora conventions: pinned Version, # explicit Release + changelog. Name: hyprsunset Version: 0.4.0 Release: 1%{?dist} 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 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(hyprland-protocols) >= 0.7.0 BuildRequires: pkgconfig(hyprlang) >= 0.6.8 BuildRequires: pkgconfig(hyprutils) >= 0.14.0 BuildRequires: pkgconfig(hyprwayland-scanner) >= 0.4.6 BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) %description %{summary}. %prep %autosetup -p1 %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %changelog * Mon Aug 03 2026 omedora - 0.4.0-1 - Update to hyprsunset 0.4.0 (Hyprland 0.56.1 wave). - Rebuilt against hyprutils 0.14.0 (SONAME 13). * Sat May 30 2026 omedora - 0.3.3-1 - Initial omedora build of hyprsunset 0.3.3 (adapted from solopasha/hyprlandRPM).