d4f270f
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
d4f270f
d4f270f
Name: rho
bd5c4b5
Version: 0.0.20
d4f270f
Release: 1%{?dist}
d4f270f
Summary: An SSH system profiler
d4f270f
d4f270f
Group: Applications/Internet
d4f270f
License: GPLv2
d4f270f
URL: http://github.com/jmrodri/rho
d4f270f
Source0: http://alikins.fedorapeople.org/files/rho/rho-%{version}.tar.gz
d4f270f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d4f270f
d4f270f
BuildArch: noarch
d4f270f
BuildRequires: python-devel
d4f270f
BuildRequires: python-setuptools
d4f270f
Requires: python-paramiko
d4f270f
Requires: python-netaddr
d4f270f
Requires: python-simplejson
d4f270f
Requires: python-crypto
d4f270f
d4f270f
%description
d4f270f
Rho is a tool for scanning your network, logging into systems via SSH, and
d4f270f
retrieving information about them.
d4f270f
d4f270f
%prep
d4f270f
%setup -q
d4f270f
d4f270f
%build
d4f270f
%{__python} setup.py build
d4f270f
d4f270f
%install
d4f270f
rm -rf $RPM_BUILD_ROOT
d4f270f
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
d4f270f
install -D -p -m 644 doc/rho.1 $RPM_BUILD_ROOT%{_mandir}/man1/rho.1
d4f270f
d4f270f
%clean
d4f270f
rm -rf $RPM_BUILD_ROOT
d4f270f
d4f270f
%files
d4f270f
%defattr(-,root,root,-)
d4f270f
%doc README AUTHORS COPYING
d4f270f
%{_bindir}/rho
d4f270f
%{python_sitelib}/*
d4f270f
%{_mandir}/man1/rho.1.gz
d4f270f
d4f270f
%changelog
bd5c4b5
* Wed Nov 18 2009 Adrian Likins <alikins@redhat.com> 0.0.20-1
bd5c4b5
- RHEL5 is using an even older version of python-netaddr that requires most API
bd5c4b5
  transmogrifying. Namely, lack of netaddr.IP class. (alikins@redhat.com)
bd5c4b5
d4f270f
* Fri Nov 13 2009 Adrian Likins <alikins@redhat.com> 0.0.19-1
d4f270f
- Merge Fedora Package review spec changes from Mark McLoughlin
d4f270f
  <markmc@redhat.com> (markmc@redhat.com)
d4f270f
- Add the config file version to the begining of the encrypted config file as
d4f270f
  well (alikins@redhat.com)
d4f270f
- Change the AES ciper mode of CFB and store/retrive a 16bit initialization
d4f270f
  vector for use with CFB. (alikins@redhat.com)
d4f270f
- Use a different salt each time we say the file. (alikins@redhat.com)
d4f270f
d4f270f
* Fri Nov 13 2009 Mark McLoughlin <markmc@redhat.com> - 0.0.16-2
d4f270f
- Include egg info
d4f270f
- Drop the -O1 arg from 'setup.py install'
d4f270f
- Don't chdir for manpage install
d4f270f
- Kill some whitespace
d4f270f
d4f270f
* Wed Nov 11 2009 Adrian Likins <alikins@redhat.com> 0.0.16-1
d4f270f
- Add a RhoCmd class for detecting if we are a virt guest or host
d4f270f
  (alikins@redhat.com)
d4f270f
d4f270f
* Wed Nov 04 2009 Adrian Likins <alikins@redhat.com> 0.0.15-1
d4f270f
- add bits generated to .gitignore (shut up git) (alikins@redhat.com)
d4f270f
- Don't use weird style of classes on 2.4, use Class(object)
d4f270f
  (alikins@redhat.com)
d4f270f
- A few more tweaks to make Queue24 work the same way as the Queue.Queue in
d4f270f
  2.6. (alikins@redhat.com)
d4f270f
- On python2.4 (aka, rhel5) Queue.Queue doesn't have the .join or .task_done
d4f270f
  methods, which we use and like. So check for them and if they aren't there,
d4f270f
  use our own implementation (pretty much c&p from the 2.6 version of
d4f270f
  Queue.Queue). A little ugly, but alas. (alikins@redhat.com)
d4f270f
- use new style classes, python2.4 doesn't like class FOO()
d4f270f
  (alikins@redhat.com)
d4f270f
d4f270f
* Tue Nov 03 2009 Adrian Likins <alikins@redhat.com> 0.0.13-1
d4f270f
- Fix a bug where we weren't actually consuming the Queue if there weren't as
d4f270f
  many or more threads than hosts. (alikins@redhat.com)
d4f270f
- remove --debug option, it doesn't do anything (alikins@redhat.com)
d4f270f
d4f270f
* Sat Oct 31 2009 Devan Goodwin <dgoodwin@rm-rf.ca> 0.0.11-1
d4f270f
- Support Netaddr > 0.7 (jbowes@repl.ca)
d4f270f
- add a DmiRhoCmd. Grab some basic DMI info. (alikins@redhat.com)
d4f270f
- fix wrong help in "rho profile show" (profile, not auth)
d4f270f
  (alikins@redhat.com)
d4f270f
d4f270f
* Thu Oct 29 2009 Adrian Likins <alikins@redhat.com> 0.0.10-1
d4f270f
- add SourceURL
d4f270f
- remove ssh_queue.py
d4f270f
- fix man page install
d4f270f
d4f270f
* Wed Oct 28 2009 Devan Goodwin <dgoodwin@redhat.com> 0.0.6-1
d4f270f
- Fix "rho scan nosuchprofile". (dgoodwin@redhat.com)
d4f270f
- Update README. (dlackey@redhat.com)
d4f270f
d4f270f
* Tue Oct 27 2009 Devan Goodwin <dgoodwin@redhat.com> 0.0.5-1
d4f270f
- Too many features/bugfixes to list. Approaching first release.
d4f270f
* Wed Oct 21 2009 Devan Goodwin <dgoodwin@redhat.com> 0.0.2-1
d4f270f
- Beginning to get usable.
d4f270f
* Thu Oct 15 2009 Devan Goodwin <dgoodwin@redhat.com> 0.0.1-1
d4f270f
- Initial packaging.