summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 18:09:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 18:09:45 +0000
commit7e2047c95a2cee55ad6dc97c1ab27a77c5141811 (patch)
treed99196e0e2fd91fd86848b14a450fe8bc4cb4593
parent57a09900ac7fb33afecafbbbddaafdca7defe619 (diff)
automatic import of python-grpc-google-logging-v2
-rw-r--r--.gitignore1
-rw-r--r--python-grpc-google-logging-v2.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..41756d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/grpc-google-logging-v2-0.11.1.tar.gz
diff --git a/python-grpc-google-logging-v2.spec b/python-grpc-google-logging-v2.spec
new file mode 100644
index 0000000..dc36021
--- /dev/null
+++ b/python-grpc-google-logging-v2.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-grpc-google-logging-v2
+Version: 0.11.1
+Release: 1
+Summary: GRPC library for the google-logging-v2 service
+License: Apache-2.0
+URL: https://github.com/googleapis/googleapis
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/83/8f309f49862c5ee43ff210a7f3a4a512c1f1896d670282a222b0cadbe9ae/grpc-google-logging-v2-0.11.1.tar.gz
+BuildArch: noarch
+
+
+%description
+gRPC library for google-logging-v2
+
+grpc-google-logging-v2 is the IDL-derived library for the google-logging (v2) service in the googleapis_ repository.
+
+.. _`googleapis`: https://github.com/googleapis/googleapis/tree/master/google/logging/v2
+
+%package -n python3-grpc-google-logging-v2
+Summary: GRPC library for the google-logging-v2 service
+Provides: python-grpc-google-logging-v2
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-grpc-google-logging-v2
+gRPC library for google-logging-v2
+
+grpc-google-logging-v2 is the IDL-derived library for the google-logging (v2) service in the googleapis_ repository.
+
+.. _`googleapis`: https://github.com/googleapis/googleapis/tree/master/google/logging/v2
+
+%package help
+Summary: Development documents and examples for grpc-google-logging-v2
+Provides: python3-grpc-google-logging-v2-doc
+%description help
+gRPC library for google-logging-v2
+
+grpc-google-logging-v2 is the IDL-derived library for the google-logging (v2) service in the googleapis_ repository.
+
+.. _`googleapis`: https://github.com/googleapis/googleapis/tree/master/google/logging/v2
+
+%prep
+%autosetup -n grpc-google-logging-v2-0.11.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-grpc-google-logging-v2 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4c67b6d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0454ec319ca849bd93a45774c8efb78f grpc-google-logging-v2-0.11.1.tar.gz