2007-01-09 17:44:27 +01:00
#
2011-04-27 14:32:12 +02:00
# spec file for package gnome-terminal
2007-01-09 17:44:27 +01:00
#
2015-02-12 15:25:25 +01:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2007-01-09 17:44:27 +01:00
#
2008-08-14 01:21:17 +02: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.
2007-01-09 17:44:27 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-20 10:15:36 +01:00
2007-01-09 17:44:27 +01:00
Name : gnome-terminal
2015-10-19 12:00:33 +02:00
Version : 3.18.1
2012-02-08 11:58:16 +01:00
Release : 0
2010-10-15 17:03:25 +02:00
Summary : GNOME Terminal
2012-10-17 22:25:12 +02:00
License : GPL-3.0+ and LGPL-2.1+
2012-02-08 11:58:16 +01:00
Group : System/X11/Terminals
2007-09-15 12:00:53 +02:00
Url : http://www.gnome.org
2015-09-21 17:21:52 +02:00
Source : http://download.gnome.org/sources/gnome-terminal/3.18/%{name} -%{version} .tar.xz
2014-04-03 22:43:52 +02:00
BuildRequires : appdata-tools
2011-04-27 14:55:58 +02:00
BuildRequires : fdupes
2015-09-04 13:31:38 +02:00
# PATCH-FEATURE-OPENSUSE gnome-terminal-transparency.patch dimstar@opensuse.org -- Allow gnome-terminal to have transparent windows
2015-02-12 15:25:25 +01:00
Patch100 : gnome-terminal-transparency.patch
2015-03-31 00:44:15 +02:00
# PATCH-FEATURE-OPENSUSE gnome-terminal-transparency-fix-for-broken-themes.patch dimstar@opensuse.org -- Ensure the window is always painted
2015-02-12 15:25:25 +01:00
Patch101 : gnome-terminal-transparency-fix-for-broken-themes.patch
2015-03-31 00:44:15 +02:00
# PATCH-FEATURE-OPENSUSE gnome-terminal-dark-theme.patch zaitor@opensuse.org -- Allow gnome-terminal to have dark theme preferance.
Patch102 : gnome-terminal-dark-theme.patch
2015-05-13 14:23:40 +02: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 22:43:52 +02:00
BuildRequires : gnome-shell
BuildRequires : intltool >= 0.50.0
2015-03-31 00:44:15 +02:00
# Needed for patch 102
BuildRequires : libtool
2011-04-27 14:55:58 +02:00
BuildRequires : translation-update-upstream
BuildRequires : update-desktop-files
2015-09-04 13:31:38 +02:00
BuildRequires : vala >= 0.26
2012-09-07 17:26:56 +02:00
BuildRequires : yelp-tools
2013-03-13 23:53:30 +01:00
BuildRequires : pkgconfig(dconf) >= 0.12.0
BuildRequires : pkgconfig(gconf-2.0) >= 2.31.3
2014-09-25 09:48:22 +02:00
BuildRequires : pkgconfig(gio-2.0) >= 2.34.0
2015-09-04 13:31:38 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.42.0
2011-04-27 14:55:58 +02:00
BuildRequires : pkgconfig(gsettings-desktop-schemas)
2013-07-31 21:08:19 +02:00
# for gtk-builder-convert
BuildRequires : pkgconfig(gtk+-2.0)
2014-09-25 09:48:22 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.10.0
2013-03-13 23:53:30 +01:00
BuildRequires : pkgconfig(libnautilus-extension) >= 3.0.0
BuildRequires : pkgconfig(uuid)
2015-10-19 12:00:33 +02:00
BuildRequires : pkgconfig(vte-2.91) >= 0.42.1
2012-02-20 10:16:30 +01:00
BuildRequires : pkgconfig(x11)
2011-02-13 22:11:10 +01:00
Recommends: %{name} -lang
2011-04-27 14:55:58 +02:00
Obsoletes : gnome-core
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2013-07-31 21:08:19 +02:00
Requires(pre) : filesystem
2007-01-09 17:44:27 +01:00
%description
2010-10-15 17:03:25 +02:00
This package provides the GNOME terminal emulator application.
2007-01-09 17:44:27 +01:00
2014-04-03 22:43:52 +02:00
%package -n gnome-shell-search-provider-gnome-terminal
Summary : GNOME Terminal -- Search Provider for GNOME Shell
Group : System/X11/Terminals
Supplements: packageand(gnome-shell:%{name} )
Requires : %{name} = %{version}
%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 21:08:19 +02: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 22:43:52 +02:00
Obsoletes : nautilus-open-terminal < %{version}
2013-07-31 21:08:19 +02:00
%description -n nautilus-extension-terminal
This is a nautilus extension that allows you to open a terminal in
arbitrary folders.
2007-08-09 17:17:16 +02:00
%lang_package
2007-01-09 17:44:27 +01:00
%prep
2009-02-12 16:01:03 +01:00
%setup -q
2015-09-10 08:26:35 +02:00
#patch100 -p1
#patch101 -p1
#patch102 -p1
2010-08-05 23:21:19 +02:00
translation-update-upstream
2007-01-09 17:44:27 +01:00
%build
2015-03-31 00:44:15 +02:00
# Needed for patch102
2015-11-02 13:58:49 +01:00
#autoreconf -fiv
2013-07-31 21:08:19 +02:00
%configure \
--disable-static \
2015-11-02 13:58:49 +01:00
--disable-migration \
2013-09-19 21:24:20 +02:00
--with-gtk=3.0 \
--with-nautilus-extension
2013-07-31 21:08:19 +02:00
make %{?_smp_mflags}
2007-01-09 17:44:27 +01:00
%install
2013-07-31 21:08:19 +02:00
%make_install
find %{buildroot} %{_libdir} -type f -name '*.la' -delete -print
%suse_update_desktop_file -N " G N O M E T e r m i n a l " -G " T e r m i n a l " %{name} TerminalEmulator
2011-02-13 22:11:10 +01:00
%find_lang %{name} %{?no_lang_C}
2013-07-31 21:08:19 +02:00
%fdupes %{buildroot}
2007-01-09 17:44:27 +01:00
%clean
2013-07-31 21:08:19 +02:00
rm -rf %{buildroot}
2007-01-09 17:44:27 +01:00
2011-02-13 22:11:10 +01:00
%post
2013-03-13 23:53:30 +01:00
%glib2_gsettings_schema_post
2011-02-13 22:11:10 +01:00
%desktop_database_post
%postun
2013-03-13 23:53:30 +01:00
%glib2_gsettings_schema_postun
2011-02-13 22:11:10 +01:00
%desktop_database_postun
2013-03-13 23:53:30 +01:00
%files
2007-01-09 17:44:27 +01:00
%defattr (-, root, root)
2013-03-13 23:53:30 +01:00
%doc AUTHORS COPYING ChangeLog NEWS
2012-09-07 17:26:56 +02:00
%doc %{_datadir} /help/C/%{name} /
2007-01-09 17:44:27 +01:00
%{_bindir} /gnome-terminal
2014-04-03 22:43:52 +02:00
%dir %{_datadir} /appdata
%{_datadir} /appdata/gnome-terminal.appdata.xml
2007-01-09 17:44:27 +01:00
%{_datadir} /applications/gnome-terminal.desktop
2013-03-13 23:53:30 +01:00
%{_libexecdir} /gnome-terminal-server
%{_datadir} /dbus-1/services/org.gnome.Terminal.service
%{_datadir} /glib-2.0/schemas/org.gnome.Terminal.gschema.xml
2007-01-09 17:44:27 +01:00
2014-04-03 22:43:52 +02:00
%files -n gnome-shell-search-provider-gnome-terminal
%defattr (-, root, root)
%{_datadir} /gnome-shell/search-providers/gnome-terminal-search-provider.ini
2013-07-31 21:08:19 +02:00
%files -n nautilus-extension-terminal
%defattr (-,root,root)
%{_libdir} /nautilus/extensions-3.0/libterminal-nautilus.so
2007-08-09 17:17:16 +02:00
%files lang -f %{name}.lang
2008-01-30 21:02:06 +01:00
2007-02-26 19:03:06 +01:00
%changelog