summaryrefslogtreecommitdiff
path: root/python-aiozipkin.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 07:07:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 07:07:07 +0000
commit145412f7314db27c7bfb922634e05bbf58a0e833 (patch)
treec463d216142a2eae479941cd6c9434469d8569e5 /python-aiozipkin.spec
parent670a8ead874e71ec1cd50f64210d2341e5f45f37 (diff)
automatic import of python-aiozipkin
Diffstat (limited to 'python-aiozipkin.spec')
-rw-r--r--python-aiozipkin.spec103
1 files changed, 103 insertions, 0 deletions
diff --git a/python-aiozipkin.spec b/python-aiozipkin.spec
new file mode 100644
index 0000000..e5301a9
--- /dev/null
+++ b/python-aiozipkin.spec
@@ -0,0 +1,103 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aiozipkin
+Version: 1.1.1
+Release: 1
+Summary: Distributed tracing instrumentation for asyncio application with zipkin
+License: Apache 2
+URL: https://github.com/aio-libs/aiozipkin
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f2/fe/26a60a7c9e91c968eac5dacab2948ed931a676880a6878695ff281c72b8f/aiozipkin-1.1.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+
+%description
+**aiozipkin** is Python 3.6+ module that adds distributed tracing capabilities
+from asyncio_ applications with zipkin (http://zipkin.io) server instrumentation.
+zipkin_ is a distributed tracing system. It helps gather timing data needed
+to troubleshoot latency problems in microservice architectures. It manages
+both the collection and lookup of this data. Zipkin’s design is based on
+the Google Dapper paper.
+Applications are instrumented with **aiozipkin** report timing data to zipkin_.
+The Zipkin UI also presents a Dependency diagram showing how many traced
+requests went through each application. If you are troubleshooting latency
+problems or errors, you can filter or sort all traces based on the
+application, length of trace, annotation, or timestamp.
+
+%package -n python3-aiozipkin
+Summary: Distributed tracing instrumentation for asyncio application with zipkin
+Provides: python-aiozipkin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aiozipkin
+**aiozipkin** is Python 3.6+ module that adds distributed tracing capabilities
+from asyncio_ applications with zipkin (http://zipkin.io) server instrumentation.
+zipkin_ is a distributed tracing system. It helps gather timing data needed
+to troubleshoot latency problems in microservice architectures. It manages
+both the collection and lookup of this data. Zipkin’s design is based on
+the Google Dapper paper.
+Applications are instrumented with **aiozipkin** report timing data to zipkin_.
+The Zipkin UI also presents a Dependency diagram showing how many traced
+requests went through each application. If you are troubleshooting latency
+problems or errors, you can filter or sort all traces based on the
+application, length of trace, annotation, or timestamp.
+
+%package help
+Summary: Development documents and examples for aiozipkin
+Provides: python3-aiozipkin-doc
+%description help
+**aiozipkin** is Python 3.6+ module that adds distributed tracing capabilities
+from asyncio_ applications with zipkin (http://zipkin.io) server instrumentation.
+zipkin_ is a distributed tracing system. It helps gather timing data needed
+to troubleshoot latency problems in microservice architectures. It manages
+both the collection and lookup of this data. Zipkin’s design is based on
+the Google Dapper paper.
+Applications are instrumented with **aiozipkin** report timing data to zipkin_.
+The Zipkin UI also presents a Dependency diagram showing how many traced
+requests went through each application. If you are troubleshooting latency
+problems or errors, you can filter or sort all traces based on the
+application, length of trace, annotation, or timestamp.
+
+%prep
+%autosetup -n aiozipkin-1.1.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-aiozipkin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1
+- Package Spec generated