Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > f78c4edf48aae23d3d8131383fa1a90a > files > 6

rdesktop-1.5.0-1.2mdv2007.1.src.rpm

%define	name	rdesktop
%define	version	1.5.0
%define subrel 2
%define	release	%mkrel 1

Summary:	RDP client
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Terminals
URL:		http://www.rdesktop.org/
Source0:	http://prdownloads.sourceforge.net/rdesktop/%{name}-%{version}.tar.bz2
# fix bug 30452, patch taken from upstream
Patch0:		rdesktop-fix-depth-crash-1.5.0.patch 
Patch1:		rdesktop-cvs-CVE-2008-1801.patch
Patch2:		rdesktop-cvs-CVE-2008-1802.patch
Patch3:		rdesktop-cvs-CVE-2008-1803.patch
BuildRequires:	openssl-devel XFree86-devel gmp-devel libao-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
rdesktop is an open source client for Windows NT Terminal
Server and Windows 2000 Terminal Services, capable of
natively speaking Remote Desktop Protocol (RDP) in order
to present the user's NT desktop. Unlike Citrix ICA, no
server extensions are required.
 
rdesktop currently runs on most UNIX based platforms with
the X Window System, and other ports should be fairly
straightforward.
rdesktop is used through rfbdrake.

%prep

%setup -q
%patch0 -p1
%patch1 -p0 -b .cve-2008-1801
%patch2 -p0 -b .cve-2008-1802
%patch3 -p0 -b .cve-2008-1803
# lib64 fix
perl -pi -e "s|\/lib\"|\/%{_lib}\"|g" configure*
perl -pi -e "s|\/lib\ |\/%{_lib}\ |g" configure*

%build

%configure2_5x \
    --with-openssl=%{_prefix} \
    --with-libao=%{_prefix} \
    --with-sound=libao \
    --with-ipv6

%make

chmod 644 COPYING
chmod 644 doc/*

%install
rm -rf %{buildroot}

%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING doc/*.txt doc/AUTHORS doc/HACKING doc/TODO
%{_bindir}/rdesktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/keymaps
%{_mandir}/man1/*




%changelog
* Wed May 14 2008 Vincent Danen <vdanen@mandriva.com> 1.5.0-1.2mdv2007.1
- P1: security fix for CVE-2008-1801
- P2: security fix for CVE-2008-1802
- P3: security fix for CVE-2008-1803

* Thu Jun 14 2007 Michael Scherer <misc@mandriva.org> 1.5.0-1.1mdv2007.1
+ Revision: 39472
- add patch1, taken from upstream, to fix bug 30452, rdesktop crashing when accessing a win2k3 server
  on client with a 16 bits display.

  + Andreas Hasenack <andreas@mandriva.com>
    - branched cooker into 2007.1 (will have to revert some recent changes)


(none)