Summary: RDP client for accessing Windows NT Terminal Server
-Summary(pl): Klient RDP umo¿liwiaj±cy dostêp do Terminal Serwera WinNT
+Summary(pl.UTF-8): Klient RDP umożliwiający dostęp do Terminal Serwera WinNT
Name: rdesktop
-Version: 1.0.0
-Release: 1.pl19
-License: GPL
+Version: 1.8.3
+Release: 2
+License: GPL v3+
Group: X11/Applications/Networking
-Group(de): X11/Applikationen/Netzwerkwesen
-Group(pl): X11/Aplikacje/Sieciowe
-Source0: http://prdownloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
-Patch0: http://bibl4.oru.se/projects/rdesktop/%{name}-unified-patch19-6.bz2
-Patch1: %{name}-opt.patch
-Patch2: %{name}-endian.patch
+Source0: http://downloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
+# Source0-md5: 86e8b368a7c715e74ded92e0d7912dc5
+Patch0: %{name}-xinerama.patch
+Patch1: %{name}-heimdal.patch
+Patch2: openssl.patch
URL: http://www.rdesktop.org/
-BuildRequires: XFree86-devel
-BuildRequires: gmp-devel >= 3.1.1
+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
+BuildRequires: pkgconfig
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXrandr-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
-rdesktop is an open source client for Windows NT Terminal Server,
-capable of natively speaking its Remote Desktop Protocol (RDP) in
-order to present the user's NT desktop. Unlike Citrix ICA, no server
-extensions are required. Support for Windows 2000 Terminal Services is
-planned, although not implemented at this time.
-
-%description -l pl
-rdesktop jest klientem natywnie u¿ywaj±cym protoko³u RDP (Remote
-Desktop Protocol) umo¿liwiaj±cego dostêp do Terminal Servera Windows
-NT. W przeciwieñstwie do rozwi±zañ typu Citrix nie s± wymagane ¿adne
-rozszerzenia po stronie serwera. Wsparcie dla Windows 2000 Terminal
-Services jest planowane.
+rdesktop is an open source client for Windows NT or Windows 2000
+Terminal Server, capable of natively speaking its Remote Desktop
+Protocol (RDP) in order to present the user's NT desktop. Unlike
+Citrix ICA, no server extensions are required.
+
+%description -l pl.UTF-8
+rdesktop jest klientem natywnie używającym protokołu RDP (Remote
+Desktop Protocol) umożliwiającego dostęp do Terminal Servera Windows
+NT lub Windows 2000. W przeciwieństwie do rozwiązań typu Citrix nie są
+wymagane żadne rozszerzenia po stronie serwera.
%prep
%setup -q
-%patch0 -p2
+%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
-%{__make} \
- CFLAGSOPT="%{rpmcflags}" \
- LDFLAGSOPT="%{rpmldflags}"
+%{__aclocal}
+%{__autoconf}
+%configure \
+ --enable-credssp \
+ --enable-smartcard \
+ --with-ipv6 \
+ --with-sound=alsa
+# note: --with-libvncserver requires vnc/ code, which don't exist
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-
-install %{name} $RPM_BUILD_ROOT%{_bindir}
-install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
-gzip -9nf CHANGES readme.txt
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%doc README doc/
+%attr(755,root,root) %{_bindir}/rdesktop
+%{_datadir}/rdesktop
+%{_mandir}/man1/rdesktop.1*