|
Nick Bebout |
5415abd |
# Created by pyp2rpm-3.2.2
|
|
Nick Bebout |
5415abd |
%global pypi_name certbot-dns-dnsmadeeasy
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
Nick Bebout |
5415abd |
%bcond_with python3
|
|
Nick Bebout |
5415abd |
%else
|
|
Nick Bebout |
5415abd |
%bcond_without python3
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
Name: python-%{pypi_name}
|
|
|
9afd9be |
Version: 0.23.0
|
|
|
ebab5de |
Release: 1%{?dist}
|
|
Nick Bebout |
5415abd |
Summary: DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
License: ASL 2.0
|
|
Nick Bebout |
5415abd |
URL: https://github.com/certbot/certbot
|
|
Nick Bebout |
5415abd |
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Nick Bebout |
5415abd |
BuildArch: noarch
|
|
Nick Bebout |
386b4f4 |
|
|
|
ebab5de |
BuildRequires: python2-certbot >= 0.21.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python2-devel
|
|
|
9afd9be |
BuildRequires: python2-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python2-setuptools
|
|
Nick Bebout |
9241b44 |
BuildRequires: python2-zope-interface
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
ddd8f5d |
BuildRequires: python2-sphinx
|
|
|
ebab5de |
BuildRequires: python3-certbot >= 0.21.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-devel
|
|
|
9afd9be |
BuildRequires: python3-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-setuptools
|
|
Nick Bebout |
5415abd |
BuildRequires: python3-zope-interface
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%description
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%package -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
Summary: %{summary}
|
|
Nick Bebout |
5415abd |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
ebab5de |
|
|
|
ebab5de |
Requires: python2-acme >= 0.21.1
|
|
|
ebab5de |
Requires: python2-certbot >= 0.21.1
|
|
|
9afd9be |
Requires: python2-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
Requires: python2-mock
|
|
Nick Bebout |
5415abd |
Requires: python2-setuptools
|
|
Nick Bebout |
9241b44 |
Requires: python2-zope-interface
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%description -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%package -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
Summary: %{summary}
|
|
Nick Bebout |
5415abd |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
ebab5de |
|
|
|
ebab5de |
Requires: python3-acme >= 0.21.1
|
|
|
ebab5de |
Requires: python3-certbot >= 0.21.1
|
|
|
9afd9be |
Requires: python3-dns-lexicon >= 2.2.1
|
|
Nick Bebout |
5415abd |
Requires: python3-mock
|
|
Nick Bebout |
5415abd |
Requires: python3-setuptools
|
|
Nick Bebout |
9241b44 |
Requires: python3-zope-interface
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%description -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
DNS Made Easy DNS Authenticator plugin for Certbot
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%package -n python-%{pypi_name}-doc
|
|
Nick Bebout |
5415abd |
Summary: certbot-dns-dnsmadeeasy documentation
|
|
Nick Bebout |
5415abd |
%description -n python-%{pypi_name}-doc
|
|
Nick Bebout |
5415abd |
Documentation for certbot-dns-dnsmadeeasy
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%prep
|
|
Nick Bebout |
5415abd |
%autosetup -n %{pypi_name}-%{version}
|
|
Nick Bebout |
5415abd |
# Remove bundled egg-info
|
|
Nick Bebout |
5415abd |
rm -rf %{pypi_name}.egg-info
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%build
|
|
Nick Bebout |
5415abd |
%py2_build
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%py3_build
|
|
Nick Bebout |
5415abd |
# generate html docs
|
|
Nick Bebout |
5415abd |
sphinx-build docs html
|
|
Nick Bebout |
5415abd |
# remove the sphinx-build leftovers
|
|
Nick Bebout |
5415abd |
rm -rf html/.{doctrees,buildinfo}
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%install
|
|
Nick Bebout |
5415abd |
# Must do the subpackages' install first because the scripts in /usr/bin are
|
|
Nick Bebout |
5415abd |
# overwritten with every setup.py install.
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%py3_install
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%py2_install
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%check
|
|
Nick Bebout |
ddd8f5d |
%{__python2} setup.py test
|
|
Nick Bebout |
386b4f4 |
|
|
Nick Bebout |
386b4f4 |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%{__python3} setup.py test
|
|
Nick Bebout |
5415abd |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%files -n python2-%{pypi_name}
|
|
Nick Bebout |
5415abd |
%license LICENSE.txt
|
|
Nick Bebout |
5415abd |
%doc README.rst
|
|
Nick Bebout |
5415abd |
%{python2_sitelib}/certbot_dns_dnsmadeeasy
|
|
Nick Bebout |
5415abd |
%{python2_sitelib}/certbot_dns_dnsmadeeasy-%{version}-py?.?.egg-info
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%if %{with python3}
|
|
Nick Bebout |
5415abd |
%files -n python3-%{pypi_name}
|
|
Nick Bebout |
5415abd |
%license LICENSE.txt
|
|
Nick Bebout |
5415abd |
%doc README.rst
|
|
Nick Bebout |
5415abd |
%{python3_sitelib}/certbot_dns_dnsmadeeasy
|
|
Nick Bebout |
5415abd |
%{python3_sitelib}/certbot_dns_dnsmadeeasy-%{version}-py?.?.egg-info
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%files -n python-%{pypi_name}-doc
|
|
Nick Bebout |
5415abd |
%doc html
|
|
Nick Bebout |
ddd8f5d |
%endif
|
|
Nick Bebout |
5415abd |
|
|
Nick Bebout |
5415abd |
%changelog
|
|
|
9afd9be |
* Thu Apr 05 2018 Eli Young <elyscape@gmail.com> - 0.23.0-1
|
|
|
9afd9be |
- Update to 0.23.0 (#1563905)
|
|
|
9afd9be |
|
|
|
e9792c1 |
* Tue Mar 20 2018 Eli Young <elyscape@gmail.com> - 0.22.2-1
|
|
|
e9792c1 |
- Update to 0.22.2
|
|
|
e9792c1 |
|
|
|
ebab5de |
* Sat Mar 10 2018 Eli Young <elyscape@gmail.com> - 0.22.0-1
|
|
|
ebab5de |
- Update to 0.22.0
|
|
|
ebab5de |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 0.21.1-3
|
|
Nick Bebout |
9241b44 |
- Actually fix the setuptools dep
|
|
Nick Bebout |
9241b44 |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 0.21.1-2
|
|
Nick Bebout |
9fca552 |
- Add patch to remove no longer needed versioned dep in epel7
|
|
Nick Bebout |
9fca552 |
|
|
Nick Bebout |
9241b44 |
* Mon Feb 19 2018 Nick Bebout <nb@usi.edu> - 0.21.1-1
|
|
Nick Bebout |
5415abd |
- Initial package.
|