From b0a8c12fbe81e0a25f9509bfb18b7aadb08be0ab Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 08:50:31 +0000 Subject: automatic import of python-google-cloud-pubsub --- python-google-cloud-pubsub.spec | 119 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 python-google-cloud-pubsub.spec (limited to 'python-google-cloud-pubsub.spec') diff --git a/python-google-cloud-pubsub.spec b/python-google-cloud-pubsub.spec new file mode 100644 index 0000000..977788a --- /dev/null +++ b/python-google-cloud-pubsub.spec @@ -0,0 +1,119 @@ +%global _empty_manifest_terminate_build 0 +Name: python-google-cloud-pubsub +Version: 2.16.0 +Release: 1 +Summary: Google Cloud Pub/Sub API client library +License: Apache 2.0 +URL: https://github.com/googleapis/python-pubsub +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/b6/e8e1d72c5deaf7fac998816bdde56aef01bb6dccc5f180c5e263a0e75e11/google-cloud-pubsub-2.16.0.tar.gz +BuildArch: noarch + +Requires: python3-grpcio +Requires: python3-google-api-core[grpc] +Requires: python3-proto-plus +Requires: python3-protobuf +Requires: python3-grpc-google-iam-v1 +Requires: python3-grpcio-status +Requires: python3-proto-plus +Requires: python3-libcst + +%description +|GA| |pypi| |versions| +`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that +allows you to send and receive messages between independent applications. You +can leverage Cloud Pub/Sub’s flexibility to decouple systems and components +hosted on Google Cloud Platform or elsewhere on the Internet. By building on +the same technology Google uses, Cloud Pub / Sub is designed to provide “at +least once” delivery at low latency with on-demand scalability to 1 million +messages per second (and beyond). +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. +- `Product Documentation`_ +- `Client Library Documentation`_ + +%package -n python3-google-cloud-pubsub +Summary: Google Cloud Pub/Sub API client library +Provides: python-google-cloud-pubsub +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-google-cloud-pubsub +|GA| |pypi| |versions| +`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that +allows you to send and receive messages between independent applications. You +can leverage Cloud Pub/Sub’s flexibility to decouple systems and components +hosted on Google Cloud Platform or elsewhere on the Internet. By building on +the same technology Google uses, Cloud Pub / Sub is designed to provide “at +least once” delivery at low latency with on-demand scalability to 1 million +messages per second (and beyond). +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. +- `Product Documentation`_ +- `Client Library Documentation`_ + +%package help +Summary: Development documents and examples for google-cloud-pubsub +Provides: python3-google-cloud-pubsub-doc +%description help +|GA| |pypi| |versions| +`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that +allows you to send and receive messages between independent applications. You +can leverage Cloud Pub/Sub’s flexibility to decouple systems and components +hosted on Google Cloud Platform or elsewhere on the Internet. By building on +the same technology Google uses, Cloud Pub / Sub is designed to provide “at +least once” delivery at low latency with on-demand scalability to 1 million +messages per second (and beyond). +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. +- `Product Documentation`_ +- `Client Library Documentation`_ + +%prep +%autosetup -n google-cloud-pubsub-2.16.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-google-cloud-pubsub -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 2.16.0-1 +- Package Spec generated -- cgit v1.2.3