Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hendwolt
freerdp3
freerdp3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freerdp3.spec of Package freerdp3
# # spec file for package freerdp # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # Copyright (c) 2020 Hendrik Woltersdorf # %define sover 3 %define gitrelease git20240222 # rpm does not automatically find this: %define libname lib%{name} # lto aus ##define _lto_cflags ##{nil} Name: freerdp%{sover} #Version: 3.2.0.dev~##{gitrelease} Version: 3.5.1 Release: 0 Summary: Remote Desktop Viewer Client License: Apache-2.0 Group: Productivity/Networking/Other Url: http://www.freerdp.com/ Source0: freerdp-%{version}.zip ##Source9: baselibs.conf ##Patch0: 8727.patch ##Patch1: crash_virt_desk.patch BuildRequires: cmake BuildRequires: cups-devel BuildRequires: dbus-1-glib-devel BuildRequires: desktop-file-utils BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig ##BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libpcsclite) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(x11) BuildRequires: zlib-devel BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xtst) ##BuildRequires: ffmpeg BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libusb) BuildRequires: libgsm-devel #BuildRequires: libudev-devel BuildRequires: libxml2-devel BuildRequires: libxslt-tools BuildRequires: unzip BuildRequires: libmp3lame-devel BuildRequires: cairo-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(xdmcp) BuildRequires: pkgconfig(libjpeg) BuildRequires: libjpeg-devel BuildRequires: pkgconfig(soxr) BuildRequires: fuse3-devel BuildRequires: libSDL2-devel BuildRequires: libSDL2_ttf-devel BuildRequires: cJSON-devel BuildRequires: pkcs11-helper-devel ##BuildRequires: webkit2gtk4-devel ##{?suse_build_hwcaps_libs} Requires: lib%{name} = %{version}-%{release} %description FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP) following the Microsoft Open Specifications. This package provides the client application. %package -n %{libname} Summary: Remote Desktop Viewer Library Group: System/Libraries Provides: lib%{name} = %{version}-%{release} %description -n %{libname} FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP) following the Microsoft Open Specifications. This package provides the shared library. %package devel Summary: Development Files for %{name} Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel This package contains development files necessary for developing applications based on libfreerdp. %prep %autosetup -p1 -n freerdp-%{version} %build if [ -z "$SOURCE_DATE_EPOCH" ]; then find . -type f -name "*.c" -exec perl -i -pe 's{__(DATE|TIME)__}{""}g' "{}" "+" fi ##export GSS_ROOT_FLAVOUR=MIT cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DWITH_CUPS=ON \ -DWITH_CLIENT=ON \ -DWITH_CLIENT_SDL=ON \ -DWITH_WEBVIEW=OFF \ -DWITH_PCSC=ON \ -DWITH_ALSA=ON \ -DWITH_PULSE=ON \ -DWITH_OSS=OFF \ -DWITH_DIRECTFB=OFF \ -DWITH_JPEG=ON \ -DWITH_GSM=ON \ -DWITH_GSTREAMER_1_0=ON \ -DWITH_IPP=OFF \ -DWITH_OPENSSL=ON \ -DWITH_CHANNELS=ON \ -DWITH_X11=ON \ -DWITH_XCURSOR=ON \ -DWITH_XEXT=ON \ -DWITH_XKBFILE=ON \ -DWITH_XI=ON \ -DWITH_XINERAMA=ON \ -DWITH_XRENDER=ON \ -DWITH_XV=ON \ -DWITH_ZLIB=ON \ -DWITH_KRB5=OFF \ -DWITH_GSSAPI=OFF \ -DWITH_SERVER=ON \ -DWITH_SSE2=ON \ -DWITH_DEBUG_SCARD=OFF \ -DWITH_SMARTCARD_INSPECT=ON \ -DWITH_ICU=ON \ -DWITH_FFMPEG=ON \ -DWITH_DSP_FFMPEG=ON \ -DWITH_WAYLAND=ON \ -DWITH_SANITIZE_ADDRESS=OFF \ -DWITH_LIBSYSTEMD=ON \ -DCMAKE_NO_BUILTIN_CHRPATH=ON \ -DWITH_LAME=ON \ -DWITH_CAIRO=ON \ -DCHANNEL_URBDRC_CLIENT=ON \ -DCHANNEL_URBDRC=ON \ -DWITH_SOXR=ON \ -DWITH_FUSE2=OFF \ -DALLOW_IN_SOURCE_BUILD=ON \ -DWITH_BINARY_VERSIONING=ON \ . %install make install DESTDIR=%{buildroot} INSTALL='install -p' # remove test icons rm %{buildroot}/%{_datarootdir}/FreeRDP3/images/* %fdupes -s %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc LICENSE README.md ChangeLog %{_bindir}/xfreerdp%{sover} %{_bindir}/freerdp-shadow-cli%{sover} %{_bindir}/freerdp-proxy%{sover} %{_bindir}/wlfreerdp%{sover} %{_bindir}/winpr-hash%{sover} %{_bindir}/winpr-makecert%{sover} %{_mandir}/man*/* %{_bindir}/sdl-freerdp%{sover} %{_bindir}/sfreerdp%{sover} %{_bindir}/sfreerdp-server%{sover} %files -n %{libname} %defattr(-,root,root) %doc LICENSE %dir %{_libdir}/freerdp%{sover} %dir %{_libdir}/freerdp%{sover}/proxy %{_libdir}/lib*.so.* ##{_libdir}/freerdp##{sover}/lib*.so %{_libdir}/freerdp%{sover}/proxy/proxy*.so %files devel %defattr(-,root,root) %{_includedir}/freerdp%{sover}/ %{_includedir}/winpr%{sover}/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/freerdp*%{sover}.pc %{_libdir}/pkgconfig/winpr*%{sover}.pc %{_libdir}/cmake/FreeRDP*%{sover}/ %{_libdir}/cmake/WinPR%{sover}/ %{_libdir}/cmake/WinPR-tools%{sover}/ %{_includedir}/uwac0/ %{_libdir}/pkgconfig/uwac0.pc %{_libdir}/cmake/uwac0/ %{_includedir}/rdtk0/ %{_libdir}/cmake/rdtk0/ %{_libdir}/pkgconfig/rdtk0.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor