diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:46:54 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:46:54 +0000 |
| commit | feb97bba536838c7cc6a4931b881154f5d93d984 (patch) | |
| tree | 938a8fefb6decb84aa78ca5ce8ce87ef8be55268 | |
| parent | cd06785e2c7b9b3a8fe2ff945a1834cb0af73513 (diff) | |
automatic import of python-google-cloud-access-context-manager
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-google-cloud-access-context-manager.spec | 77 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/google-cloud-access-context-manager-0.1.16.tar.gz diff --git a/python-google-cloud-access-context-manager.spec b/python-google-cloud-access-context-manager.spec new file mode 100644 index 0000000..aa274aa --- /dev/null +++ b/python-google-cloud-access-context-manager.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-google-cloud-access-context-manager +Version: 0.1.16 +Release: 1 +Summary: Google Cloud Access Context Manager Protobufs +License: Apache 2.0 +URL: https://github.com/googleapis/python-access-context-manager +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d2/36/3c64526da1a3dc115e90ff1125689df3242746ede5ce7c2766911c15312e/google-cloud-access-context-manager-0.1.16.tar.gz +BuildArch: noarch + +Requires: python3-google-api-core[grpc] +Requires: python3-protobuf + +%description +Protobufs for Google Access Context Manager. + + +%package -n python3-google-cloud-access-context-manager +Summary: Google Cloud Access Context Manager Protobufs +Provides: python-google-cloud-access-context-manager +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-google-cloud-access-context-manager +Protobufs for Google Access Context Manager. + + +%package help +Summary: Development documents and examples for google-cloud-access-context-manager +Provides: python3-google-cloud-access-context-manager-doc +%description help +Protobufs for Google Access Context Manager. + + +%prep +%autosetup -n google-cloud-access-context-manager-0.1.16 + +%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-access-context-manager -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.16-1 +- Package Spec generated @@ -0,0 +1 @@ +ccf12c6f25112897d791f614e39ab08a google-cloud-access-context-manager-0.1.16.tar.gz |
