Name: acpilight Version: v1.2 Release: 1%{?dist} Summary: backward-compatibile xbacklight replacement License: GPL URL: https://gitlab.com/wavexx/acpilight Source0: https://gitlab.com/wavexx/acpilight/-/archive/%{version}/%{name}-%{version}.tar.gz Patch0: 0001-remove-postinstall.patch BuildRequires: make Requires: python >= 3 %description "acpilight" is a backward-compatibile replacement for xbacklight that uses the ACPI interface to set the display brightness. On modern laptops "acpilight" can control both display and keyboard backlight uniformly on either X11, the console or Wayland. %prep %autosetup -p1 %install %make_install %files %{_sysconfdir}/udev/rules.d/90-backlight.rules %{_bindir}/xbacklight %{_mandir}/man1/xbacklight.1.* %license COPYING.txt %doc NEWS.rst %post udevadm trigger -s backlight -c add %changelog * Wed Oct 05 2022 Juraj Marcin - v1.2-1 - Initial package