[packages/certbot] 'letsencrypt' renamed to 'cryptbot' and updated

jajcus jajcus at pld-linux.org
Tue Dec 27 13:47:06 CET 2016


commit 8a8ce788ef9314e592573065acec4e2006651f03
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Dec 27 13:38:06 2016 +0100

    'letsencrypt' renamed to 'cryptbot' and updated
    
    Version: 0.9.3

 certbot.spec     | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 letsencrypt.spec |  75 ---------------------------
 2 files changed, 151 insertions(+), 75 deletions(-)
---
diff --git a/certbot.spec b/certbot.spec
new file mode 100644
index 0000000..d443011
--- /dev/null
+++ b/certbot.spec
@@ -0,0 +1,151 @@
+# TODO: finish, test
+#
+# Conditional build:
+%bcond_with	doc		# build doc
+%bcond_with	tests		# do perform tests (pulls extra dependencies from network)
+%bcond_without	python3 	# build CPython 3.x ACME module
+
+Summary:	Certbot -  EFF's tool to obtain certs from Let's Encrypt
+Name:		certbot
+Version:	0.9.3
+Release:	0.1
+License:	APL 2.0
+Group:		Applications/Networking
+Source0:	https://github.com/certbot/certbot/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	23920103accbed8adc6e7e30b14581e2
+URL:		https://certbot.eff.org/
+BuildRequires:	python-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.713
+%if %{with doc}
+BuildRequires:	python-repoze.sphinx.autointerface
+BuildRequires:	sphinx-pdg
+%endif
+%if %{with tests}
+BuildRequires:	Zope-Interface
+BuildRequires:	python-mock
+BuildRequires:	python-six
+%endif
+%if %{with python3}
+BuildRequires:	python3-setuptools
+%endif
+Obsoletes:	letsencrypt
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Certbot is part of EFF's effort to encrypt the entire Internet. Secure
+communication over the Web relies on HTTPS, which requires the use of
+a digital certificate that lets browsers verify the identify of web
+servers (e.g., is that really google.com?). Web servers obtain their
+certificates from trusted third parties called certificate authorities
+(CAs). Certbot is an easy-to-use client that fetches a certificate
+from Let's Encrypt—an open certificate authority launched by the EFF,
+Mozilla, and others—and deploys it to a web server.
+
+%package -n python-acme
+Summary:	Python library for the ACME protocol
+License:	Apache v2.0
+Group:		Libraries/Python
+Obsoletes:	python-acme-doc < 0.9.3
+
+%description -n python-acme
+Python 2 library for use of the Automatic Certificate Management
+Environment protocol as defined by the IETF. It's used by the Let's
+Encrypt project.
+
+%package -n python3-acme
+Summary:	Python library for the ACME protocol
+Group:		Libraries/Python
+
+%description -n python3-acme
+Python 3 library for use of the Automatic Certificate Management
+Environment protocol as defined by the IETF. It's used by the Let's
+Encrypt project.
+
+%prep
+%setup -q
+
+%build
+%py_build %{?with_tests:test}
+
+%if %{with doc}
+cd docs
+%{__make} -j1 html
+rm -r _build/html/_sources
+%endif
+
+cd acme
+%py_build %{?with_tests:test}
+
+%if %{with python3}
+%py3_build %{?with_tests:test}
+%endif
+
+%if %{with doc}
+cd docs
+%{__make} -j1 html
+rm -rf _build/html/_sources
+%endif
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/log,/var/lib}/letsencrypt
+
+%py_install
+
+cd acme
+
+# python3 first, to have Python 2 /usr/bin/jws
+%if %{with python3}
+%py3_install
+%endif
+
+%py_install
+
+cd ..
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {CHANGES,README}.rst CONTRIBUTING.md docs/*.txt
+%if %{with doc}
+%doc docs/_build/html/*
+%else
+%doc docs/*.rst docs/api docs/man
+%endif
+%{_sysconfdir}/letsencrypt
+/var/log/letsencrypt
+/var/lib/letsencrypt
+%attr(755,root,root) %{_bindir}/certbot
+%{py_sitescriptdir}/certbot
+%{py_sitescriptdir}/certbot-%{version}*-py*.egg-info
+
+%files -n python-acme
+%defattr(644,root,root,755)
+%doc acme/README.rst
+%if %{with doc}
+%doc acme/docs/_build/html/*
+%else
+%doc acme/docs/*.rst acme/docs/api acme/docs/man
+%endif
+%attr(755,root,root) %{_bindir}/jws
+%{py_sitescriptdir}/acme
+%{py_sitescriptdir}/acme-%{version}*-py*.egg-info
+
+%files -n python3-acme
+%defattr(644,root,root,755)
+%doc acme/README.rst
+%if %{with doc}
+%doc acme/docs/_build/html/*
+%else
+%doc acme/docs/*.rst acme/docs/api acme/docs/man
+%endif
+%{py3_sitescriptdir}/acme
+%{py3_sitescriptdir}/acme-%{version}*-py*.egg-info
diff --git a/letsencrypt.spec b/letsencrypt.spec
deleted file mode 100644
index 6e1ac52..0000000
--- a/letsencrypt.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-# TODO: finish, test
-#
-# Conditional build:
-%bcond_without	doc		# don't build doc
-%bcond_without	tests	# do not perform "make test"
-
-Summary:	Let's Encrypt client
-Name:		letsencrypt
-Version:	0.1.0
-Release:	0.1
-License:	APL 2.0
-Group:		Applications/Networking
-Source0:	https://github.com/letsencrypt/letsencrypt/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	eb1208bcf5c33a6f030da9419718bf6b
-URL:		https://letsencrypt.org/
-BuildRequires:	python-modules
-BuildRequires:	python-setuptools
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.713
-%if %{with tests}
-BuildRequires:	Zope-Component
-BuildRequires:	Zope-Interface
-BuildRequires:	python-mock
-BuildRequires:	python-pythondialog
-%endif
-%if %{with doc}
-BuildRequires:	python-repoze.sphinx.autointerfac
-BuildRequires:	sphinx-pdg
-%endif
-Requires:	python-cryptography
-Requires:	python-modules
-Requires:	python-pyOpenSSL
-Requires:	python-pytz
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-The Let's Encrypt Client is a tool to automatically receive and
-install X.509 certificates to enable TLS on servers. The client will
-interoperate with the Let's Encrypt CA which will be issuing
-browser-trusted certificates for free.
-
-%prep
-%setup -q
-
-%build
-%if %{with python2}
-%py_build %{?with_tests:test}
-%endif
-
-%if %{with doc}
-cd docs
-%{__make} -j1 html
-rm -r _build/html/_sources
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%py_install
-%py_postclean
-
-# don't package tests
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/letsencrypt/tests
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/letsencrypt/plugins/*_test.py*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc {CHANGES,README}.rst CONTRIBUTING.md %{?with_doc:docs/_build/html/*}
-%attr(755,root,root) %{_bindir}/letsencrypt
-%attr(755,root,root) %{_bindir}/letsencrypt-renewer
-%{py_sitescriptdir}/letsencrypt
-%{py_sitescriptdir}/letsencrypt-%{version}*-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/certbot.git/commitdiff/8a8ce788ef9314e592573065acec4e2006651f03



More information about the pld-cvs-commit mailing list