diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:09:06 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:09:06 +0000 |
commit | 1027e0fab8692fad3eccbf7bddcaac4a3b83ad4a (patch) | |
tree | 294dd7c8a14f2ac026769d5e37180f54d67ce828 | |
parent | 1771625b76a4e33b98dd84a8bdc427f8433b8c5e (diff) |
automatic import of python-google-ads
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-google-ads.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/google-ads-21.0.0.tar.gz diff --git a/python-google-ads.spec b/python-google-ads.spec new file mode 100644 index 0000000..b1e41d4 --- /dev/null +++ b/python-google-ads.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-google-ads +Version: 21.0.0 +Release: 1 +Summary: Client library for the Google Ads API +License: Apache 2.0 +URL: https://github.com/googleads/google-ads-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1d/58/475d55c2b658883ca32d7e854db7456bc4e4128aaaf58c816d9b0ab6eb44/google-ads-21.0.0.tar.gz +BuildArch: noarch + +Requires: python3-google-auth-oauthlib +Requires: python3-google-api-core +Requires: python3-googleapis-common-protos +Requires: python3-grpcio +Requires: python3-grpcio-status +Requires: python3-proto-plus +Requires: python3-PyYAML +Requires: python3-setuptools +Requires: python3-protobuf +Requires: python3-nox + +%description +This project hosts the Python client library for the Google Ads API. + +%package -n python3-google-ads +Summary: Client library for the Google Ads API +Provides: python-google-ads +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-google-ads +This project hosts the Python client library for the Google Ads API. + +%package help +Summary: Development documents and examples for google-ads +Provides: python3-google-ads-doc +%description help +This project hosts the Python client library for the Google Ads API. + +%prep +%autosetup -n google-ads-21.0.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-ads -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 21.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +2e343c81e37d893a4629434f69a1435c google-ads-21.0.0.tar.gz |