summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 11:25:18 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 11:25:18 +0000
commit50552d39b4d0dd50a7bb128283f8122cbd736850 (patch)
treea6df404ef7182afa0d93e2097d0c890aaf45daf5
parent150a07edd7ef50cca3b2b6a7d390d276e31b16ce (diff)
automatic import of python-ansible-base
-rw-r--r--.gitignore1
-rw-r--r--python-ansible-base.spec105
-rw-r--r--sources1
3 files changed, 107 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..75a016d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ansible-base-2.10.17.tar.gz
diff --git a/python-ansible-base.spec b/python-ansible-base.spec
new file mode 100644
index 0000000..5f15979
--- /dev/null
+++ b/python-ansible-base.spec
@@ -0,0 +1,105 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ansible-base
+Version: 2.10.17
+Release: 1
+Summary: Radically simple IT automation
+License: GPLv3+
+URL: https://ansible.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/56/b18bf0167aa6e2ab195d0c2736992a3a9aeca1ddbefebee554226d211267/ansible-base-2.10.17.tar.gz
+BuildArch: noarch
+
+
+%description
+* Have a dead simple setup process and a minimal learning curve.
+* Manage machines very quickly and in parallel.
+* Avoid custom-agents and additional open ports, be agentless by
+ leveraging the existing SSH daemon.
+* Describe infrastructure in a language that is both machine and human
+ friendly.
+* Focus on security and easy auditability/review/rewriting of content.
+* Manage new remote machines instantly, without bootstrapping any
+ software.
+* Allow module development in any dynamic language, not just Python.
+* Be usable as non-root.
+* Be the easiest IT automation system to use, ever.
+
+%package -n python3-ansible-base
+Summary: Radically simple IT automation
+Provides: python-ansible-base
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ansible-base
+* Have a dead simple setup process and a minimal learning curve.
+* Manage machines very quickly and in parallel.
+* Avoid custom-agents and additional open ports, be agentless by
+ leveraging the existing SSH daemon.
+* Describe infrastructure in a language that is both machine and human
+ friendly.
+* Focus on security and easy auditability/review/rewriting of content.
+* Manage new remote machines instantly, without bootstrapping any
+ software.
+* Allow module development in any dynamic language, not just Python.
+* Be usable as non-root.
+* Be the easiest IT automation system to use, ever.
+
+%package help
+Summary: Development documents and examples for ansible-base
+Provides: python3-ansible-base-doc
+%description help
+* Have a dead simple setup process and a minimal learning curve.
+* Manage machines very quickly and in parallel.
+* Avoid custom-agents and additional open ports, be agentless by
+ leveraging the existing SSH daemon.
+* Describe infrastructure in a language that is both machine and human
+ friendly.
+* Focus on security and easy auditability/review/rewriting of content.
+* Manage new remote machines instantly, without bootstrapping any
+ software.
+* Allow module development in any dynamic language, not just Python.
+* Be usable as non-root.
+* Be the easiest IT automation system to use, ever.
+
+%prep
+%autosetup -n ansible-base-2.10.17
+
+%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-ansible-base -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.10.17-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e52e8b5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0351a93896d15d1c2f539357be6ca7d0 ansible-base-2.10.17.tar.gz