diff --git a/python-mistralclient-3.7.0.tar.gz b/python-mistralclient-3.7.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4b9dbdb21d742d8b3889e27e4f68b22af9efc1a4 Binary files /dev/null and b/python-mistralclient-3.7.0.tar.gz differ diff --git a/python-mistralclient.spec b/python-mistralclient.spec new file mode 100644 index 0000000000000000000000000000000000000000..f08346d97b23adc4e0f396457cb4f22c69f17a98 --- /dev/null +++ b/python-mistralclient.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mistralclient +Version: 3.7.0 +Release: 1 +Summary: Mistral Client Library +License: Apache-2.0 +URL: https://docs.openstack.org/python-mistralclient/latest/ +Source0: https://files.pythonhosted.org/packages/76/5c/93e9c27d60357d1d6abf7b0ec8cda4bba08ae6b9c274d0d21b8db8594434/python-mistralclient-3.7.0.tar.gz +BuildArch: noarch +%description +Python client for Mistral REST API. Includes python library for Mistral API and +Command Line Interface (CLI) library. + +%package -n python2-mistralclient +Summary: Mistral Client Library +Provides: python2-mistralclient +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pbr +Requires: python2-cliff +Requires: python2-osc-lib +Requires: python2-oslo-utils +Requires: python2-oslo-i18n +Requires: python2-oslo-serialization +Requires: python2-pbr +Requires: python2-keystoneauth1 +Requires: python2-pyyaml +requires: python2-requests +Requires: python2-six +Requires: python2-stevedore +%description -n python2-mistralclient +Python client for Mistral REST API. Includes python library for Mistral API and +Command Line Interface (CLI) library. + +%package help +Summary: Development documents and examples for python-mistralclient +Provides: python2-mistralclient-doc +%description help +Python client for Mistral REST API. Includes python library for Mistral API and +Command Line Interface (CLI) library. + +%prep +%autosetup -n python-mistralclient-3.7.0 + +%build +%py2_build + +%install +%py2_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 python2-mistralclient -f filelist.lst +%dir %{python2_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Jun 09 2021 OpenStack_SIG +- Package Spec generated