Summary: Remote desktop server
Summary(pl.UTF-8): Serwer remote desktop
Name: xrdp
-Version: 0.9.19
+Version: 0.9.25.1
Release: 1
License: Apache v2.0
Group: X11/Applications/Networking
#Source0Download: https://github.com/neutrinolabs/xrdp/releases
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 2e60a2e874f95723a4cdd0b466bbe7e4
+# Source0-md5: f30ad85ce78c8542d4f7b03c28c8815f
Source1: %{name}.init
Source2: %{name}.pamd
Source3: %{name}.README.TLD
Patch0: config.patch
Patch1: quiet.patch
Patch2: x32.patch
-Patch3: linker.patch
URL: http://xrdp.org/
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.7.2
BuildRequires: fdk-aac-devel >= 0.1.0
+BuildRequires: imlib2-devel >= 1.4.5
BuildRequires: lame-libs-devel
BuildRequires: libfuse-devel >= 2.6
BuildRequires: libjpeg-turbo-devel
BuildRequires: libtool
+BuildRequires: nasm
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: opus-devel
BuildRequires: pam-devel
Requires: %{name}-libs = %{version}-%{release}
Requires: /usr/bin/Xvnc
Requires: fdk-aac >= 0.1.0
+Requires: imlib2 >= 1.4.5
Requires: libfuse >= 2.6
Requires: openssl >= 0.9.8
Requires: pixman >= 0.1.0
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
install %{SOURCE3} README.TLD
install %{SOURCE4} README.TLD.pl
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd libpainter
+%{__libtoolize}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-cd librfxcodec
+cd ../librfxcodec
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%configure \
--enable-fdkaac \
--enable-fuse \
+ --enable-ipv6 \
--enable-mp3lame \
--enable-opus \
--enable-pam-config=redhat \
+ --enable-painter \
--enable-pixman \
+ --disable-silent-rules \
--enable-tjpeg \
- --enable-painter \
- --enable-ipv6 \
--enable-vsock \
- --with-imlib2="yes"
-%{__make} V=1
+ --with-imlib2
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.TLD
-%doc README.TLD.pl
+%doc COPYING NEWS.md README.md README.TLD
+%lang(pl) %doc README.TLD.pl
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sesman
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.sesman
%attr(640,root,root) /etc/pam.d/xrdp-sesman