From 44f3536e218730d318c32af67fc99ac565c2413f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 04:16:11 +0000 Subject: automatic import of python-faas-supervisor --- python-faas-supervisor.spec | 118 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 python-faas-supervisor.spec (limited to 'python-faas-supervisor.spec') diff --git a/python-faas-supervisor.spec b/python-faas-supervisor.spec new file mode 100644 index 0000000..65f2bf9 --- /dev/null +++ b/python-faas-supervisor.spec @@ -0,0 +1,118 @@ +%global _empty_manifest_terminate_build 0 +Name: python-faas-supervisor +Version: 1.5.8 +Release: 1 +Summary: Input/Output data manager for FaaS +License: Apache 2.0 +URL: https://github.com/grycap/faas-supervisor +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/56/ac/51cedb7e1491cb8dbcb436f567f91f07bdea6f96412dec7084cff1082b2a/faas-supervisor-1.5.8.tar.gz +BuildArch: noarch + +Requires: python3-webdavclient3 +Requires: python3-boto3 +Requires: python3-setuptools +Requires: python3-pyyaml + +%description +# Faas Supervisor + +[![Test, build and deploy](https://github.com/grycap/faas-supervisor/workflows/Test,%20build%20and%20deploy/badge.svg)](https://github.com/grycap/faas-supervisor/actions?query=workflow%3A%22Test%2C+build+and+deploy%22) +[![PyPi version](https://img.shields.io/pypi/v/faas-supervisor.svg)](https://pypi.org/project/faas-supervisor/) +[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Coverage) + +Input / Output data manager for FaaS functions. +Works in different cloud environments and allows different data providers. + +Python package available at Pypi with the name **faas-supervisor**. + + + + +%package -n python3-faas-supervisor +Summary: Input/Output data manager for FaaS +Provides: python-faas-supervisor +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-faas-supervisor +# Faas Supervisor + +[![Test, build and deploy](https://github.com/grycap/faas-supervisor/workflows/Test,%20build%20and%20deploy/badge.svg)](https://github.com/grycap/faas-supervisor/actions?query=workflow%3A%22Test%2C+build+and+deploy%22) +[![PyPi version](https://img.shields.io/pypi/v/faas-supervisor.svg)](https://pypi.org/project/faas-supervisor/) +[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Coverage) + +Input / Output data manager for FaaS functions. +Works in different cloud environments and allows different data providers. + +Python package available at Pypi with the name **faas-supervisor**. + + + + +%package help +Summary: Development documents and examples for faas-supervisor +Provides: python3-faas-supervisor-doc +%description help +# Faas Supervisor + +[![Test, build and deploy](https://github.com/grycap/faas-supervisor/workflows/Test,%20build%20and%20deploy/badge.svg)](https://github.com/grycap/faas-supervisor/actions?query=workflow%3A%22Test%2C+build+and+deploy%22) +[![PyPi version](https://img.shields.io/pypi/v/faas-supervisor.svg)](https://pypi.org/project/faas-supervisor/) +[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/b5b3e19aa9ed4ce7accfa54e79163e35)](https://www.codacy.com/gh/grycap/faas-supervisor/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/faas-supervisor&utm_campaign=Badge_Coverage) + +Input / Output data manager for FaaS functions. +Works in different cloud environments and allows different data providers. + +Python package available at Pypi with the name **faas-supervisor**. + + + + +%prep +%autosetup -n faas-supervisor-1.5.8 + +%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-faas-supervisor -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot - 1.5.8-1 +- Package Spec generated -- cgit v1.2.3