Name: msikeyboard-cli Version: 0.1 Release: 1%{?dist} Summary: CLI application for change LED color, intensity and mode on MSI keyboards License: GPLv3 URL: https://elemc.name Source0: https://repo.elemc.name/sources/%{name}-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: meson BuildRequires: gcc gcc-c++ BuildRequires: libmsikeyboard-devel BuildRequires: systemd-devel %description CLI application for change LED color, intensity and modes on MSI keyboards %package systemd Summary: SystemD files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description systemd The %{name}-systemd package contains SystemD unit for start applications with configuration on system start. %prep %autosetup %build %meson %meson_build %install rm -rf $RPM_BUILD_ROOT %meson_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %{_bindir}/msikeyboard_cli %files systemd %{_unitdir}/%{name}.service %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %post systemd %systemd_post %{name}.service %preun systemd %systemd_preun %{name}.service %postun systemd %systemd_postun %{name}.service %changelog * Tue May 12 2020 Alexei Panov 0.1-1 - Initial build