# # spec file for kcli package # # Copyright (c) 2017 Karim Boumedhel # Name: kcli Version: 99.0.0.git.202510121046.32c1013 Release: 0%{?dist} Url: http://github.com/karmab/kcli Summary: Wrapper for libvirt, kubevirt, vsphere, openstack, proxmox, ovirt, aws, azure, gcp, ibmcloud, packet and hcloud License: ASL 2.0 Group: Development/Languages/Python VCS: git+https://github.com/karmab/kcli#32c1013af2918e617632165f1a3791336a635ad1: Source: kcli.tar.gz AutoReq: no BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel rubygem-ronn gzip python3-setuptools git Requires: python3 libvirt-python3 xorriso nmap-ncat python3-prettytable python3-jinja2 python3-PyYAML python3-argcomplete %description Kcli is a wrapper for local/remote libvirt, kubevirt, vsphere, openstack, proxmox, ovirt, aws, azure, gcp, ibmcloud, packet and hcloud It allows to easily deploy and manage single vms from cloud images or several using plans or kubernetes clusters %global debug_package %{nil} %prep %setup -T -b 0 -q -n kcli %build sed -i "s/, 'libvirt.*/\]/" setup.py echo "$(git ls-remote https://github.com/karmab/kcli | head -1 | cut -c1-7) $(date +%Y/%m/%d)" > kvirt/version/git %{python3} setup.py build %install %{python3} setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p %{buildroot}/%{_docdir}/kcli mkdir -p %{buildroot}/%{_mandir}/man1 LANG=en_US.UTF-8 ronn -r README.md mv README kcli.1 gzip kcli.1 cp kcli.1.gz %{buildroot}/%{_mandir}/man1 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc %{_docdir}/kcli %{_mandir}/man1/kcli.1.gz %{python3_sitelib}/* %attr(0755,root,root) %{_bindir}/kcli %attr(0755,root,root) %{_bindir}/kweb %attr(0755,root,root) %{_bindir}/klist.py %attr(0755,root,root) %{_bindir}/kmcp %attr(0755,root,root) %{_bindir}/ksushy %attr(0755,root,root) %{_bindir}/ekstoken %attr(0755,root,root) %{_bindir}/gketoken %post ! systemctl is-active --quiet ksushy.service || (systemctl daemon-reload && systemctl restart ksushy.service) %changelog * Sun Oct 12 2025 Karim Boumedhel <1840387+karmab@users.noreply.github.com> - openshift: BGP poc (#834) * Thu Oct 02 2025 karmab - kubeadm: fix packages link for crio * Thu Sep 25 2025 karmab - openshift: default to 60Gb of disk * Thu Sep 25 2025 karmab - haproxy vm: handle nets and defaults to centos10stream * Mon Sep 22 2025 karmab - microshift: get major from /etc/redhat-release * Mon Sep 22 2025 Vincent S. Cojot - typo (#832) * Fri Sep 19 2025 karmab - openshift app: default acm_ibi to false * Fri Sep 19 2025 karmab - openshift apps: odf_encryption boolean * Fri Sep 05 2025 karmab - openshift app acm: enable image-based-install-operator * Sun Aug 31 2025 karmab - kvm: fix lvm disk hotplug * Wed Aug 27 2025 karmab - kvm: always use file for cloudinit iso * Tue Aug 26 2025 Erik Lalancette - kvm: improve SSH handling for local connections in thinimages method (#829) * Tue Aug 26 2025 Sergey <6213510+sshnaidm@users.noreply.github.com> - Fix issues in MCP server with types annotation (#828) * Fri Aug 08 2025 karmab - kvm: use passt for usermode * Fri Aug 08 2025 karmab - openshift sno: dont put a wrong hostname * Tue Aug 05 2025 karmab - kubevirt: fix uefi boot * Tue Aug 05 2025 karmab - kubevirt: dont install guest agent on empty image * Tue Aug 05 2025 Stephen Brown - Add Rocky 10 to defaults.py (#824) * Mon Aug 04 2025 karmab - kubevirt: fix vnc/console * Sat Aug 02 2025 karmab - kubevirt: use runStrategy for vm status * Sat Aug 02 2025 karmab - openshift sno: force volume mode for iso on kubevirt * Sat Aug 02 2025 karmab - ksushy yaml for openshift * Sat Aug 02 2025 karmab - use cirros image for ci testing * Sat Aug 02 2025 karmab - kushy: use KSUSHY_LISTEN_PORT to avoid conflicts on kube * Fri Aug 01 2025 karmab - openshift ipv6: dont force disconnected vm if a proxy is specified * Fri Aug 01 2025 karmab - fix 4.20 tag * Fri Aug 01 2025 karmab - fix 4.20 tag * Thu Jul 31 2025 karmab - sno_hostname variable * Thu Jul 31 2025 karmab - kvm: improve usermode * Thu Jul 31 2025 lhp-nemlig <159530308+lhp-nemlig@users.noreply.github.com> - Add --extended option to list image and list iso commands (#823)