diff options
Diffstat (limited to 'python-grpc-google-iam-v1.spec')
-rw-r--r-- | python-grpc-google-iam-v1.spec | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/python-grpc-google-iam-v1.spec b/python-grpc-google-iam-v1.spec new file mode 100644 index 0000000..c32c4dd --- /dev/null +++ b/python-grpc-google-iam-v1.spec @@ -0,0 +1,177 @@ +%global _empty_manifest_terminate_build 0 +Name: python-grpc-google-iam-v1 +Version: 0.12.6 +Release: 1 +Summary: IAM API client library +License: Apache 2.0 +URL: https://github.com/googleapis/python-grpc-google-iam-v1 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/40/92/aee864f03f47c672a31d128e49981b01ca629d81541dcc9904c652dbab5b/grpc-google-iam-v1-0.12.6.tar.gz +BuildArch: noarch + +Requires: python3-grpcio +Requires: python3-googleapis-common-protos[grpc] +Requires: python3-protobuf + +%description +|preview| |pypi| |versions| +`IAM API`_: +- `Client Library Documentation`_ +- `Product Documentation`_ +Installation +~~~~~~~~~~~~ +Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to +create isolated Python environments. The basic problem it addresses is one of +dependencies and versions, and indirectly permissions. +With `virtualenv`_, it's possible to install this library without needing system +install permissions, and without clashing with the installed system +dependencies. +Supported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^ +Python >= 3.7 +Mac/Linux +^^^^^^^^^ + pip install virtualenv + virtualenv <your-env> + source <your-env>/bin/activate + <your-env>/bin/pip install grpc-google-iam-v1 +Windows +^^^^^^^ + pip install virtualenv + virtualenv <your-env> + <your-env>\Scripts\activate + <your-env>\Scripts\pip.exe install grpc-google-iam-v1 +Next Steps +~~~~~~~~~~ +- Read the `Client Library Documentation`_ for IAM + API to see other available methods on the client. +- Read the `IAM API Product documentation`_ to learn + more about the product and see How-to Guides. +- View this `README`_ to see the full list of Cloud + APIs that we cover. + +%package -n python3-grpc-google-iam-v1 +Summary: IAM API client library +Provides: python-grpc-google-iam-v1 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-grpc-google-iam-v1 +|preview| |pypi| |versions| +`IAM API`_: +- `Client Library Documentation`_ +- `Product Documentation`_ +Installation +~~~~~~~~~~~~ +Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to +create isolated Python environments. The basic problem it addresses is one of +dependencies and versions, and indirectly permissions. +With `virtualenv`_, it's possible to install this library without needing system +install permissions, and without clashing with the installed system +dependencies. +Supported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^ +Python >= 3.7 +Mac/Linux +^^^^^^^^^ + pip install virtualenv + virtualenv <your-env> + source <your-env>/bin/activate + <your-env>/bin/pip install grpc-google-iam-v1 +Windows +^^^^^^^ + pip install virtualenv + virtualenv <your-env> + <your-env>\Scripts\activate + <your-env>\Scripts\pip.exe install grpc-google-iam-v1 +Next Steps +~~~~~~~~~~ +- Read the `Client Library Documentation`_ for IAM + API to see other available methods on the client. +- Read the `IAM API Product documentation`_ to learn + more about the product and see How-to Guides. +- View this `README`_ to see the full list of Cloud + APIs that we cover. + +%package help +Summary: Development documents and examples for grpc-google-iam-v1 +Provides: python3-grpc-google-iam-v1-doc +%description help +|preview| |pypi| |versions| +`IAM API`_: +- `Client Library Documentation`_ +- `Product Documentation`_ +Installation +~~~~~~~~~~~~ +Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to +create isolated Python environments. The basic problem it addresses is one of +dependencies and versions, and indirectly permissions. +With `virtualenv`_, it's possible to install this library without needing system +install permissions, and without clashing with the installed system +dependencies. +Supported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^ +Python >= 3.7 +Mac/Linux +^^^^^^^^^ + pip install virtualenv + virtualenv <your-env> + source <your-env>/bin/activate + <your-env>/bin/pip install grpc-google-iam-v1 +Windows +^^^^^^^ + pip install virtualenv + virtualenv <your-env> + <your-env>\Scripts\activate + <your-env>\Scripts\pip.exe install grpc-google-iam-v1 +Next Steps +~~~~~~~~~~ +- Read the `Client Library Documentation`_ for IAM + API to see other available methods on the client. +- Read the `IAM API Product documentation`_ to learn + more about the product and see How-to Guides. +- View this `README`_ to see the full list of Cloud + APIs that we cover. + +%prep +%autosetup -n grpc-google-iam-v1-0.12.6 + +%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-iam-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.12.6-1 +- Package Spec generated |