summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 03:25:11 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 03:25:11 +0000
commitf964738a489f92af1afdd70d36475d3746bf55f4 (patch)
treefb4dfb749bcecf22d36a680bae5081776e8f41dc
parent2ddb735f7ceadf1e03b2346ed0b70cfe212d84a5 (diff)
automatic import of python3-certbot-apacheopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-certbot-apache.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2791ae3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/certbot-apache-2.3.0.tar.gz
diff --git a/python-certbot-apache.spec b/python-certbot-apache.spec
new file mode 100644
index 0000000..b091680
--- /dev/null
+++ b/python-certbot-apache.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-certbot-apache
+Version: 2.3.0
+Release: 1
+Summary: Apache plugin for Certbot
+License: Apache License 2.0
+URL: https://github.com/letsencrypt/letsencrypt
+Source0: https://files.pythonhosted.org/packages/9d/b6/9d210c3d834dfdb446094193853c0c76af36cc39fc260f3207c15b6cf3c4/certbot-apache-2.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-acme
+Requires: python3-certbot
+Requires: python3-augeas
+Requires: python3-setuptools
+Requires: python3-apacheconfig
+Requires: python3-pytest
+
+%description
+
+
+%package -n python3-certbot-apache
+Summary: Apache plugin for Certbot
+Provides: python-certbot-apache
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-certbot-apache
+
+
+%package help
+Summary: Development documents and examples for certbot-apache
+Provides: python3-certbot-apache-doc
+%description help
+
+
+%prep
+%autosetup -n certbot-apache-2.3.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-apache -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b04a698
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+57214d0d6a30336a6174832a000b61a1 certbot-apache-2.3.0.tar.gz