Name: ananicy Version: 2.2.0 Release: 1%{?dist} Summary: ANother Auto NICe daemon License: GPLv3+ URL: https://github.com/Nefelim4ag/Ananicy Source0: https://github.com/Nefelim4ag/Ananicy/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: python3-devel BuildRequires: systemd Requires: schedtool %description ANother Auto NICe daemon %prep %autosetup -n Ananicy-%{version} %{__sed} -i 's|#!/usr/bin/env python3|#!/usr/bin/python3|' ananicy.py %build %install %{__make} install PREFIX="%{buildroot}" %{__mv} "%{buildroot}/lib" "%{buildroot}%{_prefix}" %files %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/ananicy.d/ananicy.conf %config %{_sysconfdir}/ananicy.d/00-* %{_sysconfdir}/ananicy.d %{_unitdir}/ananicy.service %post %systemd_post ananicy.service %preun %systemd_preun ananicy.service %postun %systemd_postun_with_restart ananicy.service %changelog * Sat Jul 04 2020 Alexey Rochev - 2.2.0-1 - ananicy-2.2.0 * Tue Jul 16 2019 Alexey Rochev - 2.1.0-1 - ananicy-2.1.0 * Tue Oct 16 2018 Alexey Rochev - 2.0.0-1 - ananicy-2.0.0 * Fri Aug 24 2018 Alexey Rochev - 1.99.6-1 - ananicy-1.99.6