8f5a9f9
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
8f5a9f9
8f5a9f9
Name:           terminator
c808649
Version:        0.13
c808649
Release:        1%{?dist}
8f5a9f9
Summary:        Store and run multiple GNOME terminals in one window
8f5a9f9
8f5a9f9
Group:          User Interface/Desktops
8f5a9f9
License:        GPLv2
8f5a9f9
URL:            http://www.tenshu.net/terminator
8f5a9f9
Source0:        http://code.launchpad.net/terminator/trunk/%{version}/+download/terminator_%{version}.tar.gz
8f5a9f9
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8f5a9f9
8f5a9f9
BuildArch:      noarch
8f5a9f9
BuildRequires:  python-devel gettext desktop-file-utils
8f5a9f9
Requires:       vte gnome-python2-gconf GConf2 gtk2 desktop-file-utils
8f5a9f9
8f5a9f9
%description
8f5a9f9
Multiple GNOME terminals in one window.  This is a project to produce
8f5a9f9
an efficient way of filling a large area of screen space with
8f5a9f9
terminals. This is done by splitting the window into a resizeable
8f5a9f9
grid of terminals. As such, you can  produce a very flexible
8f5a9f9
arrangements of terminals for different tasks.
8f5a9f9
8f5a9f9
8f5a9f9
%prep
c808649
%setup -qn %{version}
8f5a9f9
sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
8f5a9f9
8f5a9f9
8f5a9f9
%build
8f5a9f9
%{__python} setup.py build
8f5a9f9
8f5a9f9
8f5a9f9
%install
8f5a9f9
rm -rf %{buildroot}
8f5a9f9
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
8f5a9f9
%find_lang %{name}
8f5a9f9
rm -f %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
8f5a9f9
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
8f5a9f9
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications data/%{name}.desktop
8f5a9f9
8f5a9f9
8f5a9f9
%clean
8f5a9f9
rm -rf %{buildroot}
8f5a9f9
8f5a9f9
8f5a9f9
%files -f %{name}.lang
8f5a9f9
%defattr(-,root,root)
8f5a9f9
%doc README COPYING ChangeLog
8f5a9f9
%{_mandir}/man1/%{name}.*
8f5a9f9
%{_mandir}/man5/%{name}_config.*
8f5a9f9
%{_bindir}/%{name}
8f5a9f9
%{python_sitelib}/*
8f5a9f9
%{_datadir}/applications/%{name}.desktop
8f5a9f9
%{_datadir}/icons/hicolor/*/*/%{name}*.png
8f5a9f9
%{_datadir}/icons/hicolor/*/*/%{name}*.svg
8f5a9f9
%{_datadir}/pixmaps/%{name}.png
8f5a9f9
8f5a9f9
8f5a9f9
%post
8f5a9f9
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
8f5a9f9
8f5a9f9
8f5a9f9
%postun
8f5a9f9
gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &>/dev/null || :
8f5a9f9
8f5a9f9
8f5a9f9
%changelog
c808649
* Thu Jul  2 2009 Ian Weller <ian@ianweller.org> - 0.13-1
c808649
- New upstream release
c808649
a0d6698
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
a0d6698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a0d6698
1c32501
* Tue Jan 20 2009 Ian Weller <ianweller@gmail.com> 0.12-1
1c32501
- New upstream release
1c32501
- Upstream fixed desktop file, removing patch0
1c32501
8f5a9f9
* Mon Dec 08 2008 Ian Weller <ianweller@gmail.com> 0.11-3
8f5a9f9
- Patch version in terminatorlib/verison.py to the one we think it is
8f5a9f9
- Fix License tag
8f5a9f9
- Update post and postun scripts with one line
8f5a9f9
8f5a9f9
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-2
8f5a9f9
- Add BuildRequires: gettext
8f5a9f9
- Fix installation of .desktop file
8f5a9f9
- terminator-0.11-desktop.patch:
8f5a9f9
    Remove useless things
8f5a9f9
    Move to same category as gnome-terminal
8f5a9f9
- Uses spaces instead of tabs in the specfile because I can't stand tabs
8f5a9f9
8f5a9f9
* Mon Dec 01 2008 Ian Weller <ianweller@gmail.com> 0.11-1
8f5a9f9
- Update upstream
8f5a9f9
- Fix description to something useful
8f5a9f9
- Fix group
8f5a9f9
- Fix some specfile oddities
8f5a9f9
- Complete/restandardize file list
8f5a9f9
- Get rid of she-bangs in python_sitelib
8f5a9f9
1c32501
* Sat Sep 13 2008 Max Spevack <mspevack AT redhat DOT com> 0.10
8f5a9f9
- New upstream release.
8f5a9f9
- Tried to make sure the spec file matches guidelines on Fedora wiki.
8f5a9f9
1c32501
* Fri Jul 08 2008 chantra AatT rpm-based DdOoTt org 0.9.fc9.rb
8f5a9f9
- New upstream release
8f5a9f9
1c32501
* Sat May 17 2008 chantra AatT rpm-based DdOoTt org 0.8.1.fc9.rb
8f5a9f9
- Initial release for Fedora 9.