%global _empty_manifest_terminate_build 0 Name: python-vcd-cli Version: 24.1.0 Release: 1 Summary: VMware vCloud Director CLI License: Apache 2 URL: https://github.com/vmware/vcd-cli Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/e0/ea3852162ed5f079d6f613a9c072886975fd411dafc4791bc1b1a38338a2/vcd-cli-24.1.0.tar.gz BuildArch: noarch Requires: python3-click Requires: python3-colorama Requires: python3-keyring Requires: python3-pycryptodome Requires: python3-pyvcloud Requires: python3-tabulate Requires: python3-unittest-xml-reporting Requires: python3-pypiwin32 %description file photon-custom-hw11-2.0-304b817.ova size 113207424 $ vcd vapp create vapp1 --catalog catalog1 --template photon-custom-hw11-2.0-304b817.ova \ --network net1 --accept-all-eulas task: 0f98685a-d11c-41d0-8de4-d3d4efad183a, Created Virtual Application vapp1(8fd8e774-d8b3-42ab-800c-a4992cca1fc2), result: success $ vcd vapp list %package -n python3-vcd-cli Summary: VMware vCloud Director CLI Provides: python-vcd-cli BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-vcd-cli file photon-custom-hw11-2.0-304b817.ova size 113207424 $ vcd vapp create vapp1 --catalog catalog1 --template photon-custom-hw11-2.0-304b817.ova \ --network net1 --accept-all-eulas task: 0f98685a-d11c-41d0-8de4-d3d4efad183a, Created Virtual Application vapp1(8fd8e774-d8b3-42ab-800c-a4992cca1fc2), result: success $ vcd vapp list %package help Summary: Development documents and examples for vcd-cli Provides: python3-vcd-cli-doc %description help file photon-custom-hw11-2.0-304b817.ova size 113207424 $ vcd vapp create vapp1 --catalog catalog1 --template photon-custom-hw11-2.0-304b817.ova \ --network net1 --accept-all-eulas task: 0f98685a-d11c-41d0-8de4-d3d4efad183a, Created Virtual Application vapp1(8fd8e774-d8b3-42ab-800c-a4992cca1fc2), result: success $ vcd vapp list %prep %autosetup -n vcd-cli-24.1.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-vcd-cli -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 24.1.0-1 - Package Spec generated