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