%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define snapshot 20080714 Summary: Hotwire Shell SSH Name: hotwire-ssh Version: 0.721.%{snapshot} Release: 1%{?dist} Source0: http://hotwire-shell.googlecode.com/files/%{name}-%{snapshot}.tar.gz License: GPLv2+ Group: User Interface/Desktops BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Url: http://hotwire-shell.org BuildRequires: python-devel BuildRequires: intltool Requires: pygtk2 Requires: gnome-python2-desktop Requires: dbus-python Requires: gnome-python2-gnomevfs Requires: desktop-file-utils %description SSH plugin for Hotwire, an object-oriented hypershell. %prep %setup -q -n %{name}-%{snapshot} %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --no-compile --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING %{_bindir}/%{name} %{python_sitelib}/hotssh %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/24x24/apps/*.png %{python_sitelib}/*.egg-info %{_sysconfdir}/profile.d/%{name}.* %post desktop-file-install --vendor='hotwire' %{_datadir}/applications/hotwire.desktop touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %postun touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %changelog * Sun Mar 23 2008 Colin Walters - 0.721-1 - New upstream version * Tue Feb 05 2008 Colin Walters - 0.710-1 - New upstream version * Wed Jan 23 2008 Colin Walters - 0.700-1 - New upstream version * Wed Jan 23 2008 Colin Walters - 0.699.svn828-1 - upstream SVN snapshot (SVN r828) * Wed Jan 23 2008 Colin Walters - 0.699.svn826-1 - upstream SVN snapshot (SVN r826) - update files list * Wed Nov 28 2007 Colin Walters - 0.620-1 - new upstream * Wed Nov 07 2007 Colin Walters - 0.600-1 - new upstream * Sun Oct 14 2007 Colin Walters - 0.599-1 - new upstream * Sun Sep 09 2007 Colin Walters - 0.595-1 - new upstream * Tue Jul 12 2007 Colin Walters - 0.590-1 - new upstream * Sat Jun 30 2007 Colin Walters - 0.575-1 - new upstream - add icon goo - update url * Wed Jun 20 2007 Colin Walters - 0.567-1 - update - R dbus-python * Thu Jun 7 2007 Colin Walters - 0.556-1 - update - kill off pygtk br * Fri Jun 1 2007 Colin Walters - 0.554-3 - really add br * Thu May 31 2007 Colin Walters - 0.554-2 - add br on pygtk2-devel until we do not import gobject * Thu May 31 2007 Colin Walters - 0.554-1 - update, add dep on gnomevfs * Mon May 28 2007 Colin Walters - 0.450-2 - Add dist tag * Thu May 25 2007 Colin Walters - 0.450-1 - Initial fedora package.