%global common_description Automatic dark mode switcher for KDE Plasma Name: auto-knight Version: 1.0.0 Release: 1%{?dist} Summary: %{common_description} License: MIT Source0: fedora-packages-packages-auto-knight-2f9d5a34.tar.gz BuildRequires: systemd-rpm-macros Requires: plasma-workspace dbus-tools qt6-qttools BuildArch: noarch %description %{common_description} %prep %setup -T -b 0 -q -n fedora-packages-packages-auto-knight %install install -Dm 755 src/%{_bindir}/auto-knight -t %{buildroot}%{_bindir}/ install -Dm 644 src/%{_userunitdir}/auto-knight.service -t %{buildroot}%{_userunitdir}/ %files %license src/LICENSE %{_bindir}/auto-knight %{_userunitdir}/auto-knight.service %changelog * Mon Mar 17 2025 Evan Chang - 1.0.0 - Initial version