Name: Clightd Version: 5.7 Release: 1%{?dist} Summary: A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature. License: GPL-3.0 URL: https://github.com/FedeDP/Clightd Source0: https://github.com/FedeDP/Clightd/archive/refs/tags/5.7.tar.gz BuildRequires: cmake BuildRequires: g++ BuildRequires: systemd-devel BuildRequires: polkit-devel BuildRequires: libjpeg-turbo-devel BuildRequires: dbus-devel BuildRequires: libmodule Requires: systemd Requires: polkit Requires: libjpeg-turbo Requires: libmodule %global debug_package %{nil} %description A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature. %prep %setup %build mkdir -p build cd build cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=%{_lib} -DCMAKE_BUILD_TYPE="Release" .. make %install cd build %make_install %files %license COPYING %doc README.md %{_sysconfdir}/dbus-1/system.d/org.clightd.clightd.conf %{_libexecdir}/clightd %{_datadir}/dbus-1/system-services/org.clightd.clightd.service %{_datadir}/polkit-1/actions/org.clightd.clightd.policy %changelog * Fri Feb 3 2023 James Reed - 5.7-1 - Initial package