2019-11-29 21:43:05 +08:00
|
|
|
Name: freerdp
|
2022-05-07 15:27:45 +08:00
|
|
|
Version: 2.7.0
|
|
|
|
|
Release: 1
|
2019-11-29 21:43:05 +08:00
|
|
|
Epoch: 2
|
|
|
|
|
Summary: A Remote Desktop Protocol Implementation
|
2021-01-12 10:33:11 +08:00
|
|
|
License: Apache-2.0
|
2019-11-29 21:43:05 +08:00
|
|
|
URL: http://www.freerdp.com
|
|
|
|
|
|
2021-11-02 14:32:43 +08:00
|
|
|
Source0: https://github.com/FreeRDP/FreeRDP/archive/refs/tags/%{version}.tar.gz
|
|
|
|
|
Patch0001: Fix-freerdp-shadow-cli-exit-codes-for-help-and-version.patch
|
2019-11-29 21:43:05 +08:00
|
|
|
|
|
|
|
|
BuildRequires: gcc gcc-c++ alsa-lib-devel cmake >= 2.8 cups-devel gsm-devel libXrandr-devel libXv-devel
|
|
|
|
|
BuildRequires: libjpeg-turbo-devel libjpeg-turbo-devel libX11-devel libXcursor-devel libxkbfile-devel
|
|
|
|
|
BuildRequires: libXdamage-devel libXext-devel libXi-devel libXinerama-devel libxkbfile-devel pam-devel
|
|
|
|
|
BuildRequires: xmlto zlib-devel pkgconfig(dbus-1) pkgconfig(dbus-glib-1) pkgconfig(gstreamer-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) pkgconfig(gstreamer-base-1.0) pkgconfig(gstreamer-app-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0) pkgconfig(gstreamer-fft-1.0) pkgconfig(gstreamer-video-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) pkgconfig(libpcsclite) pkgconfig(libpulse)
|
|
|
|
|
BuildRequires: pkgconfig(libpulse) pkgconfig(libsystemd) pkgconfig(wayland-scanner)
|
2021-01-12 10:33:11 +08:00
|
|
|
BuildRequires: pkgconfig(xkbcommon) pkgconfig(openssl) pkgconfig(wayland-client) pkgconfig(cairo)
|
|
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2019-11-29 21:43:05 +08:00
|
|
|
|
|
|
|
|
Requires: libwinpr = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-libs = %{?epoch}:%{version}-%{release} xfreerdp = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-plugins = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-server = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-server < %{?epoch}:%{version}-%{release} %{name}-plugins < 1:1.1.0
|
|
|
|
|
Obsoletes: %{name}-libs < %{?epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
FreeRDP is a client implementation of the Remote Desktop Protocol (RDP) that follows Microsoft's
|
|
|
|
|
open specifications. This package provides the client applications xfreerdp and wlfreerdp.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development support for freerdp
|
|
|
|
|
Requires: %{name} = %{?epoch}:%{version}-%{release} pkgconfig cmake >= 2.8
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development headers and libraries for freerdp-libs.
|
|
|
|
|
|
|
|
|
|
%package -n libwinpr
|
|
|
|
|
Summary: Windows Portable Runtime
|
|
|
|
|
Provides: %{name}-libwinpr = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-libwinpr < %{?epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n libwinpr
|
|
|
|
|
WinPR provides API compatibility for non-Windows applications surroundings.
|
|
|
|
|
On Windows, you can use the native API and use it to change the code.
|
|
|
|
|
|
|
|
|
|
%package -n libwinpr-devel
|
|
|
|
|
Summary: Windows Portable Runtime development headers and libraries
|
|
|
|
|
Requires: libwinpr = %{?epoch}:%{version}-%{release} pkgconfig cmake >= 2.8
|
|
|
|
|
|
|
|
|
|
%description -n libwinpr-devel
|
|
|
|
|
Development headers and libraries for freerdp-libwinpr.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Help documents for freerdp
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Man pages and other related help documents for freerdp.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-01-12 10:33:11 +08:00
|
|
|
%autosetup -p1 -n FreeRDP-%{version}
|
2019-11-29 21:43:05 +08:00
|
|
|
|
|
|
|
|
find . -name "*.h" -exec chmod 664 {} \;
|
|
|
|
|
find . -name "*.c" -exec chmod 664 {} \;
|
|
|
|
|
%build
|
|
|
|
|
%cmake %{?_cmake_skip_rpath} \
|
|
|
|
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} -DWITH_ALSA=ON -DWITH_CUPS=ON -DWITH_CHANNELS=ON \
|
|
|
|
|
-DBUILTIN_CHANNELS=OFF -DWITH_CLIENT=ON -DWITH_DIRECTFB=OFF -DWITH_FFMPEG=OFF -DWITH_GSM=ON \
|
|
|
|
|
-DWITH_GSSAPI=OFF -DWITH_GSTREAMER_1_0=ON -DWITH_GSTREAMER_0_10=OFF \
|
|
|
|
|
-DGSTREAMER_1_0_INCLUDE_DIRS=%{_includedir}/gstreamer-1.0 -DWITH_IPP=OFF -DWITH_JPEG=ON \
|
|
|
|
|
-DWITH_MANPAGES=ON DWITH_OPENH264=OFF \
|
|
|
|
|
-DWITH_OPENSSL=ON -DWITH_PCSC=ON -DWITH_PULSE=ON -DWITH_SERVER=ON -DWITH_SERVER_INTERFACE=ON \
|
|
|
|
|
-DWITH_SHADOW_X11=ON -DWITH_SHADOW_MAC=ON -DWITH_WAYLAND=ON -DWITH_X11=ON \
|
|
|
|
|
-DWITH_X264=OFF -DWITH_XCURSOR=ON -DWITH_XEXT=ON \
|
2019-12-03 17:18:59 +08:00
|
|
|
-DWITH_XKBFILE=ON -DWITH_XI=ON -DWITH_XINERAMA=ON -DWITH_XRENDER=ON -DWITH_XTEST=OFF \
|
|
|
|
|
-DWITH_XV=ON -DWITH_ZLIB=ON \
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
-DWITH_SSE2=ON \
|
|
|
|
|
%else
|
|
|
|
|
-DWITH_SSE2=OFF \
|
|
|
|
|
%endif
|
|
|
|
|
.
|
2019-11-29 21:43:05 +08:00
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
cd winpr/tools/makecert-cli
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%make_install COMPONENT=tools
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name "*.a" -delete
|
|
|
|
|
|
2021-11-08 14:53:57 +08:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
|
|
|
|
echo "%{_libdir}/freerdp2" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
|
|
2019-11-29 21:43:05 +08:00
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post -n libwinpr -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libwinpr -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
2021-01-12 10:33:11 +08:00
|
|
|
%doc README.md ChangeLog
|
2019-11-29 21:43:05 +08:00
|
|
|
%{_libdir}/freerdp2/
|
2021-01-12 10:33:11 +08:00
|
|
|
%{_bindir}/{winpr-hash,winpr-makecert,wlfreerdp,xfreerdp,freerdp-shadow-cli,freerdp-proxy}
|
2019-11-29 21:43:05 +08:00
|
|
|
%{_libdir}/{libfreerdp*,libuwac0}.so.*
|
2021-11-08 14:53:57 +08:00
|
|
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
2019-11-29 21:43:05 +08:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/{freerdp2,uwac0}
|
|
|
|
|
%{_libdir}/cmake/{FreeRDP*,uwac0}
|
|
|
|
|
%{_libdir}/{libfreerdp*,libuwac0}.so
|
|
|
|
|
%{_libdir}/pkgconfig/{freerdp*,uwac0}.pc
|
|
|
|
|
|
|
|
|
|
%files -n libwinpr
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
2019-12-03 17:18:59 +08:00
|
|
|
%license LICENSE
|
2021-01-12 10:33:11 +08:00
|
|
|
%doc README.md ChangeLog
|
2019-11-29 21:43:05 +08:00
|
|
|
%{_libdir}/{libwinpr2.so.*,libwinpr-tools2.so.*}
|
|
|
|
|
|
|
|
|
|
%files -n libwinpr-devel
|
|
|
|
|
%{_libdir}/cmake/WinPR2
|
|
|
|
|
%{_includedir}/winpr2
|
|
|
|
|
%{_libdir}/{libwinpr2,libwinpr-tools2}.so
|
|
|
|
|
%{_libdir}/pkgconfig/{winpr2,winpr-tools2}.pc
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-07 15:27:45 +08:00
|
|
|
* Sat May 07 2022 houyingchao <houyingchao@h-partners.com> - 2:2.7.0-1
|
|
|
|
|
- Upgrade to 2.7.0
|
|
|
|
|
- Fix CVE-2022-24882 CVE-2022-24883
|
|
|
|
|
|
2021-11-08 14:53:57 +08:00
|
|
|
* Mon Nov 08 2021 lingsheng <lingsheng@huawei.com> - 2:2.4.1-2
|
|
|
|
|
- Add ldconfig config file to fix freerdp-proxy dynamic library dependency
|
|
|
|
|
|
2021-11-02 14:32:43 +08:00
|
|
|
* Tue Nov 2 2021 yaoxin <yaoxin30@huawei.com> - 2:2.4.1-1
|
|
|
|
|
- Upgrade freerdp to 2.4.1 for fix CVE-2021-41159, CVE-2021-41160
|
|
|
|
|
|
2021-01-27 21:06:07 +08:00
|
|
|
* Wed Jan 27 2021 sunguoshuai <sunguoshuai@huawei.com> - 2:2.2.0-2
|
|
|
|
|
- Fix xfreerdp and free-rdpshadow-cli exit codes for help and similar option
|
|
|
|
|
|
2021-01-12 10:33:11 +08:00
|
|
|
* Wed Jan 6 2021 zhanghua <zhanghua40@huawei.com> - 2:2.2.0-1
|
|
|
|
|
- Type: cves
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: update to 2.2.0 to fix cves, fix changelog version
|
|
|
|
|
|
|
|
|
|
* Wed May 20 2020 maqiang <maqiang42@huawei.com> - 2:2.0.0-45.rc3
|
2020-05-20 19:22:09 +08:00
|
|
|
- Change release
|
|
|
|
|
|
2021-01-12 10:33:11 +08:00
|
|
|
* Wed Nov 20 2019 duyeyu <duyeyu@huawei.com> - 2:2.0.0-44.rc3
|
2019-11-29 21:43:05 +08:00
|
|
|
- Package init
|