%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: belier Version: 1.2 Release: 3%{?dist} Summary: Generates scripts allowing you to chain many ssh connections Group: Applications/Internet License: GPLv3+ URL: http://www.ohmytux.com/belier/ Source0: http://www.ohmytux.com/belier/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: expect Requires: gettext %description Belier allows opening a shell or executing a command on a remote computer through a SSH connection. The main feature of Belier is its ability to cross several intermediate computers before realizing the job. * Belier reaches the final computer through intermediate machines. * You can execute commands with any account available on the remote computer. * It is possible to switch account on intermediate computers before accessing the final computer. * You can open a data tunnel through every host you cross to the final host. * Belier generates one script for each final computer to reach. %prep %setup -q %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} %{find_lang} bel %clean rm -rf %{buildroot} %files -f bel.lang %defattr(-,root,root,-) # upstream was asked to include a COPYING file, Mailing List Dec 24 2009 %doc README %{python_sitelib}/* %{_bindir}/bel %changelog * Thu May 27 2010 Le Coz Florent - 1.2-3 - Fixes the python-setuptools BuildRequires * Sun Dec 27 2009 Le Coz Florent - 1.2-2 - Modifications from the comments on rhbz 548795 * Fri Dec 18 2009 Le Coz Florent - 1.2-1 - First version from scratch