]>
Commit | Line | Data |
---|---|---|
4db8e603 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with vnc # build rdp2vnc | |
096bac62 | 4 | # |
940eb6db | 5 | Summary: RDP client for accessing Windows NT Terminal Server |
da3e5476 | 6 | Summary(pl.UTF-8): Klient RDP umożliwiający dostęp do Terminal Serwera WinNT |
940eb6db | 7 | Name: rdesktop |
262ab216 | 8 | Version: 1.6.0 |
5fc65f54 | 9 | Release: 5 |
940eb6db AM |
10 | License: GPL |
11 | Group: X11/Applications/Networking | |
3eeba48a | 12 | Source0: http://dl.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz |
262ab216 | 13 | # Source0-md5: c6fcbed7f0ad7e60ac5fcb2d324d8b16 |
096bac62 | 14 | Patch0: %{name}-vnc.patch |
e3229496 | 15 | Patch1: %{name}-xinerama.patch |
940eb6db | 16 | URL: http://www.rdesktop.org/ |
262ab216 | 17 | BuildRequires: alsa-lib-devel |
382ea50d | 18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
096bac62 | 20 | %{?with_vnc:BuildRequires: libvncserver-devel} |
4db8e603 | 21 | BuildRequires: openssl-devel >= 0.9.7d |
262ab216 | 22 | BuildRequires: pcsc-lite-devel |
382ea50d | 23 | BuildRequires: pkgconfig |
4db8e603 | 24 | BuildRequires: xorg-lib-libX11-devel |
e3229496 | 25 | BuildRequires: xorg-proto-xineramaproto-devel |
940eb6db AM |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
940eb6db | 28 | %description |
1263d617 | 29 | rdesktop is an open source client for Windows NT or Windows 2000 |
30 | Terminal Server, capable of natively speaking its Remote Desktop | |
31 | Protocol (RDP) in order to present the user's NT desktop. Unlike | |
32 | Citrix ICA, no server extensions are required. | |
940eb6db | 33 | |
2bbcd85a JR |
34 | %description -l pl.UTF-8 |
35 | rdesktop jest klientem natywnie używającym protokołu RDP (Remote | |
36 | Desktop Protocol) umożliwiającego dostęp do Terminal Servera Windows | |
37 | NT lub Windows 2000. W przeciwieństwie do rozwiązań typu Citrix nie są | |
38 | wymagane żadne rozszerzenia po stronie serwera. | |
940eb6db AM |
39 | |
40 | %prep | |
d6c04d07 | 41 | %setup -q |
096bac62 | 42 | %patch0 -p1 |
e3229496 | 43 | %patch1 -p0 |
940eb6db AM |
44 | |
45 | %build | |
e3229496 | 46 | %{__aclocal} |
47 | %{__autoconf} | |
096bac62 AM |
48 | %configure \ |
49 | %{?with_vnc:--with-libvncserver} \ | |
262ab216 AM |
50 | --enable-smartcard \ |
51 | --with-sound=alsa \ | |
096bac62 | 52 | --with-ipv6 |
492455a5 | 53 | |
096bac62 | 54 | %{__make} |
940eb6db AM |
55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
940eb6db | 58 | |
492455a5 JB |
59 | %{__make} install \ |
60 | DESTDIR=$RPM_BUILD_ROOT | |
940eb6db AM |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
1e789027 | 67 | %doc doc/ |
492455a5 | 68 | %attr(755,root,root) %{_bindir}/rdesktop |
4db8e603 JB |
69 | %{_datadir}/rdesktop |
70 | %{_mandir}/man1/rdesktop.1* |