Accepting request 51606 from home:vuntz:branches:GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/51606
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=16
This commit is contained in:
2010-11-01 19:56:26 +00:00
committed by Git OBS Bridge
parent 272fc87ae1
commit 15c5e1b836
6 changed files with 154 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package gtk3 (Version 2.91.0)
# spec file for package gtk3 (Version 2.91.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
@@ -22,10 +22,9 @@
Name: gtk3
%define _name gtk+
Version: 2.91.0
Release: 2
Version: 2.91.2
Release: 1
# FIXME: 2.90.5 doesn't compile with parallel build (bgo#624304). Check if this is still true for later versions.
# FIXME: once https://bugzilla.gnome.org/show_bug.cgi?id=631872 is fixed, distribute README.multipress
License: LGPLv2.1+
Summary: The GTK+ toolkit library (version 3)
Url: http://www.gtk.org/
@@ -43,8 +42,8 @@ Patch1: gtk3-path-local.patch
Patch2: gtk3-bnc129753-localize-font-style-name.patch
# PATCH-FIX-UPSTREAM gtk3-bnc130159-bgo319483-async-font-selection.patch bnc130159 bgo319483 federico@novell.com - Load fonts asynchronously in GtkFontSelection to make it appear faster for CJK languages
Patch3: gtk3-bnc130159-bgo319483-async-font-selection.patch
# PATCH-FIX-UPSTREAM gtk3-fix-badmatch-gnome-shell.patch vuntz@opensuse.org -- Fix BadMatch in gnome-shell. Already in git.
Patch4: gtk3-fix-badmatch-gnome-shell.patch
# PATCH-FIX-UPSTREAM gtk3-fix-tests-build.patch bgo#633374 vuntz@opensuse.org -- Fix build of tests
Patch4: gtk3-fix-tests-build.patch
BuildRequires: fdupes
BuildRequires: cups-devel
BuildRequires: gnome-patch-translation
@@ -80,10 +79,10 @@ Requires(post): %{name}-tools
# 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: %{name}-data = %{version}
Requires: hicolor-icon-theme
# gtk+ can work without branding/data/translations. Built in defaults will be used then.
# gtk+ can work without branding/translations. Built in defaults will be used then.
Recommends: %{name}-branding
Recommends: %{name}-data = %{version}
# it's nice to have input modules for various locales installed by default
Recommends: %{name}-immodule-amharic = %{version}
Recommends: %{name}-immodule-inuktitut = %{version}
@@ -231,6 +230,7 @@ License: LGPLv2.1+
Summary: The GTK+ toolkit library (version 3) -- Data Files
Group: System/Libraries
BuildArch: noarch
%glib2_gsettings_schema_requires
%description data
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@@ -367,6 +367,9 @@ if [ $1 == 1 ]; then
fi
fi
%post data
%glib2_gsettings_schema_post
%if 0
# No need to call gtk-query-immodules-3.0 in postun:
# - if it's an upgrade, it will have been called in post
@@ -396,6 +399,9 @@ fi
%postun immodule-xim
%{_gtk_query_immodules_update_cache}
%postun data
%glib2_gsettings_schema_postun
%files -n libgtk-3_0-0
%defattr(-, root, root)
%doc AUTHORS COPYING README NEWS ChangeLog
@@ -435,8 +441,7 @@ fi
%files immodule-multipress
%defattr(-,root,root)
# Not in tarball
#%doc modules/input/README.multipress
%doc modules/input/README.multipress
%{_libdir}/gtk-3.0/%{gtk_binary_version}/immodules/im-multipress.so
%config %{_sysconfdir}/gtk-3.0/im-multipress.conf
@@ -466,6 +471,7 @@ fi
%files data
%defattr(-,root,root)
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
%{_datadir}/themes/Default/
%{_datadir}/themes/Emacs/
%{_datadir}/themes/Raleigh/