Summary(pl.UTF-8): Biblioteka GNU Data Access
Name: libgda3
Version: 3.1.5
-Release: 18
+Release: 19
License: LGPL v2+/GPL v2+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgda/3.1/libgda-%{version}.tar.bz2
Patch2: glib232.patch
Patch3: format-security.patch
Patch4: mdb-0.7.patch
+Patch5: x32.patch
URL: http://www.gnome-db.org/
%{?with_firebird:BuildRequires: Firebird-devel}
BuildRequires: autoconf >= 2.59
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%if %{without gamin}
%{__sed} -i -e 's#PKG_CHECK_MODULES(GAMIN.*)#have_fam=no#g' configure.in
--- /dev/null
+--- libgda-3.1.5/configure.in.orig 2016-05-05 18:15:14.000000000 +0200
++++ libgda-3.1.5/configure.in 2016-05-05 18:20:11.722298716 +0200
+@@ -213,7 +213,12 @@
+ dnl Test for lib64 architectures
+ dnl FIXME: should really check target
+ case $host_cpu in
+-x86_64* | sparc64* | s390x* | ppc64* | powerpc64* ) lib="lib64";;
++sparc64* | s390x* | ppc64* | powerpc64* ) lib="lib64";;
++x86_64*) case $host_os in
++ *-gnux32) lib="libx32";;
++ *) lib="lib64";;
++ esac
++ ;;
+ *) lib="lib";;
+ esac
+