summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 10:15:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 10:15:17 +0000
commit1c022d5e7134f093b56d57dca19c4c6fe0f10417 (patch)
treee1bb048a02e3a3f6f1f630a42da521cafbd9affe
parente0981aa2e82334d6bed1726cebd3884f71c26a7c (diff)
automatic import of python-sshpubkeys
-rw-r--r--.gitignore1
-rw-r--r--python-sshpubkeys.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5d50941 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sshpubkeys-3.3.1.tar.gz
diff --git a/python-sshpubkeys.spec b/python-sshpubkeys.spec
new file mode 100644
index 0000000..4a89f5a
--- /dev/null
+++ b/python-sshpubkeys.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sshpubkeys
+Version: 3.3.1
+Release: 1
+Summary: SSH public key parser
+License: BSD
+URL: https://github.com/ojarva/python-sshpubkeys
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a3/b9/e5b76b4089007dcbe9a7e71b1976d3c0f27e7110a95a13daf9620856c220/sshpubkeys-3.3.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-cryptography
+Requires: python3-ecdsa
+Requires: python3-twine
+Requires: python3-wheel
+Requires: python3-yapf
+
+%description
+
+
+%package -n python3-sshpubkeys
+Summary: SSH public key parser
+Provides: python-sshpubkeys
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sshpubkeys
+
+
+%package help
+Summary: Development documents and examples for sshpubkeys
+Provides: python3-sshpubkeys-doc
+%description help
+
+
+%prep
+%autosetup -n sshpubkeys-3.3.1
+
+%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-sshpubkeys -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..16e5eb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dc3578d919f31921e5acf22b1a052c52 sshpubkeys-3.3.1.tar.gz