--- /dev/null
+diff -urN rdesktop-1.8.0.org/configure.ac rdesktop-1.8.0/configure.ac
+--- rdesktop-1.8.0.org/configure.ac 2013-08-09 08:11:22.000000000 +0200
++++ rdesktop-1.8.0/configure.ac 2013-10-24 09:12:32.000000000 +0200
+@@ -126,7 +128,7 @@
+ [static_gssglue=yes], [static_gssglue=no])
+ AS_IF([test "x$enable_credssp" != "xno"], [
+ if test -n "$PKG_CONFIG"; then
+- PKG_CHECK_MODULES(GSSGLUE, libgssglue, [WITH_CREDSSP=1], [WITH_CREDSSP=0])
++ PKG_CHECK_MODULES(GSSGLUE, heimdal-gssapi, [WITH_CREDSSP=1], [WITH_CREDSSP=0])
+ fi
+
+ if test x"$WITH_CREDSSP" = "x1"; then
+@@ -136,7 +138,7 @@
+ AS_IF([test "x$static_gssglue" != "xno"], [
+ LIBS="$LIBS -Wl,-Bstatic -lgssglue -Wl,-Bdynamic"
+ ], [
+- LIBS="$LIBS -lgssglue"
++ LIBS="$LIBS $GSSGLUE_LIBS"
+ ])
+
+ AC_DEFINE(WITH_CREDSSP)
Summary: RDP client for accessing Windows NT Terminal Server
Summary(pl.UTF-8): Klient RDP umożliwiający dostęp do Terminal Serwera WinNT
Name: rdesktop
-Version: 1.7.1
+Version: 1.8.0
Release: 1
License: GPL v3+
Group: X11/Applications/Networking
Source0: http://downloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
-# Source0-md5: c4b39115951c4a6d74f511c99b18fcf9
+# Source0-md5: 203d662ac20b22250bbbd525a9f29f3a
Patch0: %{name}-xinerama.patch
+Patch1: %{name}-heimdal.patch
URL: http://www.rdesktop.org/
BuildRequires: alsa-lib-devel
BuildRequires: autoconf >= 2.50
BuildRequires: automake
+BuildRequires: heimdal-devel
BuildRequires: libsamplerate-devel
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: pcsc-lite-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal}
%{__autoconf}
%configure \
+ --enable-credssp \
--enable-smartcard \
--with-ipv6 \
--with-sound=alsa