summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 04:00:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 04:00:38 +0000
commit42d432cb9e892dca8bf0ec2aff2bfb4df3801c7a (patch)
treeb344467f70cdaf1a80f18ad4917fe67352474747
parent7071c8f195211150d64b0c2537d463d5a87a3bc4 (diff)
automatic import of python-dapr
-rw-r--r--.gitignore1
-rw-r--r--python-dapr.spec107
-rw-r--r--sources1
3 files changed, 109 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4ce23f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dapr-1.9.1.tar.gz
diff --git a/python-dapr.spec b/python-dapr.spec
new file mode 100644
index 0000000..4f50762
--- /dev/null
+++ b/python-dapr.spec
@@ -0,0 +1,107 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dapr
+Version: 1.9.1
+Release: 1
+Summary: The official release of Dapr Python SDK.
+License: Apache
+URL: https://dapr.io/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d3/22/746fe6eaeead873cb127fc0d712a6e077f1f98af463858fcf341bba60f17/dapr-1.9.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-protobuf
+Requires: python3-grpcio
+Requires: python3-aiohttp
+Requires: python3-dateutil
+Requires: python3-typing-extensions
+
+%description
+Dapr is a portable, serverless, event-driven runtime that makes it easy for developers to
+build resilient, stateless and stateful microservices that run on the cloud and edge and
+embraces the diversity of languages and developer frameworks.
+
+Dapr codifies the best practices for building microservice applications into open,
+independent, building blocks that enable you to build portable applications with the language
+and framework of your choice. Each building block is independent and you can use one, some,
+or all of them in your application.
+
+
+
+
+%package -n python3-dapr
+Summary: The official release of Dapr Python SDK.
+Provides: python-dapr
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dapr
+Dapr is a portable, serverless, event-driven runtime that makes it easy for developers to
+build resilient, stateless and stateful microservices that run on the cloud and edge and
+embraces the diversity of languages and developer frameworks.
+
+Dapr codifies the best practices for building microservice applications into open,
+independent, building blocks that enable you to build portable applications with the language
+and framework of your choice. Each building block is independent and you can use one, some,
+or all of them in your application.
+
+
+
+
+%package help
+Summary: Development documents and examples for dapr
+Provides: python3-dapr-doc
+%description help
+Dapr is a portable, serverless, event-driven runtime that makes it easy for developers to
+build resilient, stateless and stateful microservices that run on the cloud and edge and
+embraces the diversity of languages and developer frameworks.
+
+Dapr codifies the best practices for building microservice applications into open,
+independent, building blocks that enable you to build portable applications with the language
+and framework of your choice. Each building block is independent and you can use one, some,
+or all of them in your application.
+
+
+
+
+%prep
+%autosetup -n dapr-1.9.1
+
+%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-dapr -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.9.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7c91884
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7f77c3bb2d3d9c8afa553808cb2c43d8 dapr-1.9.1.tar.gz