4 %bcond_without doc # don't build doc
5 %bcond_without tests # do not perform "make test"
8 %define subver 20151017
9 Summary: Let's Encrypt client
12 Release: 0.%{subver}.%{rel}
14 Group: Applications/Networking
15 Source0: https://github.com/letsencrypt/letsencrypt/archive/v%{version}.dev%{subver}.tar.gz
16 # Source0-md5: 1cac8a454e466136f70834c76977ef17
17 URL: https://letsencrypt.org/
18 BuildRequires: python-modules
19 BuildRequires: python-setuptools
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(macros) >= 1.612
23 BuildRequires: python-mock
24 BuildRequires: python-pythondialog
25 BuildRequires: python-zope.component
26 BuildRequires: python-zope.interface
29 BuildRequires: python-repoze.sphinx.autointerfac
30 BuildRequires: sphinx-pdg
32 Requires: python-cryptography
33 Requires: python-modules
34 Requires: python-pyOpenSSL
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 The Let's Encrypt Client is a tool to automatically receive and
41 install X.509 certificates to enable TLS on servers. The client will
42 interoperate with the Let's Encrypt CA which will be issuing
43 browser-trusted certificates for free.
46 %setup -q -n %{name}-%{version}.dev%{subver}
49 %{__python} setup.py build %{?with_tests:test}
54 rm -r _build/html/_sources
58 rm -rf $RPM_BUILD_ROOT
59 %{__python} setup.py \
61 install --skip-build \
63 --root=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc {CHANGES,README}.rst CONTRIBUTING.md %{?with_doc:docs/_build/html/*}
71 %attr(755,root,root) %{_bindir}/letsencrypt
72 %attr(755,root,root) %{_bindir}/letsencrypt-renewer
73 %{py_sitescriptdir}/letsencrypt
74 %{py_sitescriptdir}/letsencrypt-%{version}*-py*.egg-info