8f5a9f9
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
8f5a9f9
8f5a9f9
Name:           terminator
764c581
Version:        0.97
89a8d77
Release:        3%{?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
764c581
Source0:        https://launchpad.net/terminator/trunk/%{version}/+download/terminator-%{version}.tar.gz
764c581
Patch0:         0000-terminator-fix-desktop-file.patch
26b76b6
Patch1:         0001-terminator-fix-inactive-colour.patch
8f5a9f9
8f5a9f9
BuildArch:      noarch
f57fc9e
BuildRequires:  python-devel gettext desktop-file-utils intltool
8f5a9f9
Requires:       vte gnome-python2-gconf GConf2 gtk2 desktop-file-utils
74191f3
Requires:       gnome-python2-bonobo
f3418cf
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
764c581
%setup -q 
8f5a9f9
sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
764c581
%patch0 
26b76b6
%patch1 
764c581
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}
764c581
%{_bindir}/remotinator
8f5a9f9
%{python_sitelib}/*
8f5a9f9
%{_datadir}/applications/%{name}.desktop
8f5a9f9
%{_datadir}/icons/hicolor/*/*/%{name}*.png
8f5a9f9
%{_datadir}/icons/hicolor/*/*/%{name}*.svg
f3418cf
%{_datadir}/icons/hicolor/16x16/status/terminal-bell.png
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
89a8d77
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-3
89a8d77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89a8d77
26b76b6
* Fri Jun 28 2013 Dominic Hopf <dmaphy@fedoraproject.org> - 0.97-2
26b76b6
- fix an issue when inactive colour is set to 1.0 (RHBZ#968379)
26b76b6
764c581
* Fri May 17 2013 Dominic Hopf <dmaphy@fedoraproject.org> - 0.97-1
764c581
- New upstream release: Terminator 0.97
764c581
57f29aa
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-4
57f29aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
57f29aa
1cfc8a3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-3
1cfc8a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1cfc8a3
55ba3b8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-2
55ba3b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
55ba3b8
86ccaac
* Sat Sep 24 2011 Dominic Hopf <dmaphy@fedoraproject.org> - 0.96-1
86ccaac
- New upstream release: Terminator 0.96
86ccaac
e6bc811
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-3
e6bc811
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e6bc811
74191f3
* Fri Oct 01 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.95-2
74191f3
- readd dependency for gnome-python2-bonobo 
74191f3
775b785
* Wed Aug 25 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.95-1
775b785
- New upstream release: Terminator 0.95
775b785
68a2a59
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.94-2
68a2a59
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
68a2a59
7c72860
* Mon Jul 19 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.94-1
7c72860
- New upstream release: Terminator 0.94
7c72860
96e4444
* Thu Apr 15 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.93-1
96e4444
- New upstream release: Terminator 0.93
96e4444
9fd3905
* Fri Apr 09 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.92-1
9fd3905
- New upstream release: Terminator 0.92
9fd3905
f3418cf
* Mon Apr 05 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.91-1
f3418cf
- New upstream release: Terminator 0.91
f3418cf
Steven Fernandez 35074de
* Wed Mar 10 2010 Steven Fernandez <lonetwin@fedoraproject.org> 0.14-3
Steven Fernandez 35074de
- Added patch to fix the traceback reported in bug 567861
Steven Fernandez 35074de
Steven Fernandez c5eea52
* Wed Mar 3 2010 Steven Fernandez <lonetwin@fedoraproject.org> - 0.14-2
Steven Fernandez c5eea52
- Added dependency for deskbar-applets and gnome-python2-{bonobo,canvas}
Steven Fernandez c5eea52
  packages (bug 540551 and bug 509461)
Steven Fernandez c5eea52
e93f6ed
* Sun Jan 14 2010 Dominic Hopf <dmaphy@fedoraproject.org> - 0.14-1
e93f6ed
- New terminator version 0.14
e93f6ed
4007a0d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
4007a0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4007a0d
f57fc9e
* Tue Jul  7 2009 Ian Weller <ian@ianweller.org> - 0.13-2
f57fc9e
- BuildRequires: intltool
f57fc9e
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.