55d511
%define gettext_package gnome-terminal
55d511
55d511
%define glib2_version 2.50.0
55d511
%define gtk3_version 3.22.27
55d511
%define vte_version 0.52.2
55d511
%define desktop_file_utils_version 0.2.90
55d511
55d511
Name: gnome-terminal
55d511
Version: 3.28.2
55d511
Release: 2%{?dist}
55d511
Summary: Terminal emulator for GNOME
55d511
55d511
License: GPLv3+ and GFDL
55d511
URL: http://www.gnome.org/
55d511
Source0: http://download.gnome.org/sources/gnome-terminal/3.28/gnome-terminal-%{version}.tar.xz
55d511
55d511
Patch0: 0001-client-legacy-Fix-invalid-free.patch
55d511
55d511
Patch100: %{name}-notify-open-title-transparency.patch
55d511
55d511
# https://bugzilla.redhat.com/show_bug.cgi?id=1323217
55d511
Patch101: %{name}-Revert-server-Error-out-on-unsupported-locale.patch
55d511
55d511
# https://bugzilla.redhat.com/show_bug.cgi?id=1103380
55d511
Patch102: %{name}-scroll-speed.patch
55d511
55d511
Patch103: %{name}-don-t-treat-warnings-as-errors.patch
55d511
55d511
BuildRequires: glib2-devel >= %{glib2_version}
55d511
BuildRequires: GConf2-devel
55d511
BuildRequires: gtk3-devel >= %{gtk3_version}
55d511
BuildRequires: gsettings-desktop-schemas-devel
55d511
BuildRequires: vte291-devel >= %{vte_version}
55d511
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
55d511
BuildRequires: gettext
55d511
BuildRequires: intltool
55d511
BuildRequires: gnome-common
55d511
BuildRequires: autoconf automake libtool
55d511
BuildRequires: itstool
55d511
BuildRequires: dconf-devel
55d511
BuildRequires: libuuid-devel
55d511
BuildRequires: nautilus-devel
55d511
BuildRequires: gnome-shell
55d511
BuildRequires: pcre2-devel
55d511
BuildRequires: systemd
55d511
BuildRequires: vala-devel
55d511
55d511
Requires: dbus-x11
55d511
Requires: glib2%{?_isa} >= %{glib2_version}
55d511
Requires: gsettings-desktop-schemas
55d511
Requires: gtk3%{?_isa} >= %{gtk3_version}
55d511
Requires: vte291%{?_isa} >= %{vte_version}
55d511
55d511
%description
55d511
gnome-terminal is a terminal emulator for GNOME. It features the ability to use
55d511
multiple terminals in a single window (tabs) and profiles support.
55d511
55d511
%package nautilus
55d511
Summary: GNOME Terminal extension for Nautilus
55d511
Requires: %{name}%{?_isa} = %{version}-%{release}
55d511
55d511
Provides: nautilus-open-terminal = %{version}-%{release}
55d511
Obsoletes: nautilus-open-terminal < 0.20-8
55d511
55d511
%description nautilus
55d511
This package provides a Nautilus extension that adds the 'Open in Terminal'
55d511
option to the right-click context menu in Nautilus.
55d511
55d511
%prep
55d511
%setup -q
55d511
%patch0 -p1 -b .client-free
55d511
%patch100 -p1 -b .notify-open-title-transparency
55d511
%patch101 -p1 -b .unsupported-locale
55d511
%patch102 -p1 -b .scroll-speed
55d511
%patch103 -p1 -b .warnings
55d511
55d511
%build
55d511
autoreconf -f -i
55d511
%configure --disable-static --with-gtk=3.0 --with-nautilus-extension
55d511
55d511
make %{?_smp_mflags}
55d511
55d511
%install
55d511
%make_install
55d511
55d511
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
55d511
55d511
%find_lang %{gettext_package} --with-gnome
55d511
55d511
%check
55d511
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Terminal.desktop
55d511
55d511
%postun
55d511
if [ $1 -eq 0 ] ; then
55d511
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
55d511
fi
55d511
55d511
%posttrans
55d511
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
55d511
55d511
%files -f %{gettext_package}.lang
55d511
%license COPYING
55d511
%doc AUTHORS NEWS
55d511
55d511
%{_bindir}/gnome-terminal
55d511
%{_datadir}/metainfo/org.gnome.Terminal.appdata.xml
55d511
%{_datadir}/applications/org.gnome.Terminal.desktop
55d511
%{_libexecdir}/gnome-terminal-migration
55d511
%{_libexecdir}/gnome-terminal-server
55d511
%{_datadir}/dbus-1/services/org.gnome.Terminal.service
55d511
%{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml
55d511
%{_datadir}/gnome-shell
55d511
%{_userunitdir}/gnome-terminal-server.service
55d511
55d511
%files nautilus
55d511
%{_libdir}/nautilus/extensions-3.0/libterminal-nautilus.so
55d511
%{_datadir}/metainfo/org.gnome.Terminal.Nautilus.metainfo.xml
55d511
55d511
%changelog
55d511
* Fri Jun 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.28.2-2
55d511
- Backport fix for client-side memory error (GNOME/gnome-terminal#1)
55d511
- Bump BuildRequires versions
55d511
- Drop the dark theme override
55d511
- Rebase and restore the scroll speed patches
55d511
- Rebase and restore the patch to allow old ISO 8895 charsets
55d511
- Restore the GConf migration tool
55d511
- Resolves: #1568632
55d511
55d511
* Wed Jun 06 2018 Richard Hughes <rhughes@redhat.com> - 3.28.2-1
55d511
- Update to 3.28.2
55d511
- Resolves: #1568632
55d511
55d511
* Thu May 25 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.22.1-2
55d511
- Update Japanese translations for RHEL
55d511
- Resolves: #1379605
55d511
55d511
* Tue Feb 28 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.22.1-1
55d511
- Update to 3.22.1
55d511
- Drop upstreamed patches
55d511
- Rebase downstream patches
55d511
- Resolves: #1386964
55d511
55d511
* Fri Jul 22 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-13
55d511
- Fix the Obsoletes to replace nautilus-open-terminal
55d511
- Resolves: #1341615
55d511
55d511
* Thu Jun 30 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-12
55d511
- Restore the rest of the title handling options and make it all work
55d511
- Resolves: #1296110
55d511
55d511
* Fri Jun 10 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-11
55d511
- Revert the "New Terminal" entry in the application menu
55d511
- Resolves: #1300826
55d511
55d511
* Wed Jun 01 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-10
55d511
- Add Provides/Obsoletes to replace nautilus-open-terminal
55d511
- Resolves: #1341615
55d511
55d511
* Tue May 17 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-9
55d511
- Restore separate menuitems for opening tabs and windows
55d511
- Resolves: #1300826
55d511
55d511
* Fri May 13 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-8
55d511
- Add a property to configure the scroll speed
55d511
- Resolves: #1103380
55d511
55d511
* Mon Apr 11 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-7
55d511
- Restore the --title option
55d511
- Resolves: #1296110
55d511
55d511
* Fri Apr  8 2016 Matthias Clasen <mclasen@redhat.com> - 3.14.3-6
55d511
- Remove accels from some translations
55d511
  Resolves: #1251885
55d511
55d511
* Tue Apr  5 2016 Ray Strode <rstrode@redhat.com> - 3.14.3-5
55d511
- Allow old ISO 8895 charsets for backward compatibility
55d511
  Resolves: #1323217
55d511
55d511
* Tue Apr  5 2016 Matthias Clasen <mclasen@redhat.com> - 3.14.3-4
55d511
- Update translations
55d511
- Resolves: #1272392
55d511
55d511
* Mon Oct  5 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-3
55d511
- Pass tab switching keys to the terminal for tabless windows
55d511
- Resolves: #1268255
55d511
55d511
* Mon Sep 21 2015 Matthias Clasen <mclasen@redhat.com> - 3.14.3-2
55d511
- Drop the dark theme override
55d511
- Resolves: #1264054
55d511
55d511
* Wed Apr  8 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-1
55d511
- Update to 3.14.3
55d511
- Drop the appdata-tools BR from RHEL
55d511
- Add BRs on vala-devel, vala-tools and yelp-tools to generate the build
55d511
  scripts
55d511
- Resolves: #1174726, #1180775
55d511
55d511
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 3.14.2-1
55d511
- Update to 3.14.2
55d511
- Resolves: #1174726
55d511
55d511
* Mon Mar  3 2014 Matthias Clasen <mclasen@redhat.com> - 3.8.4-8
55d511
- Rebuild
55d511
- Resolves: #1070811
55d511
55d511
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.4-7
55d511
- Mass rebuild 2014-01-24
55d511
55d511
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.4-6
55d511
- Mass rebuild 2013-12-27
55d511
55d511
* Tue Dec 10 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.4-5
55d511
- Fix #1030352.
55d511
55d511
* Tue Dec 10 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.4-4
55d511
- Fix #1034618.
55d511
55d511
* Mon Dec  9 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.4-3
55d511
- Fix #952664.
55d511
55d511
* Tue Nov 19 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.4-2
55d511
- Fix #1030434.
55d511
55d511
* Mon Jul  8 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.4-1
55d511
- Update to 3.8.4
55d511
- Fixes a crash on session resume (#981440)
55d511
55d511
* Mon Jun 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.3-1
55d511
- Update to 3.8.3
55d511
- Use desktop-file-validate instead of desktop-file-install
55d511
55d511
* Mon May 13 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
55d511
- Update to 3.8.2
55d511
55d511
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
55d511
- Update to 3.8.1
55d511
55d511
* Tue Apr 02 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0.1-1
55d511
- Update to 3.8.0.1
55d511
55d511
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
55d511
- Update to 3.8.0
55d511
55d511
* Tue Mar 19 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
55d511
- Update to 3.7.92
55d511
55d511
* Thu Mar  7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
55d511
- Update to 3.7.91
55d511
55d511
* Tue Feb 26 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.2-3
55d511
- Bring back titlebars on maximized terminals
55d511
55d511
* Fri Jan 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.2-2
55d511
- Backport a fix for a crash in terminal_screen_container_style_updated
55d511
55d511
* Fri Jan 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.2-1
55d511
- Update to 3.7.2
55d511
55d511
* Wed Jan 16 2013 Richard Hughes <hughsient@gmail.com> - 3.7.1-1
55d511
- Update to 3.7.1
55d511
55d511
* Wed Jan 09 2013 Richard Hughes <hughsient@gmail.com> - 3.7.0-1
55d511
- Update to 3.7.0
55d511
55d511
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
55d511
- Update to 3.6.1
55d511
55d511
* Tue Sep 25 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
55d511
- Update to 3.6.0
55d511
55d511
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
55d511
- Update to 3.5.90
55d511
55d511
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1.1-2
55d511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
55d511
55d511
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1.1-1
55d511
- Update to 3.4.1.1
55d511
55d511
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0.1-1
55d511
- Update to 3.4.0.1
55d511
- Avoid listing files twice in %%files
55d511
55d511
* Tue Feb  7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.0-1
55d511
- Update to 3.3.0
55d511
55d511
* Thu Jan 12 2012 Matthias Clasen <mclasen@redhat.com> - 3.2.1-2
55d511
- Update license field (#639132)
55d511
55d511
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
55d511
- Rebuilt for glibc bug#747377
55d511
55d511
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
55d511
- Update to 3.2.1
55d511
55d511
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
55d511
- Update to 3.2.0
55d511
55d511
* Mon Apr 25 2011 Matthias Clasen <mclasen@redhat.com> 3.0.1-1
55d511
- Update to 3.0.1
55d511
55d511
* Mon Apr  4 2011 Matthias Clasen <mclasen@redhat.com> 3.0.0-1
55d511
- Update to 3.0.0
55d511
55d511
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 2.33.90-1
55d511
- Update to 2.33.90
55d511
55d511
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 2.33.5-3
55d511
- Rebuild against newer gtk
55d511
55d511
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33.5-2
55d511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
55d511
55d511
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.5-1
55d511
- Update to 2.33.5
55d511
55d511
* Wed Jan 12 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.4-2
55d511
- Make the find dialog work again
55d511
55d511
* Tue Jan 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.4-1
55d511
- Update to 2.33.4
55d511
55d511
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.3-1
55d511
- Update to 2.33.3
55d511
55d511
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.2-2
55d511
- Rebuild against new gtk
55d511
55d511
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.2-1
55d511
- Update to 2.33.2
55d511
- Back to gtk3
55d511
55d511
* Fri Oct  8 2010 Owen Taylor <otaylor@redhat.com> - 2.33.0-3
55d511
- Revert back to a gtk2 build - the gtk3 build has major sizing issues
55d511
  (rhbz #641337)
55d511
55d511
* Thu Oct  7 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.0-2
55d511
- Build against gtk3
55d511
55d511
* Mon Oct  4 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.0-1
55d511
- Update to 2.33.0
55d511
55d511
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1
55d511
- Update to 2.32.0
55d511
55d511
* Tue Aug 31 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.91-1
55d511
- Update to 2.31.91
55d511
55d511
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.90-1
55d511
- Update to 2.31.90
55d511
55d511
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-1
55d511
- Update to 2.31.3
55d511
55d511
* Tue May  4 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.2-2
55d511
- Add more translations for search UI
55d511
55d511
* Tue May  4 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.2-1
55d511
- Update to 2.31.2
55d511
- Add translations for search UI
55d511
55d511
* Tue May  4 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.1-1
55d511
- Update to 2.31.1
55d511
55d511
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-1
55d511
- Update to 2.30.1
55d511
55d511
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.0-1
55d511
- Update to 2.30.0
55d511
55d511
* Thu Mar 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.92-1
55d511
- Update to 2.29.92
55d511
55d511
* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.6-3
55d511
- Add missing libs
55d511
55d511
* Thu Jan 14 2010 Behdad Esfahbod <behdad@redhat.com> - 2.29.6-2
55d511
- Second try
55d511
- Drop stale patch
55d511
55d511
* Thu Jan 14 2010 Behdad Esfahbod <behdad@redhat.com> - 2.29.6-1
55d511
- Update to 2.29.6