Name: xpra Version: 5.0.4 Release: 2mamba Summary: A tool like screen for X allowing to direct X programs display to another X host Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/Xpra-org/xpra/ Source: http://xpra.org/src/xpra-%{version}.tar.xz Patch0: xpra-4.4.2-upstream_clamp_clock_values_to_unsigned_long.patch Patch1: xpra-4.4.5-add_missing_fake_function.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libXres-devel BuildRequires: libXtst-devel BuildRequires: libat-spi2-core-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavif-devel BuildRequires: libavutil-ffmpeg-devel BuildRequires: libbrotli-devel BuildRequires: libcairo-devel BuildRequires: libdrm-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libjpeg-devel BuildRequires: liblz4-devel BuildRequires: libpam-devel BuildRequires: libpango-devel BuildRequires: libprocps-devel BuildRequires: libprocps3-devel BuildRequires: libpython311-devel BuildRequires: libqrencode-devel BuildRequires: libswscale-ffmpeg-devel BuildRequires: libsystemd-devel BuildRequires: libvpx-devel BuildRequires: libwebp-devel BuildRequires: libx264-devel BuildRequires: libxkbfile-devel ## AUTOBUILDREQ-END Requires: xf86-video-dummy Requires: xorg-server Requires: pygobject-py3 Requires: python-cryptography-py3 Requires: python-cups-py3 Requires: python-Pillow-py3 Requires: python-netifaces-py3 Requires: python-numpy-py3 Requires: python-paramiko-py3 Requires: python-opengl-py3 %description Xpra is 'screen for X' -- it allows you to run X programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. %debug_package # Don't clean build at the end %global __spec_rmbuild_cmd /bin/true %prep %setup -q #-D -T #:<< _EOF #%patch 0 -p1 -b .upstream_clamp_clock_values_to_unsigned_long #%patch 1 -p1 -b .add_missing_fake_function sed -i "s|systemd_dir = .*|systemd_dir = \"%{_unitdir}\"|" setup.py %build CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python3_inc} \ --install-lib=%{python3_sitearch} \ --without-docs \ --record=%{name}.filelist sed -i "s|%{buildroot}||" %{buildroot}%{_sysconfdir}/xpra/conf.d/55_server_x11.conf sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %systemd_post xpra.socket if [ $1 -ge 1 ]; then echo "allowed_users = anybody" > %{_sysconfdir}/X11/Xwrapper.config fi : %preun %systemd_preun xpra.socket : %postun %systemd_postun xpra.socket : %files -f %{name}.filelist %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/xpra/xpra.conf %config(noreplace) %{_sysconfdir}/sysconfig/xpra %config(noreplace) %{_sysconfdir}/xpra/xorg-uinput.conf %config(noreplace) %{_sysconfdir}/xpra/xorg.conf %dir %{_sysconfdir}/xpra/conf.d %config(noreplace) %{_sysconfdir}/xpra/conf.d/*.conf %dir %{_sysconfdir}/xpra/content-categories %{_sysconfdir}/xpra/content-categories/10_default.conf %dir %{_sysconfdir}/xpra/content-parent %{_sysconfdir}/xpra/content-parent/10_default.conf %dir %{_sysconfdir}/xpra/content-type %{_sysconfdir}/xpra/content-type/*.conf %dir %{_sysconfdir}/xpra/http-headers %{_sysconfdir}/xpra/http-headers/*.txt %{_sysconfdir}/pam.d/xpra %{_sysconfdir}/X11/xorg.conf.d/90-xpra-virtual.conf %{_sysconfdir}/dbus-1/system.d/xpra.conf %{_unitdir}/xpra.service %{_unitdir}/xpra.socket %{_prefix}/lib/cups/backend/xpraforwarder %dir %{_datadir}/xpra %doc COPYING %changelog * Thu Jan 18 2024 Silvan Calarco 5.0.4-2mamba - rebuilt with python3 == 3.11 * Wed Nov 29 2023 Automatic Build System 5.0.4-1mamba - automatic version update by autodist * Fri Oct 06 2023 Automatic Build System 5.0.3-1mamba - automatic version update by autodist * Fri Sep 15 2023 Silvan Calarco 5.0.2-1mamba - update to 5.0.2 * Thu Jun 08 2023 Silvan Calarco 4.4.5-1mamba - update to 4.4.5 * Tue Apr 11 2023 Silvan Calarco 4.4.4-1mamba - update to 4.4.4 * Mon Nov 21 2022 Silvan Calarco 4.4.2-2mamba - added upstream patch to fix build on 32bit platforms * Thu Nov 17 2022 Automatic Build System 4.4.2-1mamba - automatic version update by autodist * Thu Feb 25 2021 Automatic Build System 4.0.6-1mamba - automatic version update by autodist * Sat Jan 23 2021 Automatic Build System 4.0.5-1mamba - automatic version update by autodist * Thu Aug 13 2015 Silvan Calarco 0.15.1-2mamba - remove broken requirement for libxbra * Wed Jun 24 2015 Silvan Calarco 0.15.1-1mamba - package created using the webbuild interface