]> git.pld-linux.org Git - packages/rdesktop.git/blobdiff - rdesktop.spec
- rel 3; fix openssl 1.1 build
[packages/rdesktop.git] / rdesktop.spec
index c67190dfadb54014e360cf34d284cd0dab3398e8..faa3a1080cfa8c52195ea350766d6a9a6e02b053 100644 (file)
@@ -1,20 +1,27 @@
-%bcond_with    vnc
-#
 Summary:       RDP client for accessing Windows NT Terminal Server
-Summary(pl.UTF-8):   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.5.0
-Release:       1
-License:       GPL
+Version:       1.8.3
+Release:       2
+License:       GPL v3+
 Group:         X11/Applications/Networking
-Source0:       http://dl.sourceforge.net/rdesktop/%{name}-%{version}.tar.gz
-# Source0-md5: 433546f60fc0f201e99307ba188369ed
-Patch0:                %{name}-vnc.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: 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: libao-devel
-%{?with_vnc:BuildRequires:     libvncserver-devel}
+BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXrandr-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,13 +39,18 @@ wymagane żadne rozszerzenia po stronie serwera.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
 %configure \
-       %{?with_vnc:--with-libvncserver} \
-       --with-libao \
-       --with-sound=libao \
-       --with-ipv6
+       --enable-credssp \
+       --enable-smartcard \
+       --with-ipv6 \
+       --with-sound=alsa
+# note: --with-libvncserver requires vnc/ code, which don't exist
 
 %{__make}
 
@@ -53,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc/
+%doc README doc/
 %attr(755,root,root) %{_bindir}/rdesktop
-%attr(755,root,root) %{_datadir}/rdesktop
-%{_mandir}/man?/*
+%{_datadir}/rdesktop
+%{_mandir}/man1/rdesktop.1*
This page took 0.051683 seconds and 4 git commands to generate.