From 682f23f287b8ab58839cc1a3181c9b61fa818741 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 19:21:24 +0000 Subject: automatic import of python-salt --- .gitignore | 1 + python-salt.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 86 insertions(+) create mode 100644 python-salt.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bfada12 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/salt-3005.1.tar.gz diff --git a/python-salt.spec b/python-salt.spec new file mode 100644 index 0000000..a0d5224 --- /dev/null +++ b/python-salt.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-salt +Version: 3005.1 +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/a8/9f/a502ac87d4bed3b8b9d8ed933ad78033bbffd1d19e00131f10536bf2d55e/salt-3005.1.tar.gz +BuildArch: noarch + + +%description +Built on python, Salt uses simple and human-readable YAML combined with +event-driven automation to deploy and configure complex IT systems. In addition +to leveling-up `vRealize Automation SaltStack Config`_, Salt can be found under +the hood of products from Juniper, Cisco, Cloudflare, Nutanix, SUSE, and Tieto, +to name a few. + +%package -n python3-salt +Summary: Portable, distributed, remote execution and configuration management system +Provides: python-salt +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-salt +Built on python, Salt uses simple and human-readable YAML combined with +event-driven automation to deploy and configure complex IT systems. In addition +to leveling-up `vRealize Automation SaltStack Config`_, Salt can be found under +the hood of products from Juniper, Cisco, Cloudflare, Nutanix, SUSE, and Tieto, +to name a few. + +%package help +Summary: Development documents and examples for salt +Provides: python3-salt-doc +%description help +Built on python, Salt uses simple and human-readable YAML combined with +event-driven automation to deploy and configure complex IT systems. In addition +to leveling-up `vRealize Automation SaltStack Config`_, Salt can be found under +the hood of products from Juniper, Cisco, Cloudflare, Nutanix, SUSE, and Tieto, +to name a few. + +%prep +%autosetup -n salt-3005.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-salt -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 3005.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..1f4a24c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +266f784ff647e58361d208a26d4bee2f salt-3005.1.tar.gz -- cgit v1.2.3