Summary: In memory VT-compatible terminal emulator Name: python-pyte Version: 0.8.0 Release: 3%{?dist} License: LGPLv3 URL: https://github.com/selectel/pyte Source0: https://github.com/selectel/pyte/archive/%{version}/pyte-%{version}.tar.gz Patch0: python-pyte-0.8.0-docs.patch BuildArch: noarch BuildRequires: make BuildRequires: python3-devel BuildRequires: python3-pytest-runner BuildRequires: python3-sphinx BuildRequires: python3-wcwidth %description In memory VTXXX-compatible terminal emulator. XXX stands for a series of video terminals, developed by DEC between 1970 and 1995. %package -n python3-pyte Summary: %{summary} %{?fc32:%py_provides python3-pyte} %description -n python3-pyte In memory VTXXX-compatible terminal emulator. XXX stands for a series of video terminals, developed by DEC between 1970 and 1995. %package -n python3-pyte-docs Summary: Documentation of API in Python module pyte %{?fc32:%py_provides python3-pyte} %description -n python3-pyte-docs This contains documentation of the API in Python module pyte. %prep %autosetup -p1 -n pyte-%{version} %build %py3_build pushd docs && make all %install %py3_install %check %{__python3} setup.py test %files -n python3-pyte %license LICENSE %doc AUTHORS CHANGES README %{python3_sitelib}/pyte/ %{python3_sitelib}/pyte-%{version}-py*.egg-info %files -n python3-pyte-docs %license LICENSE %doc examples/ %doc docs/_build/html %changelog * Sun Feb 21 2021 Terje Rosten - 0.8.0-3 - Fix source and url - Drop explicit requires, autodetected these days - Add AUTHORS and CHANGES to doc - Use py_provides macro for Fedora 32, automatically elsewhere - Add patch from Robert-Andre Mauchi to avoid network access during buil - Build and ship API docs in docs subpackage, include examples too * Sun Feb 07 2021 Terje Rosten - 0.8.0-2 - Remove Python 2 support - Minor clean up * Tue May 8 2018 Mateusz MikuĊ‚a - 0.8.0-1 - Initial packaging