From e6c8cfe53191119ea6daca009577370e87ec3957 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 8 Sep 2008 22:52:22 +0000 Subject: [PATCH] - updated to 2.18.0 Changed files: crossmingw32-glib2.spec -> 1.35 --- crossmingw32-glib2.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/crossmingw32-glib2.spec b/crossmingw32-glib2.spec index c214265..3de07b5 100644 --- a/crossmingw32-glib2.spec +++ b/crossmingw32-glib2.spec @@ -12,12 +12,12 @@ Summary(tr.UTF-8): Yararlı ufak yordamlar kitaplığı Summary(zh_CN.UTF-8): 实用工具函数库 %define realname glib Name: crossmingw32-%{realname}2 -Version: 2.16.5 +Version: 2.18.0 Release: 1 License: LGPL v2+ Group: Development/Libraries -Source0: http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-%{version}.tar.bz2 -# Source0-md5: 039f02d47d4071322a3f00abf031e5d9 +Source0: http://ftp.gnome.org/pub/GNOME/sources/glib/2.18/glib-%{version}.tar.bz2 +# Source0-md5: 06e5afe4ce055085dc5fd9fdab527bf7 Patch0: %{name}-stacktest.patch Patch1: %{realname}2-lt.patch URL: http://www.gtk.org/ @@ -26,11 +26,11 @@ BuildRequires: automake >= 1:1.7 BuildRequires: crossmingw32-gcc BuildRequires: crossmingw32-gettext BuildRequires: crossmingw32-libiconv -BuildRequires: crossmingw32-pcre >= 7.6 +BuildRequires: crossmingw32-pcre >= 7.8 BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.16.0 Requires: crossmingw32-gettext -Requires: crossmingw32-pcre >= 7.6 +Requires: crossmingw32-pcre >= 7.8 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define no_install_post_strip 1 @@ -47,6 +47,13 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define __cc %{target}-gcc %define __cxx %{target}-g++ +%ifnarch %{ix86} +# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc +%define optflags -O2 +%endif +# -z options are invalid for mingw linker +%define filterout_ld -Wl,-z,.* + %description GLib, is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things. GLIB @@ -105,7 +112,7 @@ Summary: DLL glib2 libraries for Windows Summary(pl.UTF-8): Biblioteki DLL glib2 dla Windows Group: Applications/Emulators Requires: crossmingw32-gettext-dll -Requires: crossmingw32-pcre-dll >= 7.6 +Requires: crossmingw32-pcre-dll >= 7.8 Requires: wine %description dll -- 2.44.0