diff --git a/openstackclient.spec b/openstackclient.spec new file mode 100644 index 0000000000000000000000000000000000000000..92a1b89fd623a1b32ca1f2ba93b90a04cb74f274 --- /dev/null +++ b/openstackclient.spec @@ -0,0 +1,56 @@ +BuildRoot: /root/.tmp/rpmrebuild.57180/work/root +AutoProv: no +%undefine __find_provides +AutoReq: no +%undefine __find_requires +# Do not try autogenerate prereq/conflicts/obsoletes and check files +%undefine __check_files +%undefine __find_prereq +%undefine __find_conflicts +%undefine __find_obsoletes +# Be sure buildpolicy set to do nothing +%define __spec_install_post %{nil} +# Something that need for rpm-4.1 +%define _missing_doc_files_terminate_build 0 +#dummy +#dummy + +Name: python-openstackclient +Version: 5.3.1 +Release: 1%{?dist} +Summary: Client for OpenStack services +License: GPL +Source0: python-openstackclient-5.3.1.tar.gz + +BuildRequires: python3 + +URL: https://github.com/openstack/python-openstackclient +Vendor: OpenEuler +Packager: CBS +Epoch: 1 + + +%description + +OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, +Image, Network, Object Store and Block Storage APIs together in a single shell with a uniform command structure. + +The primary goal is to provide a unified shell command structure and a common language to describe operations in OpenStack. + +%prep +%autosetup + + +%install +rm -rf $RPM_BUILD_ROOT +python3 setup.py install --prefix=%{buildroot}/usr/local + +%files +%attr(0755, root, root) "/usr/local/bin/openstack" +%dir %attr(0750, root, root) "/usr/local/lib/python3.7" +%dir %attr(0750, root, root) "/usr/local/lib/python3.7/site-packages" +%attr(0750, root, root) "/usr/local/lib/python3.7/site-packages/*" + +%changelog +* Mon Oct 12 2020 zhang_donglin1 +- Package init diff --git a/python-openstackclient-5.3.1.tar.gz b/python-openstackclient-5.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1fd35bd3c4b4207d58953ed58bc442cbb067ef64 Binary files /dev/null and b/python-openstackclient-5.3.1.tar.gz differ