diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:23:17 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:23:17 +0000 |
| commit | 2dcce26e4d607e1cb57930f5a127dfe99313f070 (patch) | |
| tree | 82ff89998b8d122cc24f71b2e20afc4757edb751 | |
| parent | bd3a9f03b8a0dc6c0ac8f9110dbc35e6347f1c56 (diff) | |
automatic import of python-google-cloud-pubsubliteopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-google-cloud-pubsublite.spec | 119 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 121 insertions, 0 deletions
@@ -0,0 +1 @@ +/google-cloud-pubsublite-1.8.1.tar.gz diff --git a/python-google-cloud-pubsublite.spec b/python-google-cloud-pubsublite.spec new file mode 100644 index 0000000..ae0959b --- /dev/null +++ b/python-google-cloud-pubsublite.spec @@ -0,0 +1,119 @@ +%global _empty_manifest_terminate_build 0 +Name: python-google-cloud-pubsublite +Version: 1.8.1 +Release: 1 +Summary: Google Cloud Pubsublite API client library +License: Apache 2.0 +URL: https://github.com/googleapis/python-pubsublite +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/77/c2/56d9b31bff9fdbd17c26e93cfb620220be038c3281df6e6b52305a19d637/google-cloud-pubsublite-1.8.1.tar.gz +BuildArch: noarch + +Requires: python3-google-cloud-pubsub +Requires: python3-grpcio +Requires: python3-grpcio-status +Requires: python3-overrides +Requires: python3-google-api-core[grpc] + +%description +|stable| |pypi| |versions| +`Pub/Sub Lite API`_: is designed to provide reliable, +many-to-many, asynchronous messaging between applications. Publisher +applications can send messages to a topic and other applications can +subscribe to that topic to receive the messages. By decoupling senders and +receivers, Google Cloud Pub/Sub allows developers to communicate between +independently written applications. +Compared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data +storage with predefined capacity. Both products present a similar API, but +Pub/Sub Lite has more usage caveats. +See the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate +Pub/Sub Lite for your project, as well as guidance on how to choose between +Cloud Pub/Sub and Pub/Sub Lite. +- `Client Library Documentation`_ +- `Product Documentation`_ + +%package -n python3-google-cloud-pubsublite +Summary: Google Cloud Pubsublite API client library +Provides: python-google-cloud-pubsublite +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-google-cloud-pubsublite +|stable| |pypi| |versions| +`Pub/Sub Lite API`_: is designed to provide reliable, +many-to-many, asynchronous messaging between applications. Publisher +applications can send messages to a topic and other applications can +subscribe to that topic to receive the messages. By decoupling senders and +receivers, Google Cloud Pub/Sub allows developers to communicate between +independently written applications. +Compared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data +storage with predefined capacity. Both products present a similar API, but +Pub/Sub Lite has more usage caveats. +See the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate +Pub/Sub Lite for your project, as well as guidance on how to choose between +Cloud Pub/Sub and Pub/Sub Lite. +- `Client Library Documentation`_ +- `Product Documentation`_ + +%package help +Summary: Development documents and examples for google-cloud-pubsublite +Provides: python3-google-cloud-pubsublite-doc +%description help +|stable| |pypi| |versions| +`Pub/Sub Lite API`_: is designed to provide reliable, +many-to-many, asynchronous messaging between applications. Publisher +applications can send messages to a topic and other applications can +subscribe to that topic to receive the messages. By decoupling senders and +receivers, Google Cloud Pub/Sub allows developers to communicate between +independently written applications. +Compared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data +storage with predefined capacity. Both products present a similar API, but +Pub/Sub Lite has more usage caveats. +See the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate +Pub/Sub Lite for your project, as well as guidance on how to choose between +Cloud Pub/Sub and Pub/Sub Lite. +- `Client Library Documentation`_ +- `Product Documentation`_ + +%prep +%autosetup -n google-cloud-pubsublite-1.8.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-google-cloud-pubsublite -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.1-1 +- Package Spec generated @@ -0,0 +1 @@ +d824374c8f6510a254ebdacdb358f4be google-cloud-pubsublite-1.8.1.tar.gz |
