]> git.pld-linux.org Git - packages/rdesktop.git/blob - rdesktop.spec
63469dca0ef4cb8e31be64577d9b099646ecbe1a
[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:        3
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 %{?with_vnc:BuildRequires:      libvncserver-devel}
19 BuildRequires:  openssl-devel >= 0.9.7d
20 BuildRequires:  pcsc-lite-devel
21 BuildRequires:  xorg-lib-libX11-devel
22 BuildRequires:  xorg-proto-xineramaproto-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 rdesktop is an open source client for Windows NT or Windows 2000
27 Terminal Server, capable of natively speaking its Remote Desktop
28 Protocol (RDP) in order to present the user's NT desktop. Unlike
29 Citrix ICA, no server extensions are required.
30
31 %description -l pl.UTF-8
32 rdesktop jest klientem natywnie używającym protokołu RDP (Remote
33 Desktop Protocol) umożliwiającego dostęp do Terminal Servera Windows
34 NT lub Windows 2000. W przeciwieństwie do rozwiązań typu Citrix nie są
35 wymagane żadne rozszerzenia po stronie serwera.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p0
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 %configure \
46         %{?with_vnc:--with-libvncserver} \
47         --enable-smartcard \
48         --with-sound=alsa \
49         --with-ipv6
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc doc/
65 %attr(755,root,root) %{_bindir}/rdesktop
66 %{_datadir}/rdesktop
67 %{_mandir}/man1/rdesktop.1*
This page took 0.026725 seconds and 3 git commands to generate.