]> git.pld-linux.org Git - packages/rdesktop.git/blob - rdesktop.spec
- rel 5
[packages/rdesktop.git] / rdesktop.spec
1 #
2 # Conditional build:
3 %bcond_with     vnc     # build rdp2vnc
4 #
5 Summary:        RDP client for accessing Windows NT Terminal Server
6 Summary(pl.UTF-8):      Klient RDP umożliwiający dostęp do Terminal Serwera WinNT
7 Name:           rdesktop
8 Version:        1.6.0
9 Release:        5
10 License:        GPL
11 Group:          X11/Applications/Networking
12 Source0:        http://dl.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
13 # Source0-md5:  c6fcbed7f0ad7e60ac5fcb2d324d8b16
14 Patch0:         %{name}-vnc.patch
15 Patch1:         %{name}-xinerama.patch
16 URL:            http://www.rdesktop.org/
17 BuildRequires:  alsa-lib-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 %{?with_vnc:BuildRequires:      libvncserver-devel}
21 BuildRequires:  openssl-devel >= 0.9.7d
22 BuildRequires:  pcsc-lite-devel
23 BuildRequires:  pkgconfig
24 BuildRequires:  xorg-lib-libX11-devel
25 BuildRequires:  xorg-proto-xineramaproto-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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.
33
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p0
44
45 %build
46 %{__aclocal}
47 %{__autoconf}
48 %configure \
49         %{?with_vnc:--with-libvncserver} \
50         --enable-smartcard \
51         --with-sound=alsa \
52         --with-ipv6
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc doc/
68 %attr(755,root,root) %{_bindir}/rdesktop
69 %{_datadir}/rdesktop
70 %{_mandir}/man1/rdesktop.1*
This page took 0.070367 seconds and 3 git commands to generate.