From 957bf09cec7fe748c2d9016ddf0e5f94eaa9e10e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 20 May 2013 23:56:39 +0300 Subject: [PATCH] sync spec with upstream, add fireball subpackages --- ansible.spec | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/ansible.spec b/ansible.spec index 7a7ef28..4f9cffb 100644 --- a/ansible.spec +++ b/ansible.spec @@ -1,7 +1,7 @@ -Summary: Minimal SSH command and control +Summary: SSH-based configuration management, deployment, and task execution system Name: ansible Version: 1.2 -Release: 0.11 +Release: 0.12 License: GPL v3+ Group: Development/Libraries Source0: https://github.com/ansible/ansible/archive/devel.tar.gz?/%{version}-dev.tgz @@ -31,6 +31,29 @@ 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. +%package fireball +Summary: Ansible fireball transport support +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: python-keyczar +Requires: python-zmq + +%description fireball +Ansible can optionally use a 0MQ based transport mechanism, which is +considerably faster than the standard ssh mechanism when there are +multiple actions, but requires additional supporting packages. + +%package node-fireball +Summary: Ansible fireball transport - node end support +Group: Development/Libraries +Requires: python-keyczar +Requires: python-zmq + +%description node-fireball +Ansible can optionally use a 0MQ based transport mechanism, which has +additional requirements for nodes to use. This package includes those +requirements. + %prep %setup -qc mv %{name}-devel/* . @@ -76,6 +99,16 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/ansible-playbook.1* %{_mandir}/man1/ansible-pull.1* %{_mandir}/man3/ansible.*.3* +%exclude %{_mandir}/man3/ansible.fireball.3* %{_datadir}/%{name} +%exclude %{_datadir}/%{name}/utilities/fireball %{py_sitescriptdir}/ansible %{py_sitescriptdir}/ansible-%{version}-*.egg-info + +%files fireball +%defattr(644,root,root,755) +%{_datadir}/%{name}/utilities/fireball +%{_mandir}/man3/ansible.fireball.3* + +%files node-fireball +%defattr(644,root,root,755) -- 2.44.0