Summary: Interactive CLI for MySQL Database with auto-completion and syntax highlighting
Name: mycli
Version: 1.10.0
Release: 2%{?dist}
License: BSD
URL: http://mycli.net
Source0: https://files.pythonhosted.org/packages/source/m/mycli/mycli-%{version}.tar.gz
Patch01: mycli-1.9.0-mv-authors.patch
Patch02: mycli-1.10.0-crypto.patch
Patch03: 02629c91.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-click >= 4.1
requires: python3-crypto => 2.6.1
Requires: python3-pygments >= 2.0
Requires: python3-prompt_toolkit >= 1.0.10
Requires: python3-PyMySQL >= 0.6.2
Requires: python3-sqlparse >= 0.2.2
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
%patch02 -p1
%patch03 -p1
rm -rf mycli.egg-info
mv AUTHORS SPONSORS mycli/
sed -i -e '1 d' mycli/main.py
%build
%{py3_build}
%install
%{py3_install}
%files
%license LICENSE.txt
%doc mycli/AUTHORS README.md mycli/SPONSORS
%{_bindir}/mycli
%{python3_sitelib}/mycli
%{python3_sitelib}/mycli-%{version}-py?.?.egg-info
%changelog
* Sat May 20 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.10.0-2
- Add patch from Dick Marinus to fix sqlparse issue
* Sat May 06 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.10.0-1
- 1.10.0
* Tue Feb 14 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.8.1-4
- Add patch to work with sqlparse >= 0.2.2 (rhbz#1422211)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 1.8.1-2
- Rebuild for Python 3.6
* Tue Oct 25 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.1-1
- 1.8.1
* Sat Sep 17 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.0-2
- Add patch from Dick Marinus to fix issue with newer sqlparse
* Tue Aug 09 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.0-1
- 1.8.0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Fri May 13 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.7.0-1
- 1.7.0
* Sun Mar 27 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.6.0-1
- 1.6.0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jan 07 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-4
- Add patch to enable prompt_toolkit 0.57 support.
* Thu Jan 07 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-3
- Remove configobj patch
- Use name macro
* Sun Jan 03 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-2
- remove egginfo
- fix deps and summary
* Sat Jan 02 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-1
- initial package