Summary: Interactive CLI for MySQL Database with auto-completion and syntax highlighting Name: mycli Version: 1.5.2 Release: 3%{?dist} License: BSD URL: http://%{name}.net Source0: https://pypi.python.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz Patch01: %{name}-1.5.2-mv-authors.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-click >= 4.0 requires: python3-crypto => 2.6.1 Requires: python3-pygments >= 2.0 Requires: python3-prompt_toolkit >= 0.46 Requires: python3-PyMySQL >= 0.6.6 Requires: python3-sqlparse >= 0.1.16 Requires: python3-configobj >= 5.0.6 Requires: python3-setuptools %description Nice interactive shell for MySQL Database with auto-completion and syntax highlighting. %prep %setup -q %patch01 -p1 rm -rf %{name}.egg-info mv AUTHORS SPONSORS %{name}/ sed -i -e '1 d' %{name}/main.py %build %{py3_build} %install %{py3_install} %files %license LICENSE.txt %doc %{name}/AUTHORS README.md %{name}/SPONSORS %{_bindir}/%{name} %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py?.?.egg-info %changelog * Thu Jan 07 2016 Terje Rosten - 1.5.2-3 - Remove configobj patch - Use name macro * Sun Jan 03 2016 Terje Rosten - 1.5.2-2 - remove egginfo - fix deps and summary * Sat Jan 02 2016 Terje Rosten - 1.5.2-1 - initial package