summaryrefslogtreecommitdiff
path: root/python-kubeflow-fairing.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-kubeflow-fairing.spec')
-rw-r--r--python-kubeflow-fairing.spec112
1 files changed, 112 insertions, 0 deletions
diff --git a/python-kubeflow-fairing.spec b/python-kubeflow-fairing.spec
new file mode 100644
index 0000000..d9a3d1a
--- /dev/null
+++ b/python-kubeflow-fairing.spec
@@ -0,0 +1,112 @@
+%global _empty_manifest_terminate_build 0
+Name: python-kubeflow-fairing
+Version: 1.0.2
+Release: 1
+Summary: Kubeflow Fairing Python SDK.
+License: Apache License Version 2.0
+URL: https://github.com/kubeflow/fairing
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e0/42/99b9927d7c140e6633838a1f601c977eca4701774a1198a44ac5d7fb3160/kubeflow-fairing-1.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-dateutil
+Requires: python3-numpy
+Requires: python3-kfserving
+Requires: python3-docker
+Requires: python3-notebook
+Requires: python3-kubernetes
+Requires: python3-future
+Requires: python3-six
+Requires: python3-google-cloud-storage
+Requires: python3-google-cloud-logging
+Requires: python3-requests
+Requires: python3-setuptools
+Requires: python3-google-auth
+Requires: python3-httplib2
+Requires: python3-oauth2client
+Requires: python3-tornado
+Requires: python3-google-api-python-client
+Requires: python3-cloudpickle
+Requires: python3-urllib3
+Requires: python3-boto3
+Requires: python3-azure-storage-file
+Requires: python3-azure-mgmt-storage
+Requires: python3-retrying
+Requires: python3-kubeflow-tfjob
+Requires: python3-kubeflow-pytorchjob
+Requires: python3-ibm-cos-sdk
+Requires: python3-grpcio
+Requires: python3-nbconvert
+Requires: python3-pytest
+Requires: python3-pytest-pep8
+Requires: python3-pytest-cov
+
+%description
+Python SDK for Kubeflow Fairing components.
+
+
+
+
+%package -n python3-kubeflow-fairing
+Summary: Kubeflow Fairing Python SDK.
+Provides: python-kubeflow-fairing
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-kubeflow-fairing
+Python SDK for Kubeflow Fairing components.
+
+
+
+
+%package help
+Summary: Development documents and examples for kubeflow-fairing
+Provides: python3-kubeflow-fairing-doc
+%description help
+Python SDK for Kubeflow Fairing components.
+
+
+
+
+%prep
+%autosetup -n kubeflow-fairing-1.0.2
+
+%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-kubeflow-fairing -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2-1
+- Package Spec generated