2015-12-09 21:29:33 +00:00
|
|
|
# Share doc between python- and python3-
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
%global sum Google APIs Client Library for Python
|
|
|
|
%global srcname google-api-client
|
|
|
|
|
|
|
|
Name: google-api-python-client
|
|
|
|
Summary: %{sum}
|
2019-01-28 21:23:23 +00:00
|
|
|
Epoch: 1
|
|
|
|
Version: 1.6.7
|
2020-01-29 03:15:13 +00:00
|
|
|
Release: 11%{?dist}
|
2015-12-09 21:29:33 +00:00
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://github.com/google/%{name}/
|
2019-01-22 07:53:03 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/e0/91/0e6a42ea3e0898a75d819a9690c8c8d0eecd31275d8a85503c8fc33949f2/%{name}-%{version}.tar.gz
|
2015-12-09 21:29:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2018-01-19 09:50:05 +00:00
|
|
|
Written by Google, this library provides a small, flexible, and powerful
|
2015-12-09 21:29:33 +00:00
|
|
|
Python client library for accessing Google APIs.
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
Summary: %{sum}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
2016-01-31 17:43:26 +00:00
|
|
|
BuildRequires: python3-devel >= 3.3
|
|
|
|
BuildRequires: python3-setuptools
|
2017-08-01 18:36:04 +00:00
|
|
|
BuildRequires: python3-httplib2 >= 0.9.2
|
2016-05-22 21:02:28 +00:00
|
|
|
BuildRequires: python3-oauth2client >= 2.0.0
|
2017-08-01 18:36:04 +00:00
|
|
|
BuildRequires: python3-uritemplate >= 3.0.0
|
2016-01-31 17:43:26 +00:00
|
|
|
BuildRequires: python3-six >= 1.6.1
|
|
|
|
|
2017-08-01 18:36:04 +00:00
|
|
|
Requires: python3-httplib2 >= 0.9.2
|
2016-05-22 21:02:28 +00:00
|
|
|
Requires: python3-oauth2client >= 2.0.0
|
2017-08-01 18:36:04 +00:00
|
|
|
Requires: python3-uritemplate >= 3.0.0
|
2015-12-09 21:29:33 +00:00
|
|
|
Requires: python3-six >= 1.6.1
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
Written by Google, this library provides a small, flexible, and powerful
|
|
|
|
Python 3 client library for accessing Google APIs.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
# remove egg info
|
|
|
|
rm -rf google_api_python_client.egg-info
|
|
|
|
|
|
|
|
# remove shebang without touching timestamp
|
|
|
|
for lib in googleapiclient/*.py; do
|
|
|
|
sed '1{\@^#!/usr/bin/python@d}' $lib > $lib.new &&
|
|
|
|
touch -r $lib $lib.new &&
|
|
|
|
mv $lib.new $lib
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{py3_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{py3_install}
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG
|
2019-07-31 10:32:36 +00:00
|
|
|
%{python3_sitelib}/apiclient/
|
|
|
|
%{python3_sitelib}/googleapiclient/
|
|
|
|
%{python3_sitelib}/google_api_python_client-%{version}-py%{python3_version}.egg-info/
|
2015-12-09 21:29:33 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-01-29 03:15:13 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 11:54:03 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-10
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:15:15 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-9
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-31 10:32:36 +00:00
|
|
|
* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-8
|
|
|
|
- Subpackage python2-google-api-client has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-07-25 07:28:36 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 01:18:36 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-28 21:23:23 +00:00
|
|
|
* Mon Jan 28 2019 Michele Baldessari <michele@acksyn.org> - 1.6.7-5
|
|
|
|
- Add an epoch and downgrade to 1.6.7 while we get python-google-auth-httplib2
|
|
|
|
|
2019-01-22 07:53:03 +00:00
|
|
|
* Mon Jan 21 2019 Michele Baldessari <michele@acksyn.org> - 1.7.7-1
|
|
|
|
- New upstream
|
|
|
|
|
2018-07-20 14:40:11 +00:00
|
|
|
* Fri Jul 20 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.6.7-4
|
|
|
|
- Fix build when disabling python3.
|
|
|
|
|
2018-07-13 04:21:07 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:44:14 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.7-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-05-05 08:58:17 +00:00
|
|
|
* Sat May 05 2018 Michele Baldessari <michele@acksyn.org> - 1.6.7-1
|
|
|
|
- New upstream
|
|
|
|
|
2018-02-07 15:10:42 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-19 09:50:05 +00:00
|
|
|
* Fri Jan 19 2018 Michele Baldessari <michele@acksyn.org> - 1.6.5-1
|
|
|
|
- New upstream
|
|
|
|
|
2017-10-23 09:48:46 +00:00
|
|
|
* Mon Oct 23 2017 Michele Baldessari <michele@acksyn.org> - 1.6.4-1
|
|
|
|
- New upstream
|
|
|
|
|
2017-09-11 01:36:45 +00:00
|
|
|
* Sun Sep 10 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.3-2
|
2017-09-11 01:35:28 +00:00
|
|
|
- Fix BuildRequires/Requires to use python2-* for Fedora
|
|
|
|
|
2017-08-31 07:46:38 +00:00
|
|
|
* Thu Aug 31 2017 Michele Baldessari <michele@acksyn.org> - 1.6.3-1
|
|
|
|
- New upstream
|
|
|
|
|
2017-08-04 14:58:41 +00:00
|
|
|
* Fri Aug 4 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.2-2
|
|
|
|
- Fix conditionals for epel
|
|
|
|
|
2017-08-01 18:36:04 +00:00
|
|
|
* Tue Aug 1 2017 Nick Bebout <nb@fedoraproject.org> - 1.6.2-1
|
|
|
|
- Update to 1.6.2
|
|
|
|
|
2017-07-26 11:51:44 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 12:06:23 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:36 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-11-10 13:44:20 +00:00
|
|
|
* Thu Nov 10 2016 Michele Baldessari <michele@acksyn.org> - 1.5.5-1
|
|
|
|
New upstream
|
|
|
|
|
2016-07-19 07:17:04 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-05-22 21:02:28 +00:00
|
|
|
* Sun May 22 2016 Michele Baldessari <michele@acksyn.org> - 1.5.1-1
|
|
|
|
- New upstream
|
|
|
|
|
|
|
|
* Thu Mar 10 2016 Michele Baldessari <michele@acksyn.org> - 1.5.0-1
|
|
|
|
- New upstream
|
|
|
|
|
2016-02-03 23:09:12 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-31 17:43:26 +00:00
|
|
|
* Sun Jan 31 2016 Michele Baldessari <michele@acksyn.org> - 1.4.2-4
|
|
|
|
- Make spec more epel friendly
|
|
|
|
|
2015-12-09 21:29:33 +00:00
|
|
|
* Mon Nov 02 2015 Michele Baldessari <michele@acksyn.org> - 1.4.2-3
|
|
|
|
- Cleanup spec according to newest python policy
|
|
|
|
- Drop python3 conditional, we'll build this for Fedora only for now anyways
|
|
|
|
|
|
|
|
* Wed Oct 21 2015 Michele Baldessari <michele@acksyn.org> - 1.4.2-2
|
|
|
|
- Address some comments from BZ 1272187
|
|
|
|
|
|
|
|
* Thu Oct 15 2015 Michele Baldessari <michele@acksyn.org> - 1.4.2-1
|
|
|
|
- Update to 1.4.2
|
|
|
|
|
|
|
|
* Tue Jun 23 2015 Michele Baldessari <michele@acksyn.org> - 1.4.1-1
|
|
|
|
- Update to 1.4.1
|
|
|
|
|
|
|
|
* Sun Jun 07 2015 Michele Baldessari <michele@acksyn.org> - 1.4.0-1
|
|
|
|
- Update to latest version
|
|
|
|
- Add python3 package
|
|
|
|
- Tag LICENSE with appropriate macro
|
|
|
|
- Generate {python,python3}-google-api-client packages to be more consistent
|
|
|
|
within Fedora
|
|
|
|
- Add python-oauthclient dependency
|
|
|
|
|
|
|
|
* Sat Feb 14 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.3.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
|
|
|
* Sat Jul 27 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.1-1
|
|
|
|
- Initial rpm package
|
|
|
|
|