Blame SPECS/gnome-terminal.spec

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