summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-21 09:34:16 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-21 09:34:16 +0000
commit06d9345d9cead51d3be50aabc3731150d757960c (patch)
tree3ff45ecbf4212db875d03be09205c154a4c4ef49
parent4758b5b6addcfae8699a4dcb0b49e6d0503d9b42 (diff)
automatic import of ansible
-rw-r--r--.gitignore1
-rw-r--r--ansible.spec59
-rw-r--r--sources1
3 files changed, 61 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3dd88de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ansible-9.9.0.tar.gz
diff --git a/ansible.spec b/ansible.spec
new file mode 100644
index 0000000..6a0ebf7
--- /dev/null
+++ b/ansible.spec
@@ -0,0 +1,59 @@
+Name: ansible
+Summary: Radically simple IT automation
+Version: 9.9.0
+Release: 1
+
+License: GPLv3+
+Source0: https://files.pythonhosted.org/packages/e9/49/50f294cc11269e8dda662554962e578284abd3f685f80fdd4b4d2bcdfb86/ansible-9.9.0.tar.gz
+
+# Source1: ansible.attr
+# Source2: ansible-generator
+# Source3: macros.ansible
+
+Url: http://ansible.com
+Conflicts: ansible >= 10
+BuildArch: noarch
+
+%description
+Ansible is a radically simple model-driven configuration management,
+multi-node deployment, and remote task execution system. Ansible works
+over SSH and does not require any software or daemons to be installed
+on remote nodes. Extension modules can be written in any language and
+are transferred to managed machines automatically.
+
+# Base build requires
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pbr
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+# General build requires
+BuildRequires: python3-ansible-core = 2.16.10
+# General requires
+Requires: python3-ansible-core = 2.16.10
+
+%prep
+%autosetup -n ansible-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+#install -Dpm0644 -t %{buildroot}%{_fileattrsdir} ansible.attr
+#install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} macros.ansible
+#install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} ansible-generator
+
+%files
+%license COPYING
+%doc README.rst PKG-INFO CHANGELOG-v9.rst
+
+%{_bindir}/ansible-community
+%{python3_sitelib}/ansible_collections/
+%{python3_sitelib}/ansible-9.9.0-py3.11.egg-info/
+
+
+%changelog
+* Mon Aug 19 2024 OpenStack_SIG <openstack@openeuler.org> - 2.16.10-1
+- Init package ansible-core of version 2.16.10
diff --git a/sources b/sources
new file mode 100644
index 0000000..20c4a9a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c30d7d63d3a8ca11f0070fdff5f07d51 ansible-9.9.0.tar.gz