Skip to content

Commit

Permalink
Split of rpm packaging into main/fireball/node-fireball
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
nigelm committed Nov 4, 2012
1 parent 793df5d commit 5b076b0
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions packaging/rpm/ansible.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 <[email protected]> - 0.9-0
- Release pending
Expand Down

0 comments on commit 5b076b0

Please sign in to comment.