diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:56:44 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:56:44 +0000 |
| commit | d524c28bfdf1374a1b58a93faf4a645884a786f2 (patch) | |
| tree | 334bd4acbfed24a915bd21a2879c9f11bd236ffa | |
| parent | 1e2965b39aac28952426798fd64b11c4aaab4076 (diff) | |
automatic import of python-gapic-google-cloud-pubsub-v1
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-gapic-google-cloud-pubsub-v1.spec | 75 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/gapic-google-cloud-pubsub-v1-0.15.4.tar.gz diff --git a/python-gapic-google-cloud-pubsub-v1.spec b/python-gapic-google-cloud-pubsub-v1.spec new file mode 100644 index 0000000..83e2d12 --- /dev/null +++ b/python-gapic-google-cloud-pubsub-v1.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gapic-google-cloud-pubsub-v1 +Version: 0.15.4 +Release: 1 +Summary: GAPIC library for the Google Cloud Pub/Sub API +License: Apache-2.0 +URL: https://github.com/googleapis/googleapis +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/a7/0225bd7a95e037a0afa90b2dd9534d0c79cd62283a5bddb30a3197579cbc/gapic-google-cloud-pubsub-v1-0.15.4.tar.gz +BuildArch: noarch + + +%description +gapic-google-cloud-pubsub-v1 uses google-gax_ (Google API extensions) to provide an +easy-to-use client library for the `Google Cloud Pub/Sub API`_ (v1) defined in the googleapis_ git repository + +%package -n python3-gapic-google-cloud-pubsub-v1 +Summary: GAPIC library for the Google Cloud Pub/Sub API +Provides: python-gapic-google-cloud-pubsub-v1 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gapic-google-cloud-pubsub-v1 +gapic-google-cloud-pubsub-v1 uses google-gax_ (Google API extensions) to provide an +easy-to-use client library for the `Google Cloud Pub/Sub API`_ (v1) defined in the googleapis_ git repository + +%package help +Summary: Development documents and examples for gapic-google-cloud-pubsub-v1 +Provides: python3-gapic-google-cloud-pubsub-v1-doc +%description help +gapic-google-cloud-pubsub-v1 uses google-gax_ (Google API extensions) to provide an +easy-to-use client library for the `Google Cloud Pub/Sub API`_ (v1) defined in the googleapis_ git repository + +%prep +%autosetup -n gapic-google-cloud-pubsub-v1-0.15.4 + +%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-gapic-google-cloud-pubsub-v1 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.4-1 +- Package Spec generated @@ -0,0 +1 @@ +07b22de5262aba375b020b87daaa4c0b gapic-google-cloud-pubsub-v1-0.15.4.tar.gz |
