]> TLD Linux GIT Repositories - packages/xrdp.git/blobdiff - xrdp.spec
- updated to 0.9.25.1, partial PLD merge
[packages/xrdp.git] / xrdp.spec
index a1f54d9db3ff554f3477dd9e7c9497c5e670aa95..aea575b2d8b9b15db068f1bed7e8b401427168dd 100644 (file)
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -1,13 +1,13 @@
 Summary:       Remote desktop server
 Summary(pl.UTF-8):     Serwer remote desktop
 Name:          xrdp
-Version:       0.9.15
+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: e5396685a0b07900975c9a7e9b8dd6dc
+# Source0-md5: f30ad85ce78c8542d4f7b03c28c8815f
 Source1:       %{name}.init
 Source2:       %{name}.pamd
 Source3:       %{name}.README.TLD
@@ -20,10 +20,12 @@ 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
@@ -40,6 +42,7 @@ Requires(pre):        /usr/sbin/groupadd
 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
@@ -110,11 +113,17 @@ install %{SOURCE4} README.TLD.pl
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-cd librfxcodec
+cd libpainter
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ../librfxcodec
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
@@ -124,12 +133,18 @@ cd ..
 %configure \
        --enable-fdkaac \
        --enable-fuse \
+       --enable-ipv6 \
        --enable-mp3lame \
        --enable-opus \
        --enable-pam-config=redhat \
+       --enable-painter \
        --enable-pixman \
-       --enable-tjpeg
-%{__make} V=1
+       --disable-silent-rules \
+       --enable-tjpeg \
+       --enable-vsock \
+       --with-imlib2
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -177,9 +192,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.txt
-%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