From 692536acefa8bf97c87d29f22168f5f9ecba5c61 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 22:03:54 +0000 Subject: automatic import of python-grpcio-channelz --- .gitignore | 1 + python-grpcio-channelz.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 76 insertions(+) create mode 100644 python-grpcio-channelz.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cd72d99 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/grpcio-channelz-1.53.0.tar.gz diff --git a/python-grpcio-channelz.spec b/python-grpcio-channelz.spec new file mode 100644 index 0000000..24fbd61 --- /dev/null +++ b/python-grpcio-channelz.spec @@ -0,0 +1,74 @@ +%global _empty_manifest_terminate_build 0 +Name: python-grpcio-channelz +Version: 1.53.0 +Release: 1 +Summary: Channel Level Live Debug Information Service for gRPC +License: Apache License 2.0 +URL: https://grpc.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1b/82/f9afb317bbdaf7dc10aa9aa60a50d257bf51ae20fbd291f54fc54973a03d/grpcio-channelz-1.53.0.tar.gz +BuildArch: noarch + +Requires: python3-protobuf +Requires: python3-grpcio + +%description +Channelz is a live debug tool in gRPC Python. + +%package -n python3-grpcio-channelz +Summary: Channel Level Live Debug Information Service for gRPC +Provides: python-grpcio-channelz +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-grpcio-channelz +Channelz is a live debug tool in gRPC Python. + +%package help +Summary: Development documents and examples for grpcio-channelz +Provides: python3-grpcio-channelz-doc +%description help +Channelz is a live debug tool in gRPC Python. + +%prep +%autosetup -n grpcio-channelz-1.53.0 + +%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-grpcio-channelz -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 1.53.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..a39b1be --- /dev/null +++ b/sources @@ -0,0 +1 @@ +9623fd2028383f95dfa49293da843049 grpcio-channelz-1.53.0.tar.gz -- cgit v1.2.3