From feb97bba536838c7cc6a4931b881154f5d93d984 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 22:46:54 +0000 Subject: automatic import of python-google-cloud-access-context-manager --- .gitignore | 1 + python-google-cloud-access-context-manager.spec | 77 +++++++++++++++++++++++++ sources | 1 + 3 files changed, 79 insertions(+) create mode 100644 python-google-cloud-access-context-manager.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f3b7a7e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 - 0.1.16-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..3a346dc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ccf12c6f25112897d791f614e39ab08a google-cloud-access-context-manager-0.1.16.tar.gz -- cgit v1.2.3