- new version

This commit is contained in:
Itamar Reis Peixoto 2016-12-22 21:55:36 -02:00
parent 30049d3261
commit dd6ac31dff

View File

@ -1,8 +1,8 @@
Summary: Open source remote desktop protocol (RDP) server
Name: xrdp
Epoch: 1
Version: 0.9.0
Release: 6%{?dist}
Version: 0.9.1
Release: 1%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Internet
URL: http://xrdp.sourceforge.net/
@ -11,9 +11,6 @@ Source1: xrdp-sesman.pamd
Source2: xrdp.sysconfig
Source3: xrdp.logrotate
Patch0: xrdp-0.9.0-sesman.patch
Patch1: xrdp-0.9.0-service.patch
BuildRequires: pam-devel
BuildRequires: openssl-devel
BuildRequires: autoconf
@ -42,14 +39,12 @@ terminal server / remote desktop clients.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .sesman
%patch1 -p1 -b .service
# never hardcode rpaths
%{__sed} -i -e 's/^\(AM_CONDITIONAL(GOT_PREFIX,\).*$/\1 false)/' configure.ac
# %{__sed} -i -e 's/^\(AM_CONDITIONAL(GOT_PREFIX,\).*$/\1 false)/' configure.ac
# remove unused modules from xrdp login combobox
%{__sed} -i -e '/\[xrdp1\]/,$d' xrdp/xrdp.ini
# %{__sed} -i -e '/\[xrdp1\]/,$d' xrdp/xrdp.ini
echo "
[xrdp1]
@ -74,7 +69,7 @@ echo '#!/bin/bash -l
. %{_sysconfdir}/xrdp/startwm.sh' > sesman/startwm-bash.sh
%build
./bootstrap
# ./bootstrap
%configure --enable-fuse
%{__make} %{?_smp_mflags}
@ -146,6 +141,7 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/xrdp
%config(noreplace) %{_sysconfdir}/xrdp/sesman.ini
%{_sysconfdir}/xrdp/*.sh
%{_sysconfdir}/xrdp/*.pem
%{_sysconfdir}/xrdp/km*.ini
%{_sysconfdir}/xrdp/xrdp_keyboard.ini
%{_bindir}/xrdp-genkeymap
@ -181,13 +177,17 @@ fi
%{_sysconfdir}/xrdp/pulse/default.pa
%{_unitdir}/xrdp-sesman.service
%{_unitdir}/xrdp.service
%{_includedir}/*
%{_libdir}/pkgconfig/xrdp.pc
%ghost %{_localstatedir}/log/xrdp-sesman.log
%attr(0600,root,root) %verify(not size md5 mtime) %{_sysconfdir}/xrdp/rsakeys.ini
%changelog
* Thu Dec 22 2016 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1:0.9.1-1
- new version
* Sun Mar 13 2016 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1:0.9.0-6
- enable fuse for drive redirection or clipboard file transfer