Accepting request 55797 from home:dimstar:branches:GNOME:Factory

thanks, will fix a few things that are wrong wrt theming

OBS-URL: https://build.opensuse.org/request/show/55797
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=24
This commit is contained in:
Vincent Untz
2010-12-15 14:44:48 +00:00
committed by Git OBS Bridge
parent fe0193f13c
commit cf008a5ab8
4 changed files with 37 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package gtk3 (Version 2.91.5)
# spec file for package gtk3 (Version 2.91.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
@@ -22,9 +22,10 @@
Name: gtk3
%define _name gtk+
Version: 2.91.5
Version: 2.91.6
Release: 1
# FIXME: 2.90.5 doesn't compile with parallel build (bgo#624304). Check if this is still true for later versions.
# FIXME: Check if CFLAGS workaround in build section is still needed (bgo#637143)
License: LGPLv2.1+
Summary: The GTK+ toolkit library (version 3)
Url: http://www.gtk.org/
@@ -277,6 +278,8 @@ cp -a %{S:1} .
gnome-patch-translation-update
%build
# FIXME: Workaround for bgo#637143 -- Implicit declaration of functions.
export CFLAGS="%{optflags} -DGTK_COMPILATION"
%configure \
--disable-static \
--enable-man \
@@ -284,11 +287,14 @@ gnome-patch-translation-update
--enable-introspection
# building of gobject-introspection seems to fail with -j 'n>1' (see bgo#624304)
#%{__make} %{?_smp_mflags}
%{__make}
%{__make} V=1
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%if 0%{?suse_version} <= 1130
%{__rm} %{buildroot}%{_datadir}/locale/kg/LC_MESSAGES/*
%endif
%find_lang gtk30
%find_lang gtk30-properties
install -m 644 -D %{S:2} %{buildroot}%{_sysconfdir}/gtk-3.0/gtkrc
@@ -408,8 +414,9 @@ fi
%dir %{_sysconfdir}/gtk-3.0
%dir %{_libdir}/gtk-3.0
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}
%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/engines
%{_libdir}/gtk-3.0/%{gtk_binary_version}/engines/libpixmap.so
# FIXME: libpixmap was removed in favour of libpixbuf, which does not yet exist.
#%dir %{_libdir}/gtk-3.0/%{gtk_binary_version}/engines
#%{_libdir}/gtk-3.0/%{gtk_binary_version}/engines/libpixbuf.so
%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