diff --git a/README.md b/README.md index ee6fbb4..0290b08 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ansible +A radically simple IT automation system. + diff --git a/ansible.spec b/ansible.spec new file mode 100644 index 0000000..3d13caa --- /dev/null +++ b/ansible.spec @@ -0,0 +1,55 @@ +Name: ansible +Version: 2.9.4 +Release: 1mamba +Summary: A radically simple IT automation system +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.ansible.com/ +Source: https://pypi.debian.net/ansible/ansible-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +Requires: PyYAML +Requires: python-paramiko +Requires: python-Jinja2 +Provides: python-ansible +Obsoletes: python-ansible +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%{python_sitearch}/ansible_test/_data/injector/ansible-inventory +%doc COPYING + +%changelog +* Sun Feb 09 2020 Silvan Calarco 2.9.4-1mamba +- update to 2.9.4 + +* Thu May 03 2018 Silvan Calarco 2.5.2-1mamba +- package created using the webbuild interface