Name: cheat Version: 2.5.1 Release: 1%{?dist} Summary: Help for various commands and their use cases License: MIT or GPLv3 URL: https://github.com/cheat/cheat Source0: %{url}/archive/%{version}.tar.gz BuildRequires: python3-devel Requires: python3 Requires: python3-docopt python3-pygments python3-termcolor BuildArch: noarch %description Cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember. %prep %setup -q %build %py3_build %install %py3_install mkdir -m0755 -p %{buildroot}%{_mandir}/man1 gunzip man1/cheat.1.gz install -p -m0644 man1/cheat.1 %{buildroot}%{_mandir}/man1/cheat.1 %files %license LICENSE licenses/gpl-3.txt licenses/mit.txt %doc README.md CONTRIBUTING.md %config(noreplace) %{_sysconfdir}/cheat %{_bindir}/cheat %{python3_sitelib}/cheat %{python3_sitelib}/cheat-%{version}-py%{python3_version}.egg-info %{_datadir}/cheat %{_mandir}/man1/cheat.1* %changelog * Wed Feb 20 2019 Tomas Korbar - 2.5.1-1 - Specfile changed accordingly to review * Mon Jan 28 2019 Tomas Korbar tkorbar@redhat.com - 2.5.1-1 - Initial commit of package