--- /dev/null
+diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config.in
+--- gpgme-1.2.0/src/gpgme-config.in.largefile 2010-08-11 20:11:49.000000000 +0200
++++ gpgme-1.2.0/src/gpgme-config.in 2010-08-11 20:23:45.000000000 +0200
+@@ -42,6 +42,10 @@ cflags_pthread=""
+ cflags_glib="@GLIB_CFLAGS@"
+ with_glib=
+
++if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
++ cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
++fi
++
+ output=""
+
+ usage()
+@@ -101,6 +105,9 @@ while test $# -gt 0; do
+ exit 0
+ ;;
+ --cflags)
++ if test "x$cflags_lfs" != "x"; then
++ output="$output $cflags_lfs"
++ fi
+ if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
+ output="$output -I$includedir"
+ fi
Summary(pl.UTF-8): Biblioteka dająca dostęp do funkcji GnuPG
Name: gpgme
Version: 1.3.0
-Release: 2
+Release: 3
Epoch: 1
License: LGPL v2.1+
Group: Libraries
# Source0-md5: 4784e3c6086c9c25e9a1b4d9f7c5aa96
Patch0: %{name}-info.patch
Patch1: %{name}-kill-tests.patch
+Patch2: %{name}-1.2.0-largefile.patch
URL: http://www.gnupg.org/gpgme.html
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.10
%setup -q
%patch0 -p1
%{!?with_tests:%patch1 -p1}
+%patch2 -p1
%build
%{__libtoolize}