|
|
467cba4 |
%if 0%{?rhel} == 5
|
|
|
467cba4 |
%define __python /usr/bin/python26
|
|
|
467cba4 |
%endif
|
|
|
467cba4 |
|
|
|
4e9234e |
%if 0%{?rhel} <= 5
|
|
|
4e9234e |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
4e9234e |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
4e9234e |
%endif
|
|
|
4e9234e |
|
|
|
4f25327 |
Name: ansible
|
|
|
ef39e27 |
Summary: SSH-based configuration management, deployment, and task execution system
|
|
|
c10ee8c |
Version: 1.4
|
|
|
467cba4 |
Release: 1%{?dist}
|
|
|
4f25327 |
|
|
|
4f25327 |
Group: Development/Libraries
|
|
|
4e9234e |
License: GPLv3
|
|
|
6301504 |
Source0: http://ansibleworks.com/releases/%{name}-%{version}.tar.gz
|
|
|
6301504 |
Url: http://ansibleworks.com
|
|
|
4f25327 |
|
|
|
4f25327 |
BuildArch: noarch
|
|
|
467cba4 |
%if 0%{?rhel} && 0%{?rhel} <= 5
|
|
|
467cba4 |
BuildRequires: python26-devel
|
|
|
467cba4 |
|
|
|
467cba4 |
Requires: python26-PyYAML
|
|
|
467cba4 |
Requires: python26-paramiko
|
|
|
467cba4 |
Requires: python26-jinja2
|
|
|
467cba4 |
Requires: python26-keyczar
|
|
|
467cba4 |
%else
|
|
|
4f25327 |
BuildRequires: python2-devel
|
|
|
4f25327 |
|
|
|
4f25327 |
Requires: PyYAML
|
|
|
4f25327 |
Requires: python-paramiko
|
|
|
4f25327 |
Requires: python-jinja2
|
|
|
1869e0c |
Requires: python-keyczar
|
|
|
467cba4 |
%endif
|
|
|
1869e0c |
|
|
|
1869e0c |
#
|
|
|
1869e0c |
# This is needed to update the old ansible-firewall package that is no
|
|
|
1869e0c |
# longer needed. Note that you should also remove ansible-node-firewall manually
|
|
|
1869e0c |
# Where you still have it installed.
|
|
|
1869e0c |
#
|
|
|
1869e0c |
Provides: ansible-fireball = %{version}-%{release}
|
|
|
1869e0c |
Obsoletes: ansible-fireball < 1.2.4
|
|
|
4f25327 |
|
|
|
4f25327 |
%description
|
|
|
4e9234e |
|
|
|
4f25327 |
Ansible is a radically simple model-driven configuration management,
|
|
|
4f25327 |
multi-node deployment, and remote task execution system. Ansible works
|
|
|
4f25327 |
over SSH and does not require any software or daemons to be installed
|
|
|
4f25327 |
on remote nodes. Extension modules can be written in any language and
|
|
|
4f25327 |
are transferred to managed machines automatically.
|
|
|
4f25327 |
|
|
|
4f25327 |
%prep
|
|
|
4f25327 |
%setup -q
|
|
|
4f25327 |
|
|
|
4f25327 |
%build
|
|
|
4f25327 |
%{__python} setup.py build
|
|
|
4f25327 |
|
|
|
4f25327 |
%install
|
|
|
4f25327 |
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT
|
|
|
4f25327 |
mkdir -p $RPM_BUILD_ROOT/etc/ansible/
|
|
|
4f25327 |
cp examples/hosts $RPM_BUILD_ROOT/etc/ansible/
|
|
|
ef39e27 |
cp examples/ansible.cfg $RPM_BUILD_ROOT/etc/ansible/
|
|
|
7109b73 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man1,man3}/
|
|
|
4f25327 |
cp -v docs/man/man1/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
|
|
|
7109b73 |
cp -v docs/man/man3/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
|
|
|
4f25327 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible
|
|
|
6301504 |
cp -va library/* $RPM_BUILD_ROOT/%{_datadir}/ansible/
|
|
|
4f25327 |
|
|
|
4e9234e |
%clean
|
|
|
4e9234e |
rm -rf $RPM_BUILD_ROOT
|
|
|
4e9234e |
|
|
|
4f25327 |
%files
|
|
|
4e9234e |
%defattr(-,root,root)
|
|
|
4f25327 |
%{python_sitelib}/ansible*
|
|
|
4f25327 |
%{_bindir}/ansible*
|
|
|
6301504 |
%{_datadir}/ansible
|
|
|
6301504 |
%exclude %{_datadir}/ansible/utilities/fireball
|
|
|
6301504 |
%exclude %{_mandir}/man3/ansible.fireball.*
|
|
|
4f25327 |
%config(noreplace) %{_sysconfdir}/ansible
|
|
|
4f25327 |
%doc README.md PKG-INFO COPYING
|
|
|
4f25327 |
%doc %{_mandir}/man1/ansible*
|
|
|
6301504 |
%doc %{_mandir}/man3/ansible*
|
|
|
ef39e27 |
%doc examples/playbooks
|
|
|
4e9234e |
|
|
|
4f25327 |
%changelog
|
|
|
c10ee8c |
* Thu Nov 21 2013 Kevin Fenzi <kevin@scrye.com> 1.4-1
|
|
|
c10ee8c |
- Update to 1.4
|
|
|
c10ee8c |
|
|
|
9e05299 |
* Tue Oct 29 2013 Kevin Fenzi <kevin@scrye.com> 1.3.4-1
|
|
|
9e05299 |
- Update to 1.3.4
|
|
|
9e05299 |
|
|
|
8f16660 |
* Tue Oct 08 2013 Kevin Fenzi <kevin@scrye.com> 1.3.3-1
|
|
|
8f16660 |
- Update to 1.3.3
|
|
|
8f16660 |
|
|
|
efb5883 |
* Thu Sep 19 2013 Kevin Fenzi <kevin@scrye.com> 1.3.2-1
|
|
|
efb5883 |
- Update to 1.3.2 with minor upstream fixes
|
|
|
efb5883 |
|
|
|
467cba4 |
* Mon Sep 16 2013 Kevin Fenzi <kevin@scrye.com> 1.3.1-1
|
|
|
467cba4 |
- Update to 1.3.1
|
|
|
467cba4 |
|
|
|
467cba4 |
* Sat Sep 14 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-2
|
|
|
467cba4 |
- Merge upstream spec changes to support EPEL5
|
|
|
467cba4 |
- (Still needs python26-keyczar and deps added to EPEL)
|
|
|
467cba4 |
|
|
|
1869e0c |
* Thu Sep 12 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-1
|
|
|
1869e0c |
- Update to 1.3.0
|
|
|
1869e0c |
- Drop node-fireball subpackage entirely.
|
|
|
1869e0c |
- Obsolete/provide fireball subpackage.
|
|
|
1869e0c |
- Add Requires python-keyczar on main package for accelerated mode.
|
|
|
1869e0c |
|
|
|
8aaea91 |
* Wed Aug 21 2013 Kevin Fenzi <kevin@scrye.com> 1.2.3-2
|
|
|
8aaea91 |
- Update to 1.2.3
|
|
|
8aaea91 |
- Fixes CVE-2013-4260 and CVE-2013-4259
|
|
|
8aaea91 |
|
|
|
93c711c |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
|
|
|
93c711c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
93c711c |
|
|
|
953ca27 |
* Sat Jul 06 2013 Kevin Fenzi <kevin@scrye.com> 1.2.2-1
|
|
|
953ca27 |
- Update to 1.2.2 with minor fixes
|
|
|
953ca27 |
|
|
|
0fa1d4e |
* Fri Jul 05 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-2
|
|
|
0fa1d4e |
- Update to newer upstream re-release to fix a syntax error
|
|
|
0fa1d4e |
|
|
|
3cc7e56 |
* Thu Jul 04 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-1
|
|
|
3cc7e56 |
- Update to 1.2.1
|
|
|
3cc7e56 |
- Fixes CVE-2013-2233
|
|
|
3cc7e56 |
|
|
|
6301504 |
* Mon Jun 10 2013 Kevin Fenzi <kevin@scrye.com> 1.2-1
|
|
|
6301504 |
- Update to 1.2
|
|
|
6301504 |
|
|
|
c2a8c32 |
* Tue Apr 02 2013 Kevin Fenzi <kevin@scrye.com> 1.1-1
|
|
|
c2a8c32 |
- Update to 1.1
|
|
|
c2a8c32 |
|
|
|
db87ecb |
* Mon Mar 18 2013 Kevin Fenzi <kevin@scrye.com> 1.0-1
|
|
|
db87ecb |
- Update to 1.0
|
|
|
db87ecb |
|
|
|
499398d |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
499398d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
499398d |
|
|
|
c23d872 |
* Fri Nov 30 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.9-0
|
|
|
c23d872 |
- Release 0.9
|
|
|
c23d872 |
|
|
|
7109b73 |
* Fri Oct 19 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.8-0
|
|
|
7109b73 |
- Release of 0.8
|
|
|
1c6284a |
|
|
|
953ca27 |
* Thu Aug 9 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.7-0
|
|
|
ef39e27 |
- Release of 0.7
|
|
|
ef39e27 |
|
|
|
7109b73 |
* Mon Aug 6 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.6-0
|
|
|
4e9234e |
- Release of 0.6
|
|
|
24b3dae |
|
|
|
7109b73 |
* Wed Jul 4 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.5-0
|
|
|
24b3dae |
- Release of 0.5
|
|
|
fc9a76b |
|
|
|
7109b73 |
* Wed May 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.4-0
|
|
|
550a48d |
- Release of 0.4
|
|
|
550a48d |
|
|
|
4f25327 |
* Mon Apr 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.3-1
|
|
|
4f25327 |
- Release of 0.3
|
|
|
4f25327 |
|
|
|
4f25327 |
* Tue Apr 3 2012 John Eckersberg <jeckersb@redhat.com> - 0.0.2-1
|
|
|
4f25327 |
- Release of 0.0.2
|
|
|
4f25327 |
|
|
|
4f25327 |
* Sat Mar 10 2012 <tbielawa@redhat.com> - 0.0.1-1
|
|
|
4f25327 |
- Release of 0.0.1
|