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
0fa1d4e
Release: 2%{?dist}
ef39e27
Summary: SSH-based configuration management, deployment, and task execution system
3cc7e56
Version: 1.2.1
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
4f25327
BuildRequires: python2-devel
4f25327
4f25327
Requires: PyYAML
4f25327
Requires: python-paramiko
4f25327
Requires: python-jinja2
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
c23d872
%package fireball
c23d872
Summary: Ansible fireball transport support
c23d872
Group: Development/Libraries
c23d872
Requires: %{name} = %{version}-%{release}
c23d872
Requires: python-keyczar
c23d872
Requires: python-zmq
c23d872
c23d872
%description fireball
c23d872
c23d872
Ansible can optionally use a 0MQ based transport mechanism, which is
c23d872
considerably faster than the standard ssh mechanism when there are
c23d872
multiple actions, but requires additional supporting packages.
c23d872
c23d872
%package node-fireball
c23d872
Summary: Ansible fireball transport - node end support
c23d872
Group: Development/Libraries
c23d872
Requires: python-keyczar
c23d872
Requires: python-zmq
c23d872
c23d872
%description node-fireball
c23d872
c23d872
Ansible can optionally use a 0MQ based transport mechanism, which has
c23d872
additional requirements for nodes to use.  This package includes those
c23d872
requirements.
4e9234e
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
c23d872
%files fireball
6301504
%{_datadir}/ansible/utilities/fireball
c23d872
%doc %{_mandir}/man3/ansible.fireball.*
c23d872
c23d872
%files node-fireball
c23d872
%doc README.md PKG-INFO COPYING
c23d872
4f25327
%changelog
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
7109b73
* Thu Aug 6 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