summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:54:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:54:12 +0000
commit0c87809069037c44ede64226fb8319893d44c2fd (patch)
tree67ec0bee745a979a00cf97e49a29bcd0aa27dedc
parent98c79940e1cf20f275d9d8a35a4d018b34dcfd0c (diff)
automatic import of python-salt-ssh
-rw-r--r--.gitignore1
-rw-r--r--python-salt-ssh.spec90
-rw-r--r--sources1
3 files changed, 92 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..49d4e72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/salt-ssh-9000.tar.gz
diff --git a/python-salt-ssh.spec b/python-salt-ssh.spec
new file mode 100644
index 0000000..543199e
--- /dev/null
+++ b/python-salt-ssh.spec
@@ -0,0 +1,90 @@
+%global _empty_manifest_terminate_build 0
+Name: python-salt-ssh
+Version: 9000
+Release: 1
+Summary: Portable, distributed, remote execution and configuration management system
+License: Apache Software License 2.0
+URL: https://saltproject.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e6/30/b42d668e3297c804af580362c1a7822985047f905416cef52c84bc3ff14c/salt-ssh-9000.tar.gz
+BuildArch: noarch
+
+
+%description
+NOTICE: Salt-SSH PyPi Project Not Active
+ The Salt Project team will no longer publish releases to this Salt-SSH pypi project.
+ Please use the `Salt pypi project`_ to install and use Salt-SSH.
+
+
+.. _Salt pypi project: https://pypi.org/project/salt/
+
+
+%package -n python3-salt-ssh
+Summary: Portable, distributed, remote execution and configuration management system
+Provides: python-salt-ssh
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-salt-ssh
+NOTICE: Salt-SSH PyPi Project Not Active
+ The Salt Project team will no longer publish releases to this Salt-SSH pypi project.
+ Please use the `Salt pypi project`_ to install and use Salt-SSH.
+
+
+.. _Salt pypi project: https://pypi.org/project/salt/
+
+
+%package help
+Summary: Development documents and examples for salt-ssh
+Provides: python3-salt-ssh-doc
+%description help
+NOTICE: Salt-SSH PyPi Project Not Active
+ The Salt Project team will no longer publish releases to this Salt-SSH pypi project.
+ Please use the `Salt pypi project`_ to install and use Salt-SSH.
+
+
+.. _Salt pypi project: https://pypi.org/project/salt/
+
+
+%prep
+%autosetup -n salt-ssh-9000
+
+%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-salt-ssh -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 9000-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ac2fc08
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0b06db0f45c6e1c0f6b3168785f67177 salt-ssh-9000.tar.gz