Name: s-tui Version: 1.1.1 Release: 1%{?dist} Summary: Terminal based CPU stress and monitoring utility License: GPL-2.0-only BuildArch: noarch URL: https://github.com/amanusk/s-tui Source: https://github.com/amanusk/s-tui/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-psutil Requires: python3-urwid Recommends: stress-ng %description Terminal UI for monitoring your computer to monitor CPU temperature, frequency, power and utilization in a graphical way from the terminal. %prep %autosetup find s_tui/ -name "*.py" -exec sed -i 's|#!%{_bindir}/env python|#!%{__python3}|' {} ";" find s_tui/ -name "*.py" -exec sed -i 's|#!%{_bindir}/python|#!%{__python3}|' {} ";" %build %py3_build %install %py3_install %files %doc README.* %{_bindir}/s-tui %{python3_sitelib}/s_tui* %changelog * Sun Mar 14 2021 Yury Martynov 1.1.1-1 - Update to 1.1.1 * Wed Oct 21 2020 Yury Martynov 1.0.2-1 - Initial packaging.