diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 06:07:13 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 06:07:13 +0000 |
commit | 56bed3c4279383f3929397210ce46ffcb771bf2e (patch) | |
tree | 1e1c5629c64a1694da753f18404fd0ea548dff40 | |
parent | a51604c8cb6b390d3eeaf540935adae4ee825d33 (diff) |
automatic import of python3-openstackclientopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-openstackclient.spec | 95 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 97 insertions, 0 deletions
@@ -0,0 +1 @@ +/openstackclient-4.0.0.tar.gz diff --git a/python-openstackclient.spec b/python-openstackclient.spec new file mode 100644 index 0000000..c97ec1f --- /dev/null +++ b/python-openstackclient.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-openstackclient +Version: 4.0.0 +Release: 1 +Summary: OpenStack Command-line Client +License: Apache Software License +URL: https://docs.openstack.org/python-openstackclient/latest/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e4/78/9699bac1ee7ae046572e5a3de6534ff913793c71ebb373f9d6d194dc77dc/openstackclient-4.0.0.tar.gz +BuildArch: noarch + +Requires: python3-pbr +Requires: python3-aodhclient +Requires: python3-gnocchiclient +Requires: python3-barbicanclient +Requires: python3-congressclient +Requires: python3-designateclient +Requires: python3-heatclient +Requires: python3-ironicclient +Requires: python3-ironic-inspector-client +Requires: python3-mistralclient +Requires: python3-muranoclient +Requires: python3-neutronclient +Requires: python3-octaviaclient +Requires: python3-openstackclient +Requires: python3-saharaclient +Requires: python3-searchlightclient +Requires: python3-senlinclient +Requires: python3-troveclient +Requires: python3-vitrageclient +Requires: python3-watcherclient +Requires: python3-zaqarclient +Requires: python3-zunclient +Requires: python3-networkx +Requires: python3-networkx + +%description + + +%package -n python3-openstackclient +Summary: OpenStack Command-line Client +Provides: python-openstackclient +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-openstackclient + + +%package help +Summary: Development documents and examples for openstackclient +Provides: python3-openstackclient-doc +%description help + + +%prep +%autosetup -n openstackclient-4.0.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-openstackclient -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +691226f3e1e7994ef1cbb7b4989b44f4 openstackclient-4.0.0.tar.gz |