diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:36:54 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:36:54 +0000 |
| commit | 16e95170818644c1a36f784103570fda6b5702c8 (patch) | |
| tree | dc970dbd5ce25b804803427f20ce606f54f5e104 /python-dbnd-docker.spec | |
| parent | 24900bb8a70e8e06cb96e2eb2e188fee2a14303d (diff) | |
automatic import of python-dbnd-docker
Diffstat (limited to 'python-dbnd-docker.spec')
| -rw-r--r-- | python-dbnd-docker.spec | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/python-dbnd-docker.spec b/python-dbnd-docker.spec new file mode 100644 index 0000000..f8c8926 --- /dev/null +++ b/python-dbnd-docker.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbnd-docker +Version: 1.0.12.12 +Release: 1 +Summary: Machine Learning Orchestration +License: Apache Software License +URL: https://github.com/databand-ai/dbnd +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/1f/7a5309080a20449eb1bf741a435020bad13ee72b32f4374094d38f30868b/dbnd-docker-1.0.12.12.tar.gz +BuildArch: noarch + +Requires: python3-dbnd +Requires: python3-dbnd-airflow +Requires: python3-docker +Requires: python3-kubernetes +Requires: python3-cryptography + +%description + + +%package -n python3-dbnd-docker +Summary: Machine Learning Orchestration +Provides: python-dbnd-docker +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbnd-docker + + +%package help +Summary: Development documents and examples for dbnd-docker +Provides: python3-dbnd-docker-doc +%description help + + +%prep +%autosetup -n dbnd-docker-1.0.12.12 + +%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-dbnd-docker -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.12.12-1 +- Package Spec generated |
