|
| 1 | +%define srcname cqlsh |
| 2 | + |
| 3 | +Summary: A Python-based command-line client for running simple CQL commands on a Cassandra cluster. |
| 4 | +Name: %{srcname} |
| 5 | +Version: 6.1.2 |
| 6 | +Release: 2%{?dist} |
| 7 | +License: Apache License Version 2.0 |
| 8 | +Group: Development/Languages/Python |
| 9 | +Vendor: Microsoft Corporation |
| 10 | +Distribution: Azure Linux |
| 11 | +Url: https://pypi.python.org/pypi/cqlsh |
| 12 | + |
| 13 | +Source0: https://files.pythonhosted.org/packages/source/c/cqlsh/%{srcname}-%{version}.tar.gz |
| 14 | + |
| 15 | +BuildRequires: python3-devel |
| 16 | +BuildRequires: python3-setuptools |
| 17 | + |
| 18 | +Requires: python3 |
| 19 | +Requires: python3-six |
| 20 | +Requires: cassandra |
| 21 | +Requires: cassandra-driver |
| 22 | + |
| 23 | +BuildArch: noarch |
| 24 | + |
| 25 | +%description |
| 26 | +cqlsh is a Python-based command-line tool, and the most direct way to run simple CQL commonds on a Cassandra cluster. |
| 27 | +This is a simple re-bundling of the open source tool that comes bundled with Cassandra to allow for cqlsh to be installed and run inside of virtual environments.. |
| 28 | + |
| 29 | +%prep |
| 30 | +%autosetup -p1 -n %{srcname}-%{version} |
| 31 | + |
| 32 | +%build |
| 33 | +%{py3_build} |
| 34 | + |
| 35 | +%install |
| 36 | +%{py3_install} |
| 37 | + |
| 38 | +%files |
| 39 | +%defattr(-,root,root) |
| 40 | +%{_bindir}/%{srcname} |
| 41 | +%{python3_sitelib}/* |
| 42 | + |
| 43 | +%changelog |
| 44 | +* Thu May 22 2025 Jyoti kanase <v-jykanase@microsoft.com> - 6.1.2-2 |
| 45 | +- Initial Azure Linux import from Photon (license: Apache2). |
| 46 | +- License verified. |
| 47 | + |
| 48 | +* Sat Aug 05 2023 Shreenidhi Shedi <sshedi@vmware.com> 6.1.2-1 |
| 49 | +- Upgrade to v6.1.2 |
| 50 | +- Remove python3-cql dependency |
| 51 | +* Tue Feb 21 2023 Ankit Jain <ankitja@vmware.com> 6.1.0-1 |
| 52 | +- Update to 6.1.0 |
| 53 | +* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 6.0.0-1 |
| 54 | +- Automatic Version Bump |
| 55 | +* Thu Nov 11 2021 Shreenidhi Shedi <sshedi@vmware.com> 6.0.0ga-1 |
| 56 | +- Update to 6.0.0 |
| 57 | +* Wed Jun 09 2021 Ankit Jain <ankitja@vmware.com> 6.0.0b4-1 |
| 58 | +- Update to 6.0.0b4 to support python3 |
| 59 | +* Mon Jul 10 2017 Xiaolin Li <xiaolinl@vmware.com> 5.0.4-1 |
| 60 | +- Initial packaging for Photon |
0 commit comments