diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 07:11:48 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 07:11:48 +0000 |
commit | b570ddb775b85bf9a7abaa5a385ddc061935b5db (patch) | |
tree | 14f06293a0133abd02316abc282eacc4447641c4 | |
parent | 445bf0002da4ac85eb8d1f9d14b033c40300f1de (diff) |
automatic import of python-certbot-dns-digitalocean
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-certbot-dns-digitalocean.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/certbot-dns-digitalocean-2.4.0.tar.gz diff --git a/python-certbot-dns-digitalocean.spec b/python-certbot-dns-digitalocean.spec new file mode 100644 index 0000000..aa2462b --- /dev/null +++ b/python-certbot-dns-digitalocean.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-certbot-dns-digitalocean +Version: 2.4.0 +Release: 1 +Summary: DigitalOcean DNS Authenticator plugin for Certbot +License: Apache License 2.0 +URL: https://github.com/certbot/certbot +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/bc/de6b1a6af4f8e93f4ba71d9877a385759642f26e132ecead6b4390ad7d1a/certbot-dns-digitalocean-2.4.0.tar.gz +BuildArch: noarch + +Requires: python3-digitalocean +Requires: python3-setuptools +Requires: python3-acme +Requires: python3-certbot +Requires: python3-Sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-pytest + +%description + + +%package -n python3-certbot-dns-digitalocean +Summary: DigitalOcean DNS Authenticator plugin for Certbot +Provides: python-certbot-dns-digitalocean +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-certbot-dns-digitalocean + + +%package help +Summary: Development documents and examples for certbot-dns-digitalocean +Provides: python3-certbot-dns-digitalocean-doc +%description help + + +%prep +%autosetup -n certbot-dns-digitalocean-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-dns-digitalocean -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 @@ -0,0 +1 @@ +25c3b83a1e05ea18d1c552bd0c8800e1 certbot-dns-digitalocean-2.4.0.tar.gz |