|
|
66170cf |
%global pypi_name certbot-dns-google
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
60ddf5d |
%bcond_with python3
|
|
|
60ddf5d |
%else
|
|
|
60ddf5d |
%bcond_without python3
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
cc01cfa |
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 8)
|
|
|
b690b6d |
%bcond_with python2
|
|
|
b690b6d |
%else
|
|
|
b690b6d |
%bcond_without python2
|
|
|
b690b6d |
%endif
|
|
|
b690b6d |
|
|
|
66170cf |
Name: python-%{pypi_name}
|
|
|
e6cd43f |
Version: 1.11.0
|
|
|
289f4d1 |
Release: 1%{?dist}
|
|
|
60ddf5d |
Summary: Google Cloud DNS Authenticator plugin for Certbot
|
|
|
60ddf5d |
|
|
|
60ddf5d |
License: ASL 2.0
|
|
|
60ddf5d |
URL: https://pypi.python.org/pypi/certbot-dns-google
|
|
|
66170cf |
Source0: %{pypi_source}
|
|
|
66170cf |
Source1: %{pypi_source}.asc
|
|
|
66170cf |
# Key mentioned in https://certbot.eff.org/docs/install.html#certbot-auto
|
|
|
66170cf |
# Keyring generation steps as follows:
|
|
|
66170cf |
# gpg2 --keyserver pool.sks-keyservers.net --recv-key A2CFB51FA275A7286234E7B24D17C995CD9775F2
|
|
|
66170cf |
# gpg2 --export --export-options export-minimal A2CFB51FA275A7286234E7B24D17C995CD9775F2 > gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg
|
|
|
66170cf |
Source2: gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg
|
|
|
60ddf5d |
|
|
|
60ddf5d |
BuildArch: noarch
|
|
|
60ddf5d |
|
|
|
b690b6d |
%if %{with python2}
|
|
|
aaa84a1 |
BuildRequires: python2-acme >= 0.29.0
|
|
|
cc01cfa |
BuildRequires: python2-certbot >= 1.1.0
|
|
|
60ddf5d |
BuildRequires: python2-devel
|
|
|
cc01cfa |
BuildRequires: python2-google-api-client >= 1.5.5
|
|
|
60ddf5d |
BuildRequires: python2-mock
|
|
|
cc01cfa |
BuildRequires: python2-oauth2client >= 4.0
|
|
|
60ddf5d |
BuildRequires: python2-setuptools
|
|
Nick Bebout |
d9680e5 |
BuildRequires: python2-zope-interface
|
|
|
60ddf5d |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
60ddf5d |
# EL7 has unversioned names for these packages
|
|
|
3fd80c2 |
BuildRequires: pytest
|
|
|
60ddf5d |
BuildRequires: python-httplib2
|
|
|
60ddf5d |
%else
|
|
|
60ddf5d |
BuildRequires: python2-httplib2
|
|
|
3fd80c2 |
BuildRequires: python2-pytest
|
|
|
60ddf5d |
%endif
|
|
|
b690b6d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if %{with python3}
|
|
|
aaa84a1 |
BuildRequires: python3-acme >= 0.29.0
|
|
|
cc01cfa |
BuildRequires: python3-certbot >= 1.1.0
|
|
|
60ddf5d |
BuildRequires: python3-devel
|
|
|
cc01cfa |
BuildRequires: python3-google-api-client >= 1.5.5
|
|
|
60ddf5d |
BuildRequires: python3-httplib2
|
|
|
cc01cfa |
BuildRequires: python3-oauth2client >= 4.0
|
|
|
3fd80c2 |
BuildRequires: python3-pytest
|
|
|
60ddf5d |
BuildRequires: python3-setuptools
|
|
|
60ddf5d |
BuildRequires: python3-zope-interface
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
66170cf |
# Used to verify OpenPGP signature
|
|
|
66170cf |
BuildRequires: gnupg2
|
|
|
66170cf |
|
|
|
60ddf5d |
%description
|
|
|
60ddf5d |
This certbot plugin automates the process of completing an ACME
|
|
|
60ddf5d |
dns-01 challenge by creating, and subsequently removing, TXT
|
|
|
60ddf5d |
records using Google Cloud DNS.
|
|
|
60ddf5d |
|
|
|
b690b6d |
%if %{with python2}
|
|
|
66170cf |
%package -n python2-%{pypi_name}
|
|
|
60ddf5d |
# Provide the name users expect as a certbot plugin
|
|
|
60ddf5d |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
66170cf |
Provides: %{pypi_name} = %{version}-%{release}
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
# Although a plugin for the certbot command it's technically
|
|
|
60ddf5d |
# an extension to the certbot python libraries
|
|
|
aaa84a1 |
Requires: python2-acme >= 0.29.0
|
|
|
cc01cfa |
Requires: python2-certbot >= 1.1.0
|
|
|
cc01cfa |
Requires: python2-google-api-client >= 1.5.5
|
|
|
60ddf5d |
Requires: python2-mock
|
|
|
cc01cfa |
Requires: python2-oauth2client >= 4.0
|
|
Nick Bebout |
d9680e5 |
Requires: python2-zope-interface
|
|
|
60ddf5d |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
60ddf5d |
# EL7 has unversioned names for these packages
|
|
|
60ddf5d |
Requires: python-httplib2
|
|
|
60ddf5d |
%else
|
|
|
60ddf5d |
Requires: python2-httplib2
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if 0%{?fedora}
|
|
|
60ddf5d |
#Recommend the CLI as that will be the interface most use
|
|
|
d1b0c64 |
Recommends: certbot >= 0.39.0
|
|
|
60ddf5d |
%else
|
|
|
d1b0c64 |
Requires: certbot >= 0.39.0
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
Summary: %{summary}
|
|
|
66170cf |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
60ddf5d |
|
|
|
66170cf |
%description -n python2-%{pypi_name}
|
|
|
60ddf5d |
This certbot plugin automates the process of completing an ACME
|
|
|
60ddf5d |
dns-01 challenge by creating, and subsequently removing, TXT
|
|
|
60ddf5d |
records using Google Cloud DNS.
|
|
|
60ddf5d |
|
|
|
60ddf5d |
This is the Python 2 version of the package.
|
|
|
b690b6d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if %{with python3}
|
|
|
66170cf |
%package -n python3-%{pypi_name}
|
|
|
60ddf5d |
# Provide the name users expect as a certbot plugin
|
|
|
60ddf5d |
%if 0%{?fedora}
|
|
|
66170cf |
Provides: %{pypi_name} = %{version}-%{release}
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
# Although a plugin for the certbot command it's technically
|
|
|
60ddf5d |
# an extension to the certbot python libraries
|
|
|
aaa84a1 |
Requires: python3-acme >= 0.29.0
|
|
|
cc01cfa |
Requires: python3-certbot >= 1.1.0
|
|
|
cc01cfa |
Requires: python3-google-api-client >= 1.5.5
|
|
|
60ddf5d |
Requires: python3-httplib2
|
|
|
cc01cfa |
Requires: python3-oauth2client >= 4.0
|
|
|
60ddf5d |
Requires: python3-zope-interface
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if 0%{?fedora}
|
|
|
60ddf5d |
#Recommend the CLI as that will be the interface most use
|
|
|
d1b0c64 |
Recommends: certbot >= 0.39.0
|
|
|
60ddf5d |
%else
|
|
|
d1b0c64 |
Requires: certbot >= 0.39.0
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
Summary: %{summary}
|
|
|
66170cf |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
60ddf5d |
|
|
|
66170cf |
%description -n python3-%{pypi_name}
|
|
|
60ddf5d |
This certbot plugin automates the process of completing an ACME
|
|
|
60ddf5d |
dns-01 challenge by creating, and subsequently removing, TXT
|
|
|
60ddf5d |
records using Google Cloud DNS.
|
|
|
60ddf5d |
|
|
|
60ddf5d |
This is the Python 3 version of the package.
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%prep
|
|
|
66170cf |
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
66170cf |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
3fd80c2 |
# Remove bundled egg-info
|
|
|
3fd80c2 |
rm -rf %{pypi_name}.egg-info
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%build
|
|
|
b690b6d |
%if %{with python2}
|
|
|
60ddf5d |
%py2_build
|
|
|
b690b6d |
%endif
|
|
|
b690b6d |
|
|
|
60ddf5d |
%if %{with python3}
|
|
|
60ddf5d |
%py3_build
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%check
|
|
|
b690b6d |
%if %{with python2}
|
|
Nick Bebout |
8de53a8 |
%{__python2} -m pytest
|
|
|
b690b6d |
%endif
|
|
|
b690b6d |
|
|
|
68ce93c |
%if %{with python3}
|
|
Nick Bebout |
8de53a8 |
%{__python3} -m pytest
|
|
|
68ce93c |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%install
|
|
|
b690b6d |
%if %{with python2}
|
|
|
60ddf5d |
%py2_install
|
|
|
b690b6d |
%endif
|
|
|
b690b6d |
|
|
|
60ddf5d |
%if %{with python3}
|
|
|
60ddf5d |
%py3_install
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
b690b6d |
%if %{with python2}
|
|
|
66170cf |
%files -n python2-%{pypi_name}
|
|
|
60ddf5d |
%license LICENSE.txt
|
|
|
60ddf5d |
%doc README.rst
|
|
|
60ddf5d |
%{python2_sitelib}/certbot_dns_google
|
|
|
60ddf5d |
%{python2_sitelib}/certbot_dns_google-%{version}*.egg-info
|
|
|
b690b6d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%if %{with python3}
|
|
|
66170cf |
%files -n python3-%{pypi_name}
|
|
|
60ddf5d |
%license LICENSE.txt
|
|
|
60ddf5d |
%doc README.rst
|
|
|
60ddf5d |
%{python3_sitelib}/certbot_dns_google
|
|
|
60ddf5d |
%{python3_sitelib}/certbot_dns_google-%{version}*.egg-info
|
|
|
60ddf5d |
%endif
|
|
|
60ddf5d |
|
|
|
60ddf5d |
%changelog
|
|
|
e6cd43f |
* Tue Jan 5 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 1.11.0-1
|
|
|
e6cd43f |
- Update to 1.11.0 (#1913026)
|
|
|
e6cd43f |
|
|
|
ce1f3b5 |
* Thu Dec 3 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.10.1-1
|
|
|
ce1f3b5 |
- Update to 1.10.1 (#1904192)
|
|
|
ce1f3b5 |
|
|
|
d4b89bc |
* Thu Dec 3 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.10.0-1
|
|
|
d4b89bc |
- Update to 1.10.0 (#1903320)
|
|
|
d4b89bc |
|
|
Nick Bebout |
8de53a8 |
* Thu Oct 08 2020 Nick Bebout <nb@fedoraproject.org> - 1.9.0-1
|
|
Nick Bebout |
8de53a8 |
- Update to 1.9.0
|
|
Nick Bebout |
8de53a8 |
|
|
Nick Bebout |
3213fad |
* Tue Oct 06 2020 Nick Bebout <nb@fedoraproject.org> - 1.8.0-1
|
|
Nick Bebout |
3213fad |
- Update to 1.8.0
|
|
Nick Bebout |
3213fad |
|
|
|
289f4d1 |
* Sun Aug 16 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.7.0-1
|
|
|
289f4d1 |
- Update to 1.7.0 (#1866077)
|
|
|
289f4d1 |
|
|
|
95f86e8 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
|
|
|
95f86e8 |
- Second attempt - Rebuilt for
|
|
|
95f86e8 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
95f86e8 |
|
|
|
4f7f4d4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
|
|
4f7f4d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4f7f4d4 |
|
|
|
e3390d8 |
* Tue Jul 07 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.6.0-1
|
|
|
e3390d8 |
- Update to 1.6.0 (#1854591)
|
|
|
e3390d8 |
|
|
|
93b4114 |
* Sat Jun 06 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.5.0-1
|
|
|
93b4114 |
- Update to 1.5.0 (#1843209)
|
|
|
93b4114 |
|
|
|
cebb472 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
|
|
|
cebb472 |
- Rebuilt for Python 3.9
|
|
|
cebb472 |
|
|
|
f564edb |
* Sat May 09 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 1.4.0-1
|
|
|
f564edb |
- Update to 1.4.0 (#1831922)
|
|
|
f564edb |
|
|
|
b11610f |
* Wed Mar 04 2020 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.3.0-1
|
|
|
b11610f |
- Update to 1.3.0 (#1809817)
|
|
|
b11610f |
|
|
|
541573a |
* Sat Feb 29 2020 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 1.2.0-1
|
|
|
541573a |
- Update to 1.2.0 (#1791078)
|
|
|
541573a |
|
|
|
0ca80fd |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
0ca80fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0ca80fd |
|
|
|
3fd80c2 |
* Thu Dec 05 2019 Eli Young <elyscape@gmail.com> - 1.0.0-1
|
|
|
3fd80c2 |
- Update to 1.0.0 (#1769111)
|
|
|
3fd80c2 |
|
|
|
66170cf |
* Wed Dec 04 2019 Eli Young <elyscape@gmail.com> - 0.39.0-2
|
|
|
66170cf |
- Verify source OpenPGP signature
|
|
|
66170cf |
|
|
|
d1b0c64 |
* Tue Oct 01 2019 Eli Young <elyscape@gmail.com> - 0.39.0-1
|
|
|
d1b0c64 |
- Update to 0.39.0 (#1757585)
|
|
|
d1b0c64 |
|
|
|
714dc78 |
* Tue Sep 10 2019 Eli Young <elyscape@gmail.com> - 0.38.0-1
|
|
|
714dc78 |
- Update to 0.38.0 (#1748619)
|
|
|
714dc78 |
|
|
|
1636551 |
* Mon Aug 26 2019 Eli Young <elyscape@gmail.com> - 0.37.2-1
|
|
|
1636551 |
- Update to 0.37.2 (#1742585)
|
|
|
1636551 |
|
|
|
6fbc4be |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.36.0-3
|
|
|
6fbc4be |
- Rebuilt for Python 3.8
|
|
|
6fbc4be |
|
|
|
538dda4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.36.0-2
|
|
|
538dda4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
538dda4 |
|
|
|
fbae643 |
* Fri Jul 19 2019 Eli Young <elyscape@gmail.com> - 0.36.0-1
|
|
|
fbae643 |
- Update to 0.36.0
|
|
|
fbae643 |
|
|
|
a8c6fa4 |
* Fri Jun 21 2019 Eli Young <elyscape@gmail.com> - 0.35.1-1
|
|
|
a8c6fa4 |
- Update to 0.35.1 (#1717685)
|
|
|
a8c6fa4 |
|
|
|
aaa84a1 |
* Tue May 28 2019 Eli Young <elyscape@gmail.com> - 0.34.2-1
|
|
|
aaa84a1 |
- Update to 0.34.2 (#1686192)
|
|
|
aaa84a1 |
|
|
|
3360f3d |
* Fri Feb 08 2019 Eli Young <elyscape@gmail.com> - 0.31.0-1
|
|
|
3360f3d |
- Update to 0.31.0 (#1673754)
|
|
|
3360f3d |
|
|
|
ed49656 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.2-2
|
|
|
ed49656 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ed49656 |
|
|
|
d6524ae |
* Mon Jan 28 2019 Eli Young <elyscape@gmail.com> - 0.30.2-1
|
|
|
d6524ae |
- Update to 0.30.2 (#1669321)
|
|
|
d6524ae |
|
|
|
07a5726 |
* Tue Dec 11 2018 Eli Young <elyscape@gmail.com> - 0.29.1-1
|
|
|
07a5726 |
- Update to 0.29.1
|
|
|
3597ab0 |
- Remove Python 2 package in Fedora 30+ (#1654016)
|
|
|
07a5726 |
|
|
|
37e5710 |
* Wed Nov 14 2018 Eli Young <elyscape@gmail.com> - 0.28.0-1
|
|
|
37e5710 |
- Update to 0.28.0
|
|
|
37e5710 |
|
|
|
0892e7f |
* Mon Sep 10 2018 Eli Young <elyscape@gmail.com> - 0.27.1-1
|
|
|
0892e7f |
- Update to 0.27.1 (#1627577)
|
|
|
0892e7f |
|
|
|
9d87c1b |
* Tue Jul 17 2018 Eli Young <elyscape@gmail.com> - 0.26.1-1
|
|
|
9d87c1b |
- Update to 0.26.1 (#1600299)
|
|
|
9d87c1b |
|
|
|
6588d00 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-3
|
|
|
6588d00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6588d00 |
|
|
|
3c4697b |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.25.1-2
|
|
|
3c4697b |
- Rebuilt for Python 3.7
|
|
|
3c4697b |
|
|
|
6b23d53 |
* Wed Jun 13 2018 Eli Young <elyscape@gmail.com> - 0.25.1-1
|
|
|
6b23d53 |
- Update to 0.25.1 (#1591038)
|
|
|
6b23d53 |
|
|
|
3558865 |
* Thu Jun 07 2018 Eli Young <elyscape@gmail.com> - 0.25.0-1
|
|
|
3558865 |
- Update to 0.25.0 (#1588226)
|
|
|
3558865 |
|
|
|
33feaa5 |
* Wed May 02 2018 Eli Young <elyscape@gmail.com> - 0.24.0-1
|
|
|
33feaa5 |
- Update to 0.24.0 (#1574143)
|
|
|
33feaa5 |
|
|
|
68ce93c |
* Thu Apr 05 2018 Eli Young <elyscape@gmail.com> - 0.23.0-1
|
|
|
68ce93c |
- Update to 0.23.0 (#1563906)
|
|
|
68ce93c |
|
|
|
3ca9be0 |
* Tue Mar 20 2018 Eli Young <elyscape@gmail.com> - 0.22.2-1
|
|
|
3ca9be0 |
- Update to 0.22.2
|
|
|
3ca9be0 |
|
|
|
02de108 |
* Sat Mar 10 2018 Eli Young <elyscape@gmail.com> - 0.22.0-1
|
|
|
02de108 |
- Update to 0.22.0
|
|
|
02de108 |
|
|
Nick Bebout |
d9680e5 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 0.21.1-2
|
|
Nick Bebout |
d9680e5 |
- Simplify deps, add python2- prefix where available
|
|
Nick Bebout |
d9680e5 |
|
|
|
60ddf5d |
* Wed Feb 14 2018 Eli Young <elyscape@gmail.com> - 0.21.1-1
|
|
|
60ddf5d |
- Initial package (#1544555)
|