summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:10:18 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:10:18 +0000
commitc87317874ae4acb4cfcdc7e16e895bafebc5be2c (patch)
tree7fa9a9b1bbe577921a503ece05e4f10fe1bac2e1
parentce036b29c41d6cec6ee0a0b55962f55393fd1daa (diff)
automatic import of python-certbot
-rw-r--r--.gitignore1
-rw-r--r--python-certbot.spec137
-rw-r--r--sources1
3 files changed, 139 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..074d2b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/certbot-2.4.0.tar.gz
diff --git a/python-certbot.spec b/python-certbot.spec
new file mode 100644
index 0000000..0320a56
--- /dev/null
+++ b/python-certbot.spec
@@ -0,0 +1,137 @@
+%global _empty_manifest_terminate_build 0
+Name: python-certbot
+Version: 2.4.0
+Release: 1
+Summary: ACME client
+License: Apache License 2.0
+URL: https://github.com/letsencrypt/letsencrypt
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/96/41/dffce7ba281a21edd231ad7e7c7cb363c8aecb53ca4b8fee7e7ec24ea1f2/certbot-2.4.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-acme
+Requires: python3-ConfigArgParse
+Requires: python3-configobj
+Requires: python3-cryptography
+Requires: python3-distro
+Requires: python3-josepy
+Requires: python3-parsedatetime
+Requires: python3-pyrfc3339
+Requires: python3-pytz
+Requires: python3-setuptools
+Requires: python3-pywin32
+Requires: python3-azure-devops
+Requires: python3-ipdb
+Requires: python3-poetry
+Requires: python3-poetry-plugin-export
+Requires: python3-twine
+Requires: python3-Sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-coverage
+Requires: python3-mypy
+Requires: python3-pip
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-xdist
+Requires: python3-setuptools
+Requires: python3-tox
+Requires: python3-types-pyOpenSSL
+Requires: python3-types-pyRFC3339
+Requires: python3-types-pytz
+Requires: python3-types-requests
+Requires: python3-types-setuptools
+Requires: python3-types-six
+Requires: python3-typing-extensions
+Requires: python3-wheel
+Requires: python3-pylint
+Requires: python3-azure-devops
+Requires: python3-ipdb
+Requires: python3-poetry
+Requires: python3-poetry-plugin-export
+Requires: python3-twine
+Requires: python3-Sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-coverage
+Requires: python3-mypy
+Requires: python3-pip
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-xdist
+Requires: python3-setuptools
+Requires: python3-tox
+Requires: python3-types-pyOpenSSL
+Requires: python3-types-pyRFC3339
+Requires: python3-types-pytz
+Requires: python3-types-requests
+Requires: python3-types-setuptools
+Requires: python3-types-six
+Requires: python3-typing-extensions
+Requires: python3-wheel
+Requires: python3-pylint
+
+%description
+If you'd like to contribute to this project please read `Developer Guide
+<https://certbot.eff.org/docs/contributing.html>`_.
+This project is governed by `EFF's Public Projects Code of Conduct <https://www.eff.org/pages/eppcode>`_.
+
+%package -n python3-certbot
+Summary: ACME client
+Provides: python-certbot
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-certbot
+If you'd like to contribute to this project please read `Developer Guide
+<https://certbot.eff.org/docs/contributing.html>`_.
+This project is governed by `EFF's Public Projects Code of Conduct <https://www.eff.org/pages/eppcode>`_.
+
+%package help
+Summary: Development documents and examples for certbot
+Provides: python3-certbot-doc
+%description help
+If you'd like to contribute to this project please read `Developer Guide
+<https://certbot.eff.org/docs/contributing.html>`_.
+This project is governed by `EFF's Public Projects Code of Conduct <https://www.eff.org/pages/eppcode>`_.
+
+%prep
+%autosetup -n certbot-2.4.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-certbot -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.4.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ebc796d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9007aeafcf437416ba701aaaf587f85f certbot-2.4.0.tar.gz