2011-02-21 12:29:59 +01:00
|
|
|
#
|
2021-07-19 09:44:04 +02:00
|
|
|
# spec file
|
2010-08-24 22:32:30 +02:00
|
|
|
#
|
2021-02-15 14:31:55 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2018-09-24 09:23:09 +02:00
|
|
|
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands
|
2010-08-24 22:32:30 +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.
|
|
|
|
|
2018-09-23 03:25:31 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-08-24 22:32:30 +02:00
|
|
|
#
|
|
|
|
|
2012-02-22 11:31:30 +01:00
|
|
|
|
2019-12-13 10:45:32 +01:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == ""
|
|
|
|
%global pname gtk3
|
|
|
|
%bcond_with doc
|
|
|
|
%endif
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
%global pname gtk3-doc
|
|
|
|
%bcond_without doc
|
|
|
|
%endif
|
2010-10-15 13:50:05 +02:00
|
|
|
# When updating the binary version, do not forget to also update baselibs.conf
|
2018-04-13 08:43:15 +02:00
|
|
|
%define gtk_binary_version 3.0.0
|
2019-10-24 13:05:41 +02:00
|
|
|
%define _name gtk
|
2018-04-13 08:43:15 +02:00
|
|
|
%bcond_without broadway
|
2019-12-13 10:45:32 +01:00
|
|
|
%bcond_with doc
|
|
|
|
Name: %{pname}
|
2021-07-19 09:44:04 +02:00
|
|
|
Version: 3.24.30
|
2011-12-21 05:10:32 +01:00
|
|
|
Release: 0
|
2010-08-24 22:32:30 +02:00
|
|
|
Summary: The GTK+ toolkit library (version 3)
|
2018-03-05 14:51:43 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-12-29 15:54:00 +01:00
|
|
|
Group: Development/Libraries/X11
|
2018-04-19 17:10:29 +02:00
|
|
|
URL: https://www.gtk.org/
|
2019-10-24 13:05:41 +02:00
|
|
|
Source0: %{_name}-%{version}.tar.xz
|
2010-08-24 22:32:30 +02:00
|
|
|
Source1: README.SUSE
|
2011-02-13 23:57:17 +01:00
|
|
|
Source2: settings.ini
|
2010-08-27 17:19:07 +02:00
|
|
|
Source3: macros.gtk3
|
2010-08-24 22:32:30 +02:00
|
|
|
Source99: baselibs.conf
|
|
|
|
# PATCH-FIX-OPENSUSE gtk3-GTK_PATH64.patch sbrabec@novell.com - 64-bit dual install. Use GTK_PATH64 environment variable instead of GTK_PATH
|
|
|
|
Patch0: gtk3-GTK_PATH64.patch
|
2018-06-13 21:34:44 +02:00
|
|
|
# PATCH-FIX-OPENSUSE gtk3-revert-forced-xftdpi.patch fvogt@opensuse.org -- Revert very controversal commit on GTK3, forcing DPI to 96
|
2018-04-13 08:43:15 +02:00
|
|
|
Patch1: gtk3-revert-forced-xftdpi.patch
|
2019-10-24 13:05:41 +02:00
|
|
|
|
2019-06-19 17:50:44 +02:00
|
|
|
BuildRequires: cups-devel >= 1.7
|
2012-09-08 00:04:48 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2011-12-21 05:10:32 +01:00
|
|
|
BuildRequires: fdupes
|
2017-05-19 23:42:46 +02:00
|
|
|
BuildRequires: gettext-tools-mini >= 0.19.7
|
2014-04-03 22:51:00 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2019-10-24 13:05:41 +02:00
|
|
|
# libtool is needed since we are using a git checkout
|
|
|
|
BuildRequires: libtool
|
2018-03-05 14:51:43 +01:00
|
|
|
BuildRequires: pkgconfig
|
2018-03-22 10:40:43 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2012-09-08 00:04:48 +02:00
|
|
|
BuildRequires: xsltproc
|
2016-02-19 15:31:24 +01:00
|
|
|
BuildRequires: pkgconfig(atk) >= 2.15.1
|
2012-09-08 00:04:48 +02:00
|
|
|
BuildRequires: pkgconfig(atk-bridge-2.0)
|
2015-03-19 15:36:12 +01:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.14.0
|
2018-04-13 08:43:15 +02:00
|
|
|
BuildRequires: pkgconfig(cairo-gobject) >= 1.14.0
|
2017-09-06 21:38:55 +02:00
|
|
|
# Enable cloudproviders once upstream settles on a location and version
|
2018-02-23 09:35:36 +01:00
|
|
|
#BuildRequires: pkgconfig(cloudproviders) >= 0.2.5
|
2018-04-13 08:43:15 +02:00
|
|
|
BuildRequires: pkgconfig(colord) >= 0.1.9
|
2018-09-20 06:03:08 +02:00
|
|
|
BuildRequires: pkgconfig(epoxy) >= 1.4
|
2010-08-24 22:32:30 +02:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2019-02-04 19:53:00 +01:00
|
|
|
BuildRequires: pkgconfig(fribidi)
|
2014-09-11 23:17:07 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
|
2018-09-24 09:23:09 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.53.4
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.4
|
2019-09-04 11:06:51 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.57.2
|
2011-12-21 05:10:32 +01:00
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
2016-02-19 15:31:24 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
|
2018-04-13 08:43:15 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9
|
2015-03-19 15:36:12 +01:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2018-09-20 06:03:08 +02:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.41.0
|
2011-12-21 05:10:32 +01:00
|
|
|
BuildRequires: pkgconfig(pangoft2)
|
2015-03-19 15:36:12 +01:00
|
|
|
BuildRequires: pkgconfig(rest-0.7)
|
2020-02-18 17:55:49 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.14.91
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor) >= 1.14.91
|
2018-04-13 08:43:15 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
2020-02-18 17:55:49 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.14
|
2010-08-24 22:32:30 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xinerama)
|
2018-04-13 08:43:15 +02:00
|
|
|
BuildRequires: pkgconfig(xkbcommon) >= 0.2.0
|
2010-08-24 22:32:30 +02:00
|
|
|
BuildRequires: pkgconfig(xrandr)
|
2021-04-22 09:44:22 +02:00
|
|
|
# Autotools requires gtk-doc even with --disable-gtk-doc, try again with meson
|
|
|
|
%if %{with doc} || 1
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
%endif
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2011-02-13 22:04:22 +01:00
|
|
|
%package -n libgtk-3-0
|
2010-08-24 22:32:30 +02:00
|
|
|
Summary: The GTK+ toolkit library (version 3)
|
|
|
|
Group: System/Libraries
|
2016-05-14 02:17:08 +02:00
|
|
|
Requires: %{name}-data >= %{version}
|
2016-12-09 19:06:51 +01:00
|
|
|
Requires: %{name}-schema >= %{version}
|
2017-05-10 12:14:19 +02:00
|
|
|
# Require gdk-pixbuf-loader-rsvg - bsc#1007453. We require adwaita-icon-theme
|
|
|
|
# so we need something to load the svg icons.
|
|
|
|
Requires: gdk-pixbuf-loader-rsvg
|
2018-03-05 14:51:43 +01:00
|
|
|
# While hicolor is not a Requires strictly speaking, we put it as
|
|
|
|
# such instead of as a Recommends because many applications just
|
|
|
|
# assume it's there and we need to have a low-level package to
|
|
|
|
# bring it in.
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
Requires(post): %{name}-tools
|
2010-11-01 20:56:26 +01:00
|
|
|
# gtk+ can work without branding/translations. Built in defaults will be used then.
|
2010-08-24 22:32:30 +02:00
|
|
|
Recommends: %{name}-branding
|
2010-10-15 13:50:05 +02:00
|
|
|
# it's nice to have input modules for various locales installed by default
|
|
|
|
Recommends: %{name}-immodule-amharic = %{version}
|
|
|
|
Recommends: %{name}-immodule-inuktitut = %{version}
|
|
|
|
Recommends: %{name}-immodule-thai = %{version}
|
|
|
|
Recommends: %{name}-immodule-tigrigna = %{version}
|
|
|
|
Recommends: %{name}-immodule-vietnamese = %{version}
|
2021-04-22 09:44:22 +02:00
|
|
|
# Recommend Adwaita Icon Theme: GTK3 references this icon set in the code,
|
|
|
|
# but some setups might still want to eliminate it (think limited size Live CDs)
|
|
|
|
Recommends: adwaita-icon-theme
|
2010-08-24 22:32:30 +02:00
|
|
|
Recommends: gvfs
|
2019-01-15 22:46:30 +01:00
|
|
|
# Provide %%{name} to make the lang and immodules packages installable
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: %{name} = %{version}
|
2011-02-13 23:57:17 +01:00
|
|
|
# Before 3.0, the package was actually libgtk-3_0-0 and files might
|
|
|
|
# conflict
|
|
|
|
Provides: libgtk-3_0-0 = %{version}
|
|
|
|
Obsoletes: libgtk-3_0-0 < %{version}
|
2010-08-24 22:32:30 +02:00
|
|
|
|
2011-02-13 22:04:22 +01:00
|
|
|
%description -n libgtk-3-0
|
2010-08-24 22:32:30 +02:00
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2011-12-12 16:46:29 +01:00
|
|
|
%package -n typelib-1_0-Gtk-3_0
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Introspection bindings for the GTK+ toolkit library (version 3)
|
2011-12-12 16:46:29 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Gtk-3_0
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2011-12-21 05:10:32 +01:00
|
|
|
This package provides the GObject Introspection bindings for GTK+.
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%package immodule-amharic
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Amharic input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:am)
|
|
|
|
|
|
|
|
%description immodule-amharic
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method for Amharic.
|
|
|
|
|
2014-04-03 22:51:00 +02:00
|
|
|
%package immodule-broadway
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Broadway input method for the GTK+ toolkit library v3
|
2014-04-03 22:51:00 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2014-04-03 22:51:00 +02:00
|
|
|
|
|
|
|
%description immodule-broadway
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method for Broadway.
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%package immodule-inuktitut
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Inuktitut input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:iu)
|
|
|
|
|
|
|
|
%description immodule-inuktitut
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method for Inuktitut.
|
|
|
|
|
|
|
|
%package immodule-multipress
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Multipress input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
|
|
|
|
%description immodule-multipress
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method which allows text entry via the
|
|
|
|
multi-press method, as on a mobile phone.
|
|
|
|
|
|
|
|
%package immodule-thai
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Thai-Lao input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:lo)
|
|
|
|
Provides: locale(%{name}:th)
|
|
|
|
|
|
|
|
%description immodule-thai
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method for Thai-Lao.
|
|
|
|
|
2018-08-10 11:11:23 +02:00
|
|
|
%package immodule-tigrigna
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Tigrigna input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2018-08-10 11:11:23 +02:00
|
|
|
Provides: %{name}-immodules-tigrigna = %{version}
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:ti)
|
2018-08-10 11:11:23 +02:00
|
|
|
Obsoletes: %{name}-immodules-tigrigna < %{version}
|
2010-10-15 13:50:05 +02:00
|
|
|
|
2018-08-10 11:11:23 +02:00
|
|
|
%description immodule-tigrigna
|
2010-10-15 13:50:05 +02:00
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides two input methods for Tigrigna.
|
|
|
|
|
|
|
|
%package immodule-vietnamese
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Vietnamese input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:vi)
|
|
|
|
|
|
|
|
%description immodule-vietnamese
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method for Vietnamese.
|
|
|
|
|
2018-09-20 06:03:08 +02:00
|
|
|
%package immodule-wayland
|
2018-09-23 03:25:31 +02:00
|
|
|
Summary: Wayland input method for the GTK+ toolkit library (version 3)
|
2018-09-20 06:03:08 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2018-09-20 06:03:08 +02:00
|
|
|
|
|
|
|
%description immodule-wayland
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method which allows text entry via
|
|
|
|
wayland.
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%package immodule-xim
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: X input method for the GTK+ toolkit library v3
|
2010-10-15 13:50:05 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires(post): %{name}-tools
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):%{name}-tools
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:ja)
|
2012-03-11 18:40:52 +01:00
|
|
|
Provides: locale(%{name}:ko)
|
2010-10-15 13:50:05 +02:00
|
|
|
Provides: locale(%{name}:th)
|
|
|
|
Provides: locale(%{name}:zh)
|
|
|
|
|
|
|
|
%description immodule-xim
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides an input method based on the X Input Method.
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%package tools
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Auxiliary utilities for the GTK+ toolkit library v3
|
2010-08-24 22:32:30 +02:00
|
|
|
Group: System/Libraries
|
2011-01-07 23:36:16 +01:00
|
|
|
Requires(post): update-alternatives
|
2021-04-22 09:44:22 +02:00
|
|
|
Requires(postun):update-alternatives
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
%package data
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Data files for the GTK+ toolkit library v3
|
2010-08-24 22:32:30 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description data
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2016-12-09 19:06:51 +01:00
|
|
|
%package schema
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Config schema for the GTK+ toolkit library v3
|
2016-12-09 19:06:51 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description schema
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%package branding-upstream
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Upstream theme configuration for the GTK+ toolkit library v3
|
2010-08-24 22:32:30 +02:00
|
|
|
Group: System/Libraries
|
2011-07-06 19:03:21 +02:00
|
|
|
Requires: libgtk-3-0 = %{version}
|
2021-04-22 09:44:22 +02:00
|
|
|
Supplements: (%{name} and branding-upstream)
|
2018-03-05 14:51:43 +01:00
|
|
|
Conflicts: %{name}-branding
|
|
|
|
Provides: %{name}-branding = %{version}
|
2011-07-06 19:03:21 +02:00
|
|
|
BuildArch: noarch
|
2011-07-07 11:15:42 +02:00
|
|
|
#BRAND: Provides /etc/gtk-3.0/settings.ini, to define default theme and icon
|
|
|
|
#BRAND: theme.
|
|
|
|
#BRAND: Do not forget to add proper Requires in branding package if changing
|
|
|
|
#BRAND: those.
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%description branding-upstream
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2011-07-06 19:03:21 +02:00
|
|
|
This package provides the upstream theme configuration for widgets and
|
|
|
|
icon themes.
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%package devel
|
2017-12-29 15:54:00 +01:00
|
|
|
Summary: Development files for the GTK+ toolkit library v3
|
2010-08-24 22:32:30 +02:00
|
|
|
Group: Development/Libraries/X11
|
2016-12-09 19:06:51 +01:00
|
|
|
Requires: gettext-its-%{name} >= %{version}
|
2011-02-13 22:04:22 +01:00
|
|
|
Requires: libgtk-3-0 = %{version}
|
2011-12-12 16:46:29 +01:00
|
|
|
Requires: typelib-1_0-Gtk-3_0 = %{version}
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package contains the development files for GTK+ 3.x.
|
|
|
|
|
2016-12-09 19:06:51 +01:00
|
|
|
%package -n gettext-its-%{name}
|
|
|
|
Summary: International Tag Set for GTK+ 3
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
|
|
|
%description -n gettext-its-%{name}
|
|
|
|
This package enhances gettext with an International Tag Set for GTK+ 3
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%lang_package
|
2018-03-05 14:51:43 +01:00
|
|
|
|
2019-12-13 10:45:32 +01:00
|
|
|
%package -n gtk3-devel-doc
|
|
|
|
Summary: API documentation for the GTK+ toolkit library v3
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description -n gtk3-devel-doc
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package contains the API documentation for GTK+ 3.x.
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%prep
|
2019-10-24 13:05:41 +02:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2016-09-08 23:20:47 +02:00
|
|
|
translation-update-upstream
|
|
|
|
translation-update-upstream po-properties gtk30-properties
|
2013-03-25 12:46:17 +01:00
|
|
|
# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains)
|
|
|
|
for LNG in po/*.po ; do
|
|
|
|
LNG=`basename ${LNG%%.po}`
|
|
|
|
if ! test -f po-properties/$LNG.po ; then
|
|
|
|
echo "Removing incomplete $LNG from LINGUAS."
|
|
|
|
sed -i "/^$LNG\$/d" po/LINGUAS
|
|
|
|
fi
|
|
|
|
done
|
2018-03-05 14:51:43 +01:00
|
|
|
%if "%{_lib}" == "lib64"
|
|
|
|
cp -a %{SOURCE1} .
|
2010-08-24 22:32:30 +02:00
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2018-04-13 08:43:15 +02:00
|
|
|
%patch1 -p1
|
2013-03-29 21:59:47 +01:00
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%build
|
2019-10-24 13:05:41 +02:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2010-08-24 22:32:30 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2019-12-13 10:45:32 +01:00
|
|
|
%{?with_doc: \
|
|
|
|
--enable-gtk-doc} \
|
2010-08-24 22:32:30 +02:00
|
|
|
--enable-man \
|
2011-06-17 08:48:10 +02:00
|
|
|
--enable-x11-backend \
|
2013-03-25 12:46:17 +01:00
|
|
|
--enable-introspection \
|
2018-04-13 08:43:15 +02:00
|
|
|
%{?with_broadway: \
|
|
|
|
--enable-broadway-backend} \
|
2016-09-08 23:20:47 +02:00
|
|
|
--enable-wayland-backend \
|
|
|
|
--enable-explicit-deps=yes \
|
2018-09-20 06:03:08 +02:00
|
|
|
--enable-colord \
|
|
|
|
%{nil}
|
2019-12-13 10:45:32 +01:00
|
|
|
|
|
|
|
%if "%{flavor}" == ""
|
2021-04-22 09:44:22 +02:00
|
|
|
%make_build
|
2019-12-13 10:45:32 +01:00
|
|
|
%else
|
2021-04-22 09:44:22 +02:00
|
|
|
%make_build -C gdk
|
|
|
|
%make_build -C gtk
|
|
|
|
%make_build -C tests
|
|
|
|
%make_build -C docs
|
2019-12-13 10:45:32 +01:00
|
|
|
%endif
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%install
|
2019-12-13 10:45:32 +01:00
|
|
|
%if "%{flavor}" == ""
|
2017-12-29 15:54:00 +01:00
|
|
|
%make_install
|
2018-03-05 14:51:43 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-07-31 20:54:35 +02:00
|
|
|
# Do not install the exampleapp glib schema, as the app itself is noinst
|
|
|
|
rm %{buildroot}%{_datadir}/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml
|
2010-08-24 22:32:30 +02:00
|
|
|
%find_lang gtk30
|
|
|
|
%find_lang gtk30-properties
|
2018-03-05 14:51:43 +01:00
|
|
|
install -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/gtk-3.0/settings.ini
|
2010-10-15 13:50:05 +02:00
|
|
|
touch %{buildroot}%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules.cache
|
2018-03-05 14:51:43 +01:00
|
|
|
%if "%{_lib}" == "lib64"
|
2010-08-24 22:32:30 +02:00
|
|
|
mv %{buildroot}%{_bindir}/gtk-query-immodules-3.0 %{buildroot}%{_bindir}/gtk-query-immodules-3.0-64
|
|
|
|
mv %{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0.1 %{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0-64.1
|
|
|
|
%endif
|
2011-07-26 00:02:12 +02:00
|
|
|
# create modules directory that should have been created during the build
|
|
|
|
test ! -d %{buildroot}%{_libdir}/gtk-3.0/modules
|
|
|
|
mkdir %{buildroot}%{_libdir}/gtk-3.0/modules
|
2010-12-15 17:26:04 +01:00
|
|
|
# create theming-engines directory that should have been created during the build
|
|
|
|
test ! -d %{buildroot}%{_libdir}/gtk-3.0/%{gtk_binary_version}/theming-engines
|
|
|
|
mkdir %{buildroot}%{_libdir}/gtk-3.0/%{gtk_binary_version}/theming-engines
|
2016-08-11 18:37:49 +02:00
|
|
|
# Alternatives for gtk-update-icon-cache (binary and manpage)
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
2011-01-07 23:36:16 +01:00
|
|
|
mv %{buildroot}%{_bindir}/gtk-update-icon-cache %{buildroot}%{_bindir}/gtk-update-icon-cache-3.0
|
2016-08-11 18:37:49 +02:00
|
|
|
ln -s -f %{_sysconfdir}/alternatives/gtk-update-icon-cache %{buildroot}%{_bindir}/gtk-update-icon-cache
|
2011-01-07 23:36:16 +01:00
|
|
|
mv %{buildroot}%{_mandir}/man1/gtk-update-icon-cache.1 %{buildroot}%{_mandir}/man1/gtk-update-icon-cache-3.0.1
|
2016-08-11 18:37:49 +02:00
|
|
|
ln -s -f %{_sysconfdir}/alternatives/gtk-update-icon-cache.1%{ext_man} %{buildroot}%{_mandir}/man1/gtk-update-icon-cache.1%{ext_man}
|
2010-08-27 17:19:07 +02:00
|
|
|
# Install rpm macros
|
2019-05-09 22:24:48 +02:00
|
|
|
mkdir -p %{buildroot}%{_rpmmacrodir}
|
|
|
|
cp %{SOURCE3} %{buildroot}%{_rpmmacrodir}
|
2019-12-13 10:45:32 +01:00
|
|
|
|
|
|
|
%else
|
|
|
|
%make_install -C docs
|
|
|
|
rm -Rf %{buildroot}%{_mandir}/man1/
|
|
|
|
%endif
|
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%fdupes %{buildroot}%{_libdir}
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
###########################################################################
|
|
|
|
# Note: when updating scriptlets, don't forget to also update baselibs.conf
|
|
|
|
###########################################################################
|
|
|
|
|
2010-09-24 00:06:04 +02:00
|
|
|
# Convenient %define for the scriplets
|
2018-03-05 14:51:43 +01:00
|
|
|
%if "%{_lib}" == "lib64"
|
2010-10-15 13:50:05 +02:00
|
|
|
%define _gtk_query_immodules %{_bindir}/gtk-query-immodules-3.0-64
|
2010-09-24 00:06:04 +02:00
|
|
|
%else
|
2010-10-15 13:50:05 +02:00
|
|
|
%define _gtk_query_immodules %{_bindir}/gtk-query-immodules-3.0
|
2010-09-24 00:06:04 +02:00
|
|
|
%endif
|
2010-10-15 13:50:05 +02:00
|
|
|
%define _gtk_query_immodules_update_cache %{_gtk_query_immodules} --update-cache
|
2010-09-24 00:06:04 +02:00
|
|
|
|
2011-02-13 22:04:22 +01:00
|
|
|
%post -n libgtk-3-0
|
2010-10-14 09:48:09 +02:00
|
|
|
/sbin/ldconfig
|
2010-10-15 13:50:05 +02:00
|
|
|
%if 0
|
2011-02-13 22:04:22 +01:00
|
|
|
# In case libgtk-3-0 gets installed before gtk3-tools, we don't want to fail.
|
2010-10-15 13:50:05 +02:00
|
|
|
# So we make the call to gtk-query-immodules-3.0 dependent on the existence of
|
|
|
|
# the binary. This is why we also have a %post for gtk3-tools.
|
|
|
|
%endif
|
|
|
|
if test -f %{_gtk_query_immodules}; then
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
2010-09-24 00:06:04 +02:00
|
|
|
fi
|
2010-08-24 22:32:30 +02:00
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%post immodule-amharic
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2014-04-03 22:51:00 +02:00
|
|
|
%post immodule-broadway
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%post immodule-inuktitut
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%post immodule-multipress
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%post immodule-thai
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2018-08-10 11:11:23 +02:00
|
|
|
%post immodule-tigrigna
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%post immodule-vietnamese
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2018-09-20 06:03:08 +02:00
|
|
|
%post immodule-wayland
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%post immodule-xim
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
2010-10-12 22:38:41 +02:00
|
|
|
|
2010-10-14 09:48:09 +02:00
|
|
|
%post tools
|
2010-10-15 13:50:05 +02:00
|
|
|
%if 0
|
|
|
|
# If we install gtk3-tools for the first time, then we should run it in case
|
2011-02-13 22:04:22 +01:00
|
|
|
# libgtk-3-0 was installed first (ie, if
|
2010-10-15 13:50:05 +02:00
|
|
|
# %{_libdir}/gtk-3.0/%{gtk_binary_version} already exists) which means
|
|
|
|
# gtk-query-immodules-3.0 couldn't run there.
|
|
|
|
%endif
|
2014-11-11 23:04:42 +01:00
|
|
|
if [ $1 = 1 ]; then
|
2018-09-24 09:23:09 +02:00
|
|
|
test -d %{_libdir}/gtk-3.0/%{gtk_binary_version} && %{_gtk_query_immodules_update_cache}
|
2010-08-24 22:32:30 +02:00
|
|
|
fi
|
2011-01-07 23:36:16 +01:00
|
|
|
%if 0
|
|
|
|
# If the gtk-update-icon-cache group is in automatic mode, then this will also
|
|
|
|
# switch all symlinks automatically
|
|
|
|
%endif
|
|
|
|
update-alternatives --install %{_bindir}/gtk-update-icon-cache gtk-update-icon-cache %{_bindir}/gtk-update-icon-cache-3.0 3 \
|
|
|
|
--slave %{_mandir}/man1/gtk-update-icon-cache.1.gz gtk-update-icon-cache.1.gz %{_mandir}/man1/gtk-update-icon-cache-3.0.1.gz
|
|
|
|
|
2017-07-20 13:38:14 +02:00
|
|
|
%filetriggerin tools -- %{_datadir}/icons
|
|
|
|
if [ "$(realpath %{_bindir}/gtk-update-icon-cache)" = "%{_bindir}/gtk-update-icon-cache-3.0" ]; then
|
|
|
|
for ICON_THEME in $(cut -d / -f 5 | sort -u); do
|
|
|
|
if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
%filetriggerpostun tools -- %{_datadir}/icons
|
|
|
|
if [ "$(realpath %{_bindir}/gtk-update-icon-cache)" = "%{_bindir}/gtk-update-icon-cache-3.0" ]; then
|
|
|
|
for ICON_THEME in $(cut -d / -f 5 | sort -u); do
|
|
|
|
if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%if 0
|
2010-08-24 22:32:30 +02:00
|
|
|
# No need to call gtk-query-immodules-3.0 in postun:
|
|
|
|
# - if it's an upgrade, it will have been called in post
|
|
|
|
# - if it's an uninstall, we don't care about this anymore
|
2010-10-15 13:50:05 +02:00
|
|
|
%endif
|
2010-08-24 22:32:30 +02:00
|
|
|
|
2011-02-13 22:04:22 +01:00
|
|
|
%postun -n libgtk-3-0 -p /sbin/ldconfig
|
2021-04-22 09:44:22 +02:00
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%postun immodule-amharic
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2014-04-03 22:51:00 +02:00
|
|
|
%postun immodule-broadway
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%postun immodule-inuktitut
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%postun immodule-multipress
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%postun immodule-thai
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2018-08-10 11:11:23 +02:00
|
|
|
%postun immodule-tigrigna
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
|
|
|
%postun immodule-vietnamese
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2018-09-20 06:03:08 +02:00
|
|
|
%postun immodule-wayland
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%postun immodule-xim
|
|
|
|
%{_gtk_query_immodules_update_cache}
|
|
|
|
|
2011-01-07 23:36:16 +01:00
|
|
|
%postun tools
|
|
|
|
%if 0
|
|
|
|
# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
|
|
|
|
%endif
|
|
|
|
if [ ! -f %{_bindir}/gtk-update-icon-cache-3.0 ]; then
|
|
|
|
update-alternatives --remove gtk-update-icon-cache %{_bindir}/gtk-update-icon-cache-3.0
|
|
|
|
fi
|
|
|
|
|
2019-12-13 10:45:32 +01:00
|
|
|
%if "%{flavor}" == ""
|
2011-02-13 22:04:22 +01:00
|
|
|
%files -n libgtk-3-0
|
2018-03-05 14:51:43 +01:00
|
|
|
%license COPYING
|
|
|
|
%if "%{_lib}" == "lib64"
|
2010-08-24 22:32:30 +02:00
|
|
|
%doc README.SUSE
|
|
|
|
%endif
|
2010-10-15 13:50:05 +02:00
|
|
|
%dir %{_sysconfdir}/gtk-3.0
|
2010-08-24 22:32:30 +02:00
|
|
|
%dir %{_libdir}/gtk-3.0
|
2010-10-15 13:50:05 +02:00
|
|
|
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}
|
|
|
|
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-cedilla.so
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-cyrillic-translit.so
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ipa.so
|
2018-03-14 19:50:42 +01:00
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-wayland.so
|
2010-10-15 13:50:05 +02:00
|
|
|
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-cups.so
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-file.so
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/printbackends/libprintbackend-lpr.so
|
2010-12-15 17:26:04 +01:00
|
|
|
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/theming-engines/
|
2010-10-15 13:50:05 +02:00
|
|
|
%ghost %{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules.cache
|
|
|
|
%dir %{_libdir}/gtk-3.0/modules
|
2011-02-13 22:04:22 +01:00
|
|
|
%{_libdir}/libgailutil-3.so.*
|
|
|
|
%{_libdir}/libgdk-3.so.*
|
|
|
|
%{_libdir}/libgtk-3.so.*
|
2011-12-12 16:46:29 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Gtk-3_0
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_libdir}/girepository-1.0/Gdk-3.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/GdkX11-3.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/Gtk-3.0.typelib
|
|
|
|
|
|
|
|
%files immodule-amharic
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-am-et.so
|
|
|
|
|
2014-04-03 22:51:00 +02:00
|
|
|
%files immodule-broadway
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-broadway.so
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%files immodule-inuktitut
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-inuktitut.so
|
|
|
|
|
|
|
|
%files immodule-multipress
|
2010-11-01 20:56:26 +01:00
|
|
|
%doc modules/input/README.multipress
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-multipress.so
|
|
|
|
%config %{_sysconfdir}/gtk-3.0/im-multipress.conf
|
|
|
|
|
|
|
|
%files immodule-thai
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-thai.so
|
|
|
|
|
2018-08-10 11:11:23 +02:00
|
|
|
%files immodule-tigrigna
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ti-er.so
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-ti-et.so
|
|
|
|
|
|
|
|
%files immodule-vietnamese
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-viqr.so
|
|
|
|
|
2018-09-20 06:03:08 +02:00
|
|
|
%files immodule-wayland
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-waylandgtk.so
|
|
|
|
|
2010-10-15 13:50:05 +02:00
|
|
|
%files immodule-xim
|
|
|
|
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-xim.so
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%files tools
|
2018-04-13 08:43:15 +02:00
|
|
|
%doc AUTHORS README NEWS
|
2013-03-13 23:51:27 +01:00
|
|
|
%{_bindir}/broadwayd
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_bindir}/gtk3-icon-browser
|
2015-09-04 13:28:13 +02:00
|
|
|
%{_bindir}/gtk-builder-tool
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_bindir}/gtk-encode-symbolic-svg
|
2012-09-08 00:04:48 +02:00
|
|
|
%{_bindir}/gtk-launch
|
2010-08-24 22:32:30 +02:00
|
|
|
%{_bindir}/gtk-query-immodules-3.0*
|
2016-02-19 15:31:24 +01:00
|
|
|
%{_bindir}/gtk-query-settings
|
2010-08-24 22:32:30 +02:00
|
|
|
%{_bindir}/gtk-update-icon-cache-3.0
|
2016-08-11 18:37:49 +02:00
|
|
|
%{_bindir}/gtk-update-icon-cache
|
|
|
|
%ghost %{_sysconfdir}/alternatives/gtk-update-icon-cache
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_datadir}/applications/gtk3-icon-browser.desktop
|
2013-03-13 23:51:27 +01:00
|
|
|
%{_mandir}/man1/broadwayd.1%{?ext_man}
|
2021-04-22 09:44:22 +02:00
|
|
|
%{_mandir}/man1/gtk3-icon-browser.1%{?ext_man}
|
2015-09-04 13:28:13 +02:00
|
|
|
%{_mandir}/man1/gtk-builder-tool.1%{?ext_man}
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_mandir}/man1/gtk-encode-symbolic-svg.1%{?ext_man}
|
2012-09-08 00:04:48 +02:00
|
|
|
%{_mandir}/man1/gtk-launch.1%{?ext_man}
|
2021-04-22 09:44:22 +02:00
|
|
|
%{_mandir}/man1/gtk-query-immodules-3.0*.1%{?ext_man}
|
2016-02-19 15:31:24 +01:00
|
|
|
%{_mandir}/man1/gtk-query-settings.1%{?ext_man}
|
2016-08-11 18:37:49 +02:00
|
|
|
%{_mandir}/man1/gtk-update-icon-cache-3.0.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk-update-icon-cache.1%{?ext_man}
|
|
|
|
%ghost %{_sysconfdir}/alternatives/gtk-update-icon-cache.1%{?ext_man}
|
2010-08-24 22:32:30 +02:00
|
|
|
|
2016-12-09 19:06:51 +01:00
|
|
|
%files schema
|
2012-02-22 11:31:30 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml
|
2017-08-23 12:53:31 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.EmojiChooser.gschema.xml
|
2010-11-01 20:56:26 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.Debug.gschema.xml
|
2016-12-09 19:06:51 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Demo.gschema.xml
|
|
|
|
|
|
|
|
%files data
|
2020-01-10 18:16:53 +01:00
|
|
|
%{_datadir}/locale/en/
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_datadir}/themes/Default/
|
|
|
|
%{_datadir}/themes/Emacs/
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%files branding-upstream
|
2018-04-26 13:52:07 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/gtk-3.0/settings.ini
|
2010-08-24 22:32:30 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_bindir}/gtk3-demo
|
2012-01-17 14:22:49 +01:00
|
|
|
%{_bindir}/gtk3-demo-application
|
2012-02-22 11:31:30 +01:00
|
|
|
%{_bindir}/gtk3-widget-factory
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_mandir}/man1/gtk3-demo.1%{?ext_man}
|
2015-03-19 15:36:12 +01:00
|
|
|
%{_mandir}/man1/gtk3-demo-application.1%{?ext_man}
|
2014-08-23 13:52:21 +02:00
|
|
|
%{_mandir}/man1/gtk3-widget-factory.1%{?ext_man}
|
2010-08-24 22:32:30 +02:00
|
|
|
%{_datadir}/aclocal/gtk-3.0.m4
|
2014-04-03 22:51:00 +02:00
|
|
|
%{_datadir}/applications/gtk3-demo.desktop
|
|
|
|
%{_datadir}/applications/gtk3-widget-factory.desktop
|
2010-10-15 13:50:05 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2010-08-24 22:32:30 +02:00
|
|
|
%dir %{_datadir}/gtk-3.0
|
2012-02-08 11:55:25 +01:00
|
|
|
%{_datadir}/gtk-3.0/gtkbuilder.rng
|
2020-03-28 18:52:08 +01:00
|
|
|
%dir %{_datadir}/gtk-3.0/valgrind
|
|
|
|
%{_datadir}/gtk-3.0/valgrind/gtk.supp
|
2014-04-03 22:51:00 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gtk3-demo.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gtk3-widget-factory.png
|
2015-03-19 15:36:12 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gtk3-demo-symbolic.symbolic.png
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gtk3-widget-factory-symbolic.symbolic.png
|
2010-08-24 22:32:30 +02:00
|
|
|
%{_includedir}/gail-3.0/
|
|
|
|
%{_includedir}/gtk-3.0/
|
|
|
|
%{_libdir}/pkgconfig/gail-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gdk-3.0.pc
|
2018-04-13 08:43:15 +02:00
|
|
|
%if %{with broadway}
|
2011-06-17 08:48:10 +02:00
|
|
|
%{_libdir}/pkgconfig/gdk-broadway-3.0.pc
|
2018-04-13 08:43:15 +02:00
|
|
|
%{_libdir}/pkgconfig/gtk+-broadway-3.0.pc
|
2011-06-17 08:48:10 +02:00
|
|
|
%endif
|
2013-03-25 12:46:17 +01:00
|
|
|
%{_libdir}/pkgconfig/gdk-wayland-3.0.pc
|
2018-04-13 08:43:15 +02:00
|
|
|
%{_libdir}/pkgconfig/gtk+-wayland-3.0.pc
|
2011-01-07 23:36:16 +01:00
|
|
|
%{_libdir}/pkgconfig/gdk-x11-3.0.pc
|
2010-08-24 22:32:30 +02:00
|
|
|
%{_libdir}/pkgconfig/gtk+-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gtk+-unix-print-3.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gtk+-x11-3.0.pc
|
2011-02-13 22:04:22 +01:00
|
|
|
%{_libdir}/libgailutil-3.so
|
|
|
|
%{_libdir}/libgdk-3.so
|
|
|
|
%{_libdir}/libgtk-3.so
|
2019-05-09 22:24:48 +02:00
|
|
|
%{_rpmmacrodir}/macros.gtk3
|
2016-12-09 19:06:51 +01:00
|
|
|
|
|
|
|
%files -n gettext-its-%{name}
|
2016-02-19 15:31:24 +01:00
|
|
|
%dir %{_datadir}/gettext/
|
|
|
|
%dir %{_datadir}/gettext/its/
|
|
|
|
%{_datadir}/gettext/its/gtkbuilder.its
|
|
|
|
%{_datadir}/gettext/its/gtkbuilder.loc
|
2010-08-24 22:32:30 +02:00
|
|
|
|
2018-04-13 08:43:15 +02:00
|
|
|
%files lang -f gtk30.lang -f gtk30-properties.lang
|
2020-01-10 18:16:53 +01:00
|
|
|
# english locale should be in the main package
|
|
|
|
%exclude %{_datadir}/locale/en
|
2019-12-13 10:45:32 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with doc}
|
|
|
|
%files -n gtk3-devel-doc
|
|
|
|
%doc HACKING README.commits
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gail-libgail-util3/
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gdk3/
|
|
|
|
%doc %{_datadir}/gtk-doc/html/gtk3/
|
|
|
|
%endif
|
2018-04-13 08:43:15 +02:00
|
|
|
|
2010-08-24 22:32:30 +02:00
|
|
|
%changelog
|