2007-01-09 16:44:27 +00:00
#
2011-04-27 12:32:12 +00:00
# spec file for package gnome-terminal
2007-01-09 16:44:27 +00:00
#
2018-03-09 10:05:17 +00:00
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
2007-01-09 16:44:27 +00:00
#
2008-08-13 23:21:17 +00:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2018-09-26 16:45:59 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2007-01-09 16:44:27 +00:00
#
2012-02-20 09:15:36 +00:00
2007-01-09 16:44:27 +00:00
Name : gnome-terminal
2018-10-24 12:58:45 +00:00
Version : 3.30.2
2012-02-08 10:58:16 +00:00
Release : 0
2010-10-15 15:03:25 +00:00
Summary : GNOME Terminal
2018-03-09 10:05:17 +00:00
License : GPL-3.0-or-later AND LGPL-2.1-or-later
2012-02-08 10:58:16 +00:00
Group : System/X11/Terminals
2018-03-09 10:05:17 +00:00
URL : https://wiki.gnome.org/Apps/Terminal
2018-09-14 03:54:38 +00:00
Source0 : https://download.gnome.org/sources/gnome-terminal/3.30/%{name} -%{version} .tar.xz
2018-12-09 12:44:11 +00:00
# PATCH-FIX-UPSTREAM gnome-terminal-Comment-out-tab-dragging-description.patch -- help: Comment out tab dragging description
Patch0 : gnome-terminal-Comment-out-tab-dragging-description.patch
# PATCH-FIX-UPSTREAM gnome-terminal-window-Fix-zoom-out-sensitivity.patch - window: Fix zoom-out sensitivity
Patch1 : gnome-terminal-window-Fix-zoom-out-sensitivity.patch
2018-05-29 12:19:41 +00:00
2016-02-19 14:53:06 +00:00
BuildRequires : fdupes
2015-05-13 12:23:40 +00:00
# Needed for search provider. It should not be needed in my opionion, we have to take this up with upstream, or just provide search provider interface definition file as source.
2014-04-03 20:43:52 +00:00
BuildRequires : gnome-shell
2017-10-04 11:56:48 +00:00
BuildRequires : intltool >= 0.50.1
2018-03-09 10:05:17 +00:00
BuildRequires : pkgconfig
2018-03-22 09:41:12 +00:00
BuildRequires : translation-update-upstream
2011-04-27 12:55:58 +00:00
BuildRequires : update-desktop-files
2012-09-07 15:26:56 +00:00
BuildRequires : yelp-tools
2018-03-09 10:05:17 +00:00
BuildRequires : pkgconfig(dconf) >= 0.14.0
2014-09-25 07:48:22 +00:00
BuildRequires : pkgconfig(gio-2.0) >= 2.34.0
2018-03-09 10:05:17 +00:00
BuildRequires : pkgconfig(gio-unix-2.0)
2015-09-04 11:31:38 +00:00
BuildRequires : pkgconfig(glib-2.0) >= 2.42.0
2018-03-09 10:05:17 +00:00
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 0.1.0
BuildRequires : pkgconfig(gtk+-3.0) >= 3.12.0
2013-03-13 22:53:30 +00:00
BuildRequires : pkgconfig(libnautilus-extension) >= 3.0.0
2016-09-08 21:22:57 +00:00
BuildRequires : pkgconfig(libpcre2-8) >= 10.00
2013-03-13 22:53:30 +00:00
BuildRequires : pkgconfig(uuid)
2018-09-14 03:54:38 +00:00
BuildRequires : pkgconfig(vte-2.91) >= 0.54.0
2012-02-20 09:16:30 +00:00
BuildRequires : pkgconfig(x11)
2013-07-31 19:08:19 +00:00
Requires(pre) : filesystem
2018-03-09 10:05:17 +00:00
Recommends: %{name} -lang
%if 0%{?sle_version}
BuildRequires : pkgconfig(gconf-2.0) >= 2.31.3
%endif
2016-02-19 14:53:06 +00:00
%if 0%{?sle_version}
Requires(pre) : gconf2
%endif
2007-01-09 16:44:27 +00:00
%description
2010-10-15 15:03:25 +00:00
This package provides the GNOME terminal emulator application.
2007-01-09 16:44:27 +00:00
2014-04-03 20:43:52 +00:00
%package -n gnome-shell-search-provider-gnome-terminal
Summary : GNOME Terminal -- Search Provider for GNOME Shell
Group : System/X11/Terminals
Requires : %{name} = %{version}
2018-03-09 10:05:17 +00:00
Supplements: packageand(gnome-shell:%{name} )
2014-04-03 20:43:52 +00:00
%description -n gnome-shell-search-provider-gnome-terminal
This package contains a search provider to enable GNOME Shell to get
search results from GNOME Terminal.
2013-07-31 19:08:19 +00:00
%package -n nautilus-extension-terminal
Summary : Nautilus Extension to Open Terminal in Folders
Group : System/GUI/GNOME
Supplements: packageand(nautilus:%{name} )
# nautilus-open-terminal was merged into gnome-terminal source during 3.9 development.
Provides : nautilus-open-terminal = %{version}
2014-04-03 20:43:52 +00:00
Obsoletes : nautilus-open-terminal < %{version}
2013-07-31 19:08:19 +00:00
%description -n nautilus-extension-terminal
This is a nautilus extension that allows you to open a terminal in
arbitrary folders.
2007-08-09 15:17:16 +00:00
%lang_package
2017-11-21 15:32:01 +00:00
2007-01-09 16:44:27 +00:00
%prep
2018-04-25 08:12:25 +00:00
%autosetup -p1
2010-08-05 21:21:19 +00:00
translation-update-upstream
2007-01-09 16:44:27 +00:00
%build
2013-07-31 19:08:19 +00:00
%configure \
--disable-static \
2016-02-19 14:53:06 +00:00
%if !0%{?sle_version}
2015-11-02 12:58:49 +00:00
--disable-migration \
2016-02-19 14:53:06 +00:00
%endif
2013-09-19 19:24:20 +00:00
--with-gtk=3.0 \
--with-nautilus-extension
2017-11-21 15:32:01 +00:00
%make_build
2007-01-09 16:44:27 +00:00
%install
2013-07-31 19:08:19 +00:00
%make_install
2017-11-21 15:32:01 +00:00
2018-03-09 10:05:17 +00:00
find %{buildroot} -type f -name " * . l a " -delete -print
2011-02-13 21:11:10 +00:00
%find_lang %{name} %{?no_lang_C}
2018-03-09 10:05:17 +00:00
%fdupes %{buildroot} %{_datadir}
2007-01-09 16:44:27 +00:00
2013-03-13 22:53:30 +00:00
%files
2018-03-09 10:05:17 +00:00
%license COPYING
%doc AUTHORS ChangeLog NEWS
2012-09-07 15:26:56 +00:00
%doc %{_datadir} /help/C/%{name} /
2007-01-09 16:44:27 +00:00
%{_bindir} /gnome-terminal
2017-02-22 20:39:27 +00:00
%dir %{_datadir} /metainfo
%{_datadir} /metainfo/org.gnome.Terminal.appdata.xml
2016-02-19 14:53:06 +00:00
%{_datadir} /applications/org.gnome.Terminal.desktop
2013-03-13 22:53:30 +00:00
%{_libexecdir} /gnome-terminal-server
2016-02-19 14:53:06 +00:00
%if 0%{?sle_version}
%{_libexecdir} /gnome-terminal-migration
%endif
2013-03-13 22:53:30 +00:00
%{_datadir} /dbus-1/services/org.gnome.Terminal.service
%{_datadir} /glib-2.0/schemas/org.gnome.Terminal.gschema.xml
2016-05-14 10:23:41 +00:00
%{_userunitdir} /gnome-terminal-server.service
2007-01-09 16:44:27 +00:00
2014-04-03 20:43:52 +00:00
%files -n gnome-shell-search-provider-gnome-terminal
2017-11-21 15:32:01 +00:00
%dir %{_datadir} /gnome-shell
%dir %{_datadir} /gnome-shell/search-providers
2014-04-03 20:43:52 +00:00
%{_datadir} /gnome-shell/search-providers/gnome-terminal-search-provider.ini
2013-07-31 19:08:19 +00:00
%files -n nautilus-extension-terminal
%{_libdir} /nautilus/extensions-3.0/libterminal-nautilus.so
2017-02-22 20:39:27 +00:00
%{_datadir} /metainfo/org.gnome.Terminal.Nautilus.metainfo.xml
2013-07-31 19:08:19 +00:00
2007-08-09 15:17:16 +00:00
%files lang -f %{name}.lang
2008-01-30 20:02:06 +00:00
2007-02-26 18:03:06 +00:00
%changelog