Kevin Fenzi 467cba
%if 0%{?rhel} == 5
Kevin Fenzi 467cba
%define __python /usr/bin/python26
Kevin Fenzi 467cba
%endif
Kevin Fenzi 467cba
Tim Bielawa 4e9234
%if 0%{?rhel} <= 5
Tim Bielawa 4e9234
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Tim Bielawa 4e9234
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Tim Bielawa 4e9234
%endif
Tim Bielawa 4e9234
Tim Bielawa 4f2532
Name: ansible
Tim Bielawa ef39e2
Summary: SSH-based configuration management, deployment, and task execution system
Kevin Fenzi 654362
Version: 1.6.3
Kevin Fenzi 654362
Release: 1%{?dist}
Tim Bielawa 4f2532
Tim Bielawa 4f2532
Group: Development/Libraries
Tim Bielawa 4e9234
License: GPLv3
Kevin Fenzi 13553c
Source0: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
Toshio Kuratomi 2c0e80
# Patch to make ansible-vault use the forward-compat python-crypto2.6 package
Toshio Kuratomi 2c0e80
# Upstreamed here: https://github.com/ansible/ansible/pull/6498
Toshio Kuratomi 2c0e80
Patch0: 0001-Use-setuptools-to-get-a-recent-enough-version-of-pyt.patch
Kevin Fenzi 13553c
Url: http://ansible.com
Tim Bielawa 4f2532
Tim Bielawa 4f2532
BuildArch: noarch
Kevin Fenzi 467cba
%if 0%{?rhel} && 0%{?rhel} <= 5
Kevin Fenzi 467cba
BuildRequires: python26-devel
Kevin Fenzi 467cba
Kevin Fenzi 467cba
Requires: python26-PyYAML
Kevin Fenzi 467cba
Requires: python26-paramiko
Kevin Fenzi 467cba
Requires: python26-jinja2
Kevin Fenzi 467cba
Requires: python26-keyczar
Kevin Fenzi cb37d1
Requires: python26-httplib2
Kevin Fenzi 467cba
%else
Tim Bielawa 4f2532
BuildRequires: python2-devel
Toshio Kuratomi 03e3ed
BuildRequires: python-setuptools
Tim Bielawa 4f2532
Tim Bielawa 4f2532
Requires: PyYAML
Tim Bielawa 4f2532
Requires: python-paramiko
Tim Bielawa 4f2532
Requires: python-jinja2
Kevin Fenzi 1869e0
Requires: python-keyczar
Kevin Fenzi cb37d1
Requires: python-httplib2
Toshio Kuratomi 03e3ed
Requires: python-setuptools
Kevin Fenzi 467cba
%endif
Kevin Fenzi 1869e0
Toshio Kuratomi 2c0e80
%if 0%{?rhel} == 6
Toshio Kuratomi 2c0e80
# RHEL 6 needs a newer version of the pycrypto library for the ansible-vault
Toshio Kuratomi 2c0e80
# command.  Note: If other pieces of ansible also grow to need pycrypto you may
Toshio Kuratomi 2c0e80
# need to add: Requires: python-crypto or patch the other pieces of ansible to
Toshio Kuratomi 2c0e80
# make use of this forward compat package (see the patch for ansible-vault
Toshio Kuratomi 2c0e80
# above to see what needs to be done.)
Toshio Kuratomi 2c0e80
Requires: python-crypto2.6
Toshio Kuratomi 2c0e80
%endif
Toshio Kuratomi 2c0e80
Kevin Fenzi 1869e0
# 
Kevin Fenzi 1869e0
# This is needed to update the old ansible-firewall package that is no 
Kevin Fenzi 1869e0
# longer needed. Note that you should also remove ansible-node-firewall manually
Kevin Fenzi 1869e0
# Where you still have it installed. 
Kevin Fenzi 1869e0
#
Kevin Fenzi 1869e0
Provides: ansible-fireball = %{version}-%{release}
Kevin Fenzi 1869e0
Obsoletes: ansible-fireball < 1.2.4
Tim Bielawa 4f2532
Tim Bielawa 4f2532
%description
Tim Bielawa 4e9234
Tim Bielawa 4f2532
Ansible is a radically simple model-driven configuration management,
Tim Bielawa 4f2532
multi-node deployment, and remote task execution system. Ansible works
Tim Bielawa 4f2532
over SSH and does not require any software or daemons to be installed
Tim Bielawa 4f2532
on remote nodes. Extension modules can be written in any language and
Tim Bielawa 4f2532
are transferred to managed machines automatically.
Tim Bielawa 4f2532
Tim Bielawa 4f2532
%prep
Tim Bielawa 4f2532
%setup -q
Tim Bielawa 4f2532
Toshio Kuratomi 2c0e80
%if 0%{?rhel} == 6
Toshio Kuratomi 2c0e80
# Patch to make ansible-vault use a newer pycrypto forward-compat package
Toshio Kuratomi 2c0e80
%patch0 -p1
Toshio Kuratomi 2c0e80
%endif
Toshio Kuratomi 2c0e80
Tim Bielawa 4f2532
%build
Tim Bielawa 4f2532
%{__python} setup.py build
Tim Bielawa 4f2532
Tim Bielawa 4f2532
%install
Toshio Kuratomi 2c0e80
%{__python} setup.py install --root=$RPM_BUILD_ROOT
Tim Bielawa 4f2532
mkdir -p $RPM_BUILD_ROOT/etc/ansible/
Tim Bielawa 4f2532
cp examples/hosts $RPM_BUILD_ROOT/etc/ansible/
Tim Bielawa ef39e2
cp examples/ansible.cfg $RPM_BUILD_ROOT/etc/ansible/
Kevin Fenzi f9dbd1
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
Tim Bielawa 4f2532
cp -v docs/man/man1/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
Tim Bielawa 4f2532
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible
Kevin Fenzi 630150
cp -va library/* $RPM_BUILD_ROOT/%{_datadir}/ansible/
Tim Bielawa 4f2532
Tim Bielawa 4e9234
%clean
Tim Bielawa 4e9234
rm -rf $RPM_BUILD_ROOT
Tim Bielawa 4e9234
Tim Bielawa 4f2532
%files
Tim Bielawa 4e9234
%defattr(-,root,root)
Tim Bielawa 4f2532
%{python_sitelib}/ansible*
Tim Bielawa 4f2532
%{_bindir}/ansible*
Kevin Fenzi 630150
%{_datadir}/ansible
Tim Bielawa 4f2532
%config(noreplace) %{_sysconfdir}/ansible
Tim Bielawa 4f2532
%doc README.md PKG-INFO COPYING
Tim Bielawa 4f2532
%doc %{_mandir}/man1/ansible*
Tim Bielawa ef39e2
%doc examples/playbooks
Tim Bielawa 4e9234
Tim Bielawa 4f2532
%changelog
Kevin Fenzi 654362
* Mon Jun 09 2014 Kevin Fenzi <kevin@scrye.com> 1.6.3-1
Kevin Fenzi 654362
- Update to 1.6.3
Kevin Fenzi 654362
Dennis Gilmore 7e2a19
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
Dennis Gilmore 7e2a19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore 7e2a19
Kevin Fenzi ab647b
* Fri May 23 2014 Kevin Fenzi <kevin@scrye.com> 1.6.2-1
Kevin Fenzi ab647b
- Update to 1.6.2 release
Kevin Fenzi ab647b
Toshio Kuratomi f80af2
* Wed May  7 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.6.1-1
Toshio Kuratomi f80af2
- Bugfix 1.6.1 release
Toshio Kuratomi f80af2
Toshio Kuratomi 03e3ed
* Mon May  5 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.6-1
Toshio Kuratomi 03e3ed
- Update to 1.6
Toshio Kuratomi 03e3ed
- Drop accelerate fix, merged upstream
Toshio Kuratomi 03e3ed
- Refresh RHEL6 pycrypto patch.  It was half-merged upstream.
Toshio Kuratomi 03e3ed
Kevin Fenzi be3873
* Fri Apr 18 2014 Kevin Fenzi <kevin@scrye.com> 1.5.5-1
Kevin Fenzi be3873
- Update to 1.5.5
Kevin Fenzi be3873
Toshio Kuratomi 9ea6a6
* Mon Apr  7 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.4-2
Toshio Kuratomi 9ea6a6
- Fix setuptools requirement to apply to rhel=6, not rhel<6
Toshio Kuratomi 9ea6a6
Toshio Kuratomi 6e2c5c
* Wed Apr  2 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 1.5.4-1
Toshio Kuratomi 6e2c5c
- Update to 1.5.4
Toshio Kuratomi f8b929
- Add upstream patch to fix accelerator mode
Toshio Kuratomi f8b929
- Merge fedora and el6 spec files
Toshio Kuratomi 19c1aa
Kevin Fenzi 8dc5ea
* Fri Mar 14 2014 Kevin Fenzi <kevin@scrye.com> 1.5.3-2
Kevin Fenzi 8dc5ea
- Update to NEW 1.5.3 upstream release.
Toshio Kuratomi 6e2c5c
- Add missing dependency on python-setuptools (el6 build)
Kevin Fenzi 8dc5ea
Kevin Fenzi 585d68
* Thu Mar 13 2014 Kevin Fenzi <kevin@scrye.com> 1.5.3-1
Kevin Fenzi 585d68
- Update to 1.5.3
Toshio Kuratomi 6e2c5c
- Fix ansible-vault for newer python-crypto dependency (el6 build)
Kevin Fenzi 585d68
Kevin Fenzi 1ad558
* Tue Mar 11 2014 Kevin Fenzi <kevin@scrye.com> 1.5.2-2
Kevin Fenzi 1ad558
- Update to redone 1.5.2 release
Kevin Fenzi 1ad558
Kevin Fenzi cfa0fe
* Tue Mar 11 2014 Kevin Fenzi <kevin@scrye.com> 1.5.2-1
Kevin Fenzi cfa0fe
- Update to 1.5.2
Kevin Fenzi cfa0fe
Kevin Fenzi 6193d7
* Mon Mar 10 2014 Kevin Fenzi <kevin@scrye.com> 1.5.1-1
Kevin Fenzi 6193d7
- Update to 1.5.1
Kevin Fenzi 6193d7
Kevin Fenzi f9dbd1
* Fri Feb 28 2014 Kevin Fenzi <kevin@scrye.com> 1.5-1
Kevin Fenzi f9dbd1
- Update to 1.5
Kevin Fenzi f9dbd1
Kevin Fenzi 13553c
* Wed Feb 12 2014 Kevin Fenzi <kevin@scrye.com> 1.4.5-1
Kevin Fenzi 13553c
- Update to 1.4.5
Kevin Fenzi 13553c
Kevin Fenzi cb37d1
* Sat Dec 28 2013 Kevin Fenzi <kevin@scrye.com> 1.4.3-1
Kevin Fenzi cb37d1
- Update to 1.4.3 with ansible galaxy commands.
Kevin Fenzi cb37d1
- Adds python-httplib2 to requires
Kevin Fenzi cb37d1
Kevin Fenzi 6a1b38
* Wed Nov 27 2013 Kevin Fenzi <kevin@scrye.com> 1.4.1-1
Kevin Fenzi 6a1b38
- Update to upstream 1.4.1 bugfix release
Kevin Fenzi 6a1b38
Kevin Fenzi c10ee8
* Thu Nov 21 2013 Kevin Fenzi <kevin@scrye.com> 1.4-1
Kevin Fenzi c10ee8
- Update to 1.4
Kevin Fenzi c10ee8
Kevin Fenzi 9e0529
* Tue Oct 29 2013 Kevin Fenzi <kevin@scrye.com> 1.3.4-1
Kevin Fenzi 9e0529
- Update to 1.3.4
Kevin Fenzi 9e0529
Kevin Fenzi 8f1666
* Tue Oct 08 2013 Kevin Fenzi <kevin@scrye.com> 1.3.3-1
Kevin Fenzi 8f1666
- Update to 1.3.3
Kevin Fenzi 8f1666
Kevin Fenzi efb588
* Thu Sep 19 2013 Kevin Fenzi <kevin@scrye.com> 1.3.2-1
Kevin Fenzi efb588
- Update to 1.3.2 with minor upstream fixes
Kevin Fenzi efb588
Kevin Fenzi 467cba
* Mon Sep 16 2013 Kevin Fenzi <kevin@scrye.com> 1.3.1-1
Kevin Fenzi 467cba
- Update to 1.3.1
Kevin Fenzi 467cba
Kevin Fenzi 467cba
* Sat Sep 14 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-2
Kevin Fenzi 467cba
- Merge upstream spec changes to support EPEL5
Kevin Fenzi 467cba
- (Still needs python26-keyczar and deps added to EPEL)
Kevin Fenzi 467cba
Kevin Fenzi 1869e0
* Thu Sep 12 2013 Kevin Fenzi <kevin@scrye.com> 1.3.0-1
Kevin Fenzi 1869e0
- Update to 1.3.0
Kevin Fenzi 1869e0
- Drop node-fireball subpackage entirely.
Kevin Fenzi 1869e0
- Obsolete/provide fireball subpackage. 
Kevin Fenzi 1869e0
- Add Requires python-keyczar on main package for accelerated mode.
Kevin Fenzi 1869e0
Kevin Fenzi 8aaea9
* Wed Aug 21 2013 Kevin Fenzi <kevin@scrye.com> 1.2.3-2
Kevin Fenzi 8aaea9
- Update to 1.2.3
Kevin Fenzi 8aaea9
- Fixes CVE-2013-4260 and CVE-2013-4259
Kevin Fenzi 8aaea9
Dennis Gilmore 93c711
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
Dennis Gilmore 93c711
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore 93c711
Kevin Fenzi 953ca2
* Sat Jul 06 2013 Kevin Fenzi <kevin@scrye.com> 1.2.2-1
Kevin Fenzi 953ca2
- Update to 1.2.2 with minor fixes
Kevin Fenzi 953ca2
Kevin Fenzi 0fa1d4
* Fri Jul 05 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-2
Kevin Fenzi 0fa1d4
- Update to newer upstream re-release to fix a syntax error
Kevin Fenzi 0fa1d4
Kevin Fenzi 3cc7e5
* Thu Jul 04 2013 Kevin Fenzi <kevin@scrye.com> 1.2.1-1
Kevin Fenzi 3cc7e5
- Update to 1.2.1
Kevin Fenzi 3cc7e5
- Fixes CVE-2013-2233
Kevin Fenzi 3cc7e5
Kevin Fenzi 630150
* Mon Jun 10 2013 Kevin Fenzi <kevin@scrye.com> 1.2-1
Kevin Fenzi 630150
- Update to 1.2
Kevin Fenzi 630150
Kevin Fenzi c2a8c3
* Tue Apr 02 2013 Kevin Fenzi <kevin@scrye.com> 1.1-1
Kevin Fenzi c2a8c3
- Update to 1.1
Kevin Fenzi c2a8c3
Kevin Fenzi db87ec
* Mon Mar 18 2013 Kevin Fenzi <kevin@scrye.com> 1.0-1
Kevin Fenzi db87ec
- Update to 1.0
Kevin Fenzi db87ec
Dennis Gilmore 499398
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
Dennis Gilmore 499398
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore 499398
Maxim Burgerhout c23d87
* Fri Nov 30 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.9-0
Maxim Burgerhout c23d87
- Release 0.9
Maxim Burgerhout c23d87
Maxim Burgerhout 7109b7
* Fri Oct 19 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.8-0
Maxim Burgerhout 7109b7
- Release of 0.8
Maxim Burgerhout 1c6284
Kevin Fenzi 953ca2
* Thu Aug 9 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.7-0
Tim Bielawa ef39e2
- Release of 0.7
Tim Bielawa ef39e2
Maxim Burgerhout 7109b7
* Mon Aug 6 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.6-0
Tim Bielawa 4e9234
- Release of 0.6
Tim Bielawa 24b3da
Maxim Burgerhout 7109b7
* Wed Jul 4 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.5-0
Tim Bielawa 24b3da
- Release of 0.5
Dennis Gilmore fc9a76
Maxim Burgerhout 7109b7
* Wed May 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.4-0
Tim Bielawa 550a48
- Release of 0.4
Tim Bielawa 550a48
Tim Bielawa 4f2532
* Mon Apr 23 2012 Michael DeHaan <michael.dehaan@gmail.com> - 0.3-1
Tim Bielawa 4f2532
- Release of 0.3
Tim Bielawa 4f2532
Tim Bielawa 4f2532
* Tue Apr  3 2012 John Eckersberg <jeckersb@redhat.com> - 0.0.2-1
Tim Bielawa 4f2532
- Release of 0.0.2
Tim Bielawa 4f2532
Tim Bielawa 4f2532
* Sat Mar 10 2012  <tbielawa@redhat.com> - 0.0.1-1
Tim Bielawa 4f2532
- Release of 0.0.1