8f5a9f9
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
8f5a9f9
8f5a9f9
Name:           terminator
Dominic Hopf 86fb648
Version:        1.91
f574aaa
Release:        2%{?dist}
8f5a9f9
Summary:        Store and run multiple GNOME terminals in one window
8f5a9f9
8f5a9f9
Group:          User Interface/Desktops
8f5a9f9
License:        GPLv2
c5196b2
URL:            http://gnometerminator.blogspot.com/p/introduction.html
f574aaa
Source0:        https://launchpad.net/terminator/gtk3/%{version}/+download/terminator-%{version}.tar.gz
8f5a9f9
8f5a9f9
BuildArch:      noarch
f57fc9e
BuildRequires:  python-devel gettext desktop-file-utils intltool
Dominic Hopf 86fb648
Requires:       vte291 python-gobject keybinder3 desktop-file-utils
Dominic Hopf 161325f
Dominic Hopf 161325f
%if 0%{?rhel}
Dominic Hopf 161325f
Requires:       python-psutil
Dominic Hopf 161325f
%else
Dominic Hopf 161325f
Requires:       python2-psutil
Dominic Hopf 161325f
%endif
Dominic Hopf 161325f
Dominic Hopf 35cd63d
Patch0:         0000-terminator-fix-desktop-file.patch
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
f574aaa
%setup -q -n terminator-%{version}
Dominic Hopf 35cd63d
8f5a9f9
sed -i '/#! \?\/usr.*/d' terminatorlib/*.py
Dominic Hopf 2fa730d
%patch0 -p0
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)
8ec9001
%doc README COPYING ChangeLog
Dominic Hopf 2fa730d
#%{_datadir}/doc/%{name}/*
8f5a9f9
%{_mandir}/man1/%{name}.*
8f5a9f9
%{_mandir}/man5/%{name}_config.*
ba456b9
%{_bindir}/%{name}*
764c581
%{_bindir}/remotinator
8f5a9f9
%{python_sitelib}/*
Dominic Hopf 35cd63d
%{_datadir}/%{name}/terminatorlib/themes/*/gtk-3.0/apps/*.css
ba456b9
%{_datadir}/appdata/%{name}.appdata.xml
8f5a9f9
%{_datadir}/applications/%{name}.desktop
ba456b9
%{_datadir}/icons/HighContrast/*/*/%{name}*.png
ba456b9
%{_datadir}/icons/HighContrast/*/*/%{name}*.svg
ba456b9
%{_datadir}/icons/HighContrast/16x16/status/terminal-bell.png
Dominic Hopf 35cd63d
%{_datadir}/icons/hicolor/*/*/%{name}*.png
Dominic Hopf 35cd63d
%{_datadir}/icons/hicolor/*/*/%{name}*.svg
Dominic Hopf 35cd63d
%{_datadir}/icons/hicolor/16x16/status/terminal-bell.png
8f5a9f9
%{_datadir}/pixmaps/%{name}.png
8f5a9f9
8f5a9f9
ba456b9
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
Dominic Hopf 86fb648
* Mon Feb 27 2017 Dominic Hopf <dmaphy@fedoraproject.org> - 1.91-1
Dominic Hopf 86fb648
- New Upstream Release: Terminator 1.91
Dominic Hopf 86fb648
3e179b9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.90-6
3e179b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3e179b9
c402eee
* Wed Nov 30 2016 Matt Rose <mattrose@folkwolf.net> - 1.90-4
c402eee
- add keybinder3 to requires
c402eee
c402eee
* Tue Nov 29 2016 Matt Rose <mattrose@folkwolf.net> - 1.90-3
c402eee
- adjust requires for vte
c402eee
Dominic Hopf 161325f
* Thu Nov 24 2016 Dominic Hopf <dmaphy@fedoraproject.org> - 1.90-2
Dominic Hopf 161325f
- Adjust requires for python(2)-psutil for EPEL
Dominic Hopf 161325f
Dominic Hopf 2fa730d
* Wed Nov 23 2016 Dominic Hopf <dmaphy@fedoraproject.org> - 1.90-1
Dominic Hopf 2fa730d
- New Upstream Release: Terminator 1.90
Dominic Hopf 2fa730d
9061e30
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-4
9061e30
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9061e30
c1b8055
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-3
c1b8055
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c1b8055
8ec9001
* Sat Oct 10 2015 Marco Driusso <marcodriusso@gmail.com> - 0.98-2
8ec9001
- apply patch from upstream for fixing RHBZ#1268289 and add dependency to
8ec9001
  python-psutils
8ec9001
8ec9001
* Tue Sep 08 2015 Dominic Hopf <dmaphy@fedoraproject.org> - 0.98-1
ba456b9
- New Upstream Release: Terminator 0.98
ba456b9
3421479
* Thu Jun 25 2015 Dominic Hopf <dmaphy@fedoraproject.org> - 0.97-8
3421479
- add dependency to python-keybinder (RHBZ#1234627)
3421479
d109c5b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-7
d109c5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d109c5b
265b555
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97-6
265b555
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
265b555
86b7c73
* Sun Jan 05 2014 Dominic Hopf <dmaphy@fedoraproject.org> - 0.97-5
86b7c73
- fix the new URL for the website
86b7c73
95268c3
* Sun Jan 05 2014 Dominic Hopf <dmaphy@fedoraproject.org> - 0.97-4
95268c3
- update upstream URL to new website (RHBZ#1048553)
95268c3
- fix bogus date in changelog-warnings
95268c3
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
95268c3
* Thu 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
95268c3
* Tue 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.