From 5b076b086b743f80226ff76b4131e28e356afdb5 Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Sun, 4 Nov 2012 13:37:38 +0000 Subject: [PATCH] Split of rpm packaging into main/fireball/node-fireball Splitting of the packaging so that fireball mode, with the additional requirements of 0mq, is separately packaged. Also a end node fireball support package (reqs only). --- packaging/rpm/ansible.spec | 40 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index 0d22403a705..b9e5903b766 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -28,6 +28,30 @@ 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 -q @@ -53,13 +77,25 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{python_sitelib}/ansible* %{_bindir}/ansible* -%{_datadir}/ansible +%dir %{_datadir}/ansible +%{_datadir}/ansible/[a-eg-z]* +%{_datadir}/ansible/f[a-hj-z]* +%{_datadir}/ansible/file %config(noreplace) %{_sysconfdir}/ansible %doc README.md PKG-INFO COPYING %doc %{_mandir}/man1/ansible* -%doc %{_mandir}/man3/ansible.* +%doc %{_mandir}/man3/ansible.[a-eg-z]* +%doc %{_mandir}/man3/ansible.f[a-hj-z]* +%doc %{_mandir}/man3/ansible.file* %doc examples/playbooks +%files fireball +%{_datadir}/ansible/fireball +%doc %{_mandir}/man3/ansible.fireball.* + +%files node-fireball +%doc README.md PKG-INFO COPYING + %changelog * Fri Oct 19 2012 Michael DeHaan - 0.9-0 - Release pending