Summary: Library for building powerful interactive command lines in Python Name: python-prompt-toolkit Version: 0.46 Release: 1%{?dist} License: BSD URL: https://github.com/jonathanslenders/python-prompt-toolkit Source0: https://pypi.python.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python3-devel %description prompt_toolkit is a library for building powerful interactive command lines and terminal applications in Python. %package -n python2-prompt-toolkit Summary: Library for building powerful interactive command lines in Python Requires: python-pygments Requires: python-six >= 1.9.0 Requires: python2-wcwidth %{?python_provide:%python_provide python2-prompt-toolkit} %description -n python2-prompt-toolkit prompt_toolkit is a library for building powerful interactive command lines and terminal applications in Python. %package -n python3-prompt-toolkit Summary: Library for building powerful interactive command lines in Python Requires: python3-pygments Requires: python3-six >= 1.9.0 Requires: python3-wcwidth %{?python_provide:%python_provide python3-prompt-toolkit} %description -n python3-prompt-toolkit prompt_toolkit is a library for building powerful interactive command lines and terminal applications in Python. %prep %setup -q -n prompt_toolkit-%{version} %build %{py2_build} %{py3_build} %install %{py2_install} %{py3_install} %files -n python2-prompt-toolkit #license LICENSE %doc README.rst %{python2_sitelib}/prompt_toolkit %{python2_sitelib}/prompt_toolkit-%{version}-py?.?.egg-info %files -n python3-prompt-toolkit #license LICENSE %doc README.rst %{python3_sitelib}/prompt_toolkit %{python3_sitelib}/prompt_toolkit-%{version}-py?.?.egg-info %changelog * Sat Jan 02 2016 Terje Rosten - 0.46-1 - initial package