summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-google-api-python-client.spec42
1 files changed, 42 insertions, 0 deletions
diff --git a/python-google-api-python-client.spec b/python-google-api-python-client.spec
new file mode 100644
index 0000000..a99b74d
--- /dev/null
+++ b/python-google-api-python-client.spec
@@ -0,0 +1,42 @@
+%global srcname google-api-python-client
+
+Name: python3-google-api-python-client
+Version: 1.7.11
+Release: 1%{?dist}
+Summary: Client library for Google's discovery based APIs.
+License: ASL 2.0
+URL: http://google.github.io/google-api-python-client
+
+Source0: https://pypi.io/packages/source/%(c=%{srcname}; echo ${c:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+Requires: python3-google-auth
+Requires: python3-google-auth-httplib2
+Requires: python3-uritemplate
+Requires: python3-httplib2
+Requires: python3-six
+
+%description
+Client library for Google's discovery based APIs.
+
+%prep
+%autosetup -n %{srcname}-%{version}
+
+%build
+%{__python3} setup.py build
+
+%install
+%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/*
+
+%changelog
+* Thu Mar 5 2020 Tristan Cacqueray <tdecacqu@redhat.com> - 1.7.11-1
+- Initial packaging