2024-01-05 19:50:04 +01:00
Name : xpra
2024-10-11 09:41:23 +02:00
Version : 6.1.3
2024-02-08 11:50:40 +01:00
Release : 1mamba
2024-01-05 19:50:04 +01:00
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 <silvan.calarco@mambasoft.it>
2024-01-05 19:50:06 +01:00
URL : https://github.com/Xpra-org/xpra/
2024-01-05 19:50:04 +01:00
Source : http://xpra.org/src/xpra-%{version} .tar.xz
2024-01-05 19:50:05 +01:00
Patch0 : xpra-4.4.2-upstream_clamp_clock_values_to_unsigned_long.patch
2024-01-05 19:50:05 +01:00
Patch1 : xpra-4.4.5-add_missing_fake_function.patch
2024-01-05 19:50:04 +01:00
License : GPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
BuildRequires : libX11-devel
BuildRequires : libXcomposite-devel
BuildRequires : libXdamage-devel
BuildRequires : libXext-devel
BuildRequires : libXfixes-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libXi-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libXrandr-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libXres-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libXtst-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libat-spi2-core-devel
BuildRequires : libavif-devel
BuildRequires : libbrotli-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libcairo-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libdrm-devel
2024-02-08 11:50:40 +01:00
BuildRequires : libgcc
2024-01-05 19:50:04 +01:00
BuildRequires : libgdk-pixbuf-devel
BuildRequires : libglib-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libgtk3-devel
BuildRequires : libharfbuzz-devel
BuildRequires : libjpeg-devel
BuildRequires : liblz4-devel
2024-10-11 09:41:23 +02:00
BuildRequires : libopenh264-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libpam-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libpango-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libprocps-devel
2024-01-05 19:50:06 +01:00
BuildRequires : libprocps3-devel
2024-01-18 22:45:28 +01:00
BuildRequires : libpython311-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libqrencode-devel
2024-02-08 11:50:40 +01:00
BuildRequires : libstdc++6-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libsystemd-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libvpx-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libwebp-devel
BuildRequires : libx264-devel
BuildRequires : libxkbfile-devel
2024-08-03 10:26:54 +02:00
BuildRequires : libxxhash-devel
BuildRequires : libz-devel
BuildRequires : python3.11dist(pillow)
BuildRequires : python3.11dist(pygobject)
2024-01-05 19:50:04 +01:00
## AUTOBUILDREQ-END
2024-10-11 09:41:23 +02:00
BuildRequires : pycairo-devel >= 1.26.0
2024-01-05 19:50:05 +01:00
Requires : xf86-video-dummy
Requires : xorg-server
2024-10-11 09:41:23 +02:00
Requires : pycairo-py3
2024-01-18 22:45:28 +01:00
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
2024-01-05 19:50:04 +01:00
%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
2024-01-05 19:50:05 +01:00
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
2024-01-05 19:50:04 +01:00
%prep
%setup -q
2024-01-05 19:50:05 +01:00
#-D -T
#:<< _EOF
#%patch 0 -p1 -b .upstream_clamp_clock_values_to_unsigned_long
2024-01-05 19:50:06 +01:00
#%patch 1 -p1 -b .add_missing_fake_function
2024-01-05 19:50:05 +01:00
2024-01-05 19:50:05 +01:00
sed -i " s | s y s t e m d _ d i r = . * | s y s t e m d _ d i r = \" %{_unitdir} \" | " setup.py
2024-01-05 19:50:04 +01:00
%build
2024-08-03 10:26:54 +02:00
CFLAGS=" %{optflags} " %{__python 3} setup.py build --without-nvidia
2024-01-05 19:50:04 +01:00
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-18 22:45:28 +01:00
%{__python 3} setup.py install \
2024-01-05 19:50:04 +01:00
-O1 --skip-build \
--root=" %{buildroot} " \
2024-01-18 22:45:28 +01:00
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
2024-01-05 19:50:05 +01:00
--without-docs \
2024-01-05 19:50:04 +01:00
--record=%{name} .filelist
2024-01-05 19:50:05 +01:00
sed -i " s | %{buildroot} | | " %{buildroot} %{_sysconfdir} /xpra/conf.d/55_server_x11.conf
2024-01-05 19:50:05 +01:00
sed -i " s , . * / m a n / . * , & . g z , " %{name} .filelist
2024-01-05 19:50:04 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-05 19:50:05 +01:00
%post
%systemd_post xpra.socket
2024-01-05 19:50:05 +01:00
if [ $1 -ge 1 ]; then
echo " a l l o w e d _ u s e r s = a n y b o d y " > %{_sysconfdir} /X11/Xwrapper.config
fi
2024-01-05 19:50:05 +01:00
:
%preun
%systemd_preun xpra.socket
:
%postun
%systemd_postun xpra.socket
:
2024-01-05 19:50:04 +01:00
2024-08-03 10:26:54 +02:00
%files
#-f %{name}.filelist
2024-01-05 19:50:04 +01:00
%defattr (-,root,root)
%config (noreplace) %{_sysconfdir} /xpra/xpra.conf
2024-01-05 19:50:05 +01:00
%config (noreplace) %{_sysconfdir} /sysconfig/xpra
2024-01-05 19:50:05 +01:00
%config (noreplace) %{_sysconfdir} /xpra/xorg-uinput.conf
%config (noreplace) %{_sysconfdir} /xpra/xorg.conf
2024-01-05 19:50:05 +01:00
%dir %{_sysconfdir} /xpra/conf.d
2024-01-05 19:50:05 +01:00
%config (noreplace) %{_sysconfdir} /xpra/conf.d/*.conf
2024-01-05 19:50:05 +01:00
%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
2024-01-05 19:50:05 +01:00
%{_sysconfdir} /pam.d/xpra
%{_sysconfdir} /X11/xorg.conf.d/90-xpra-virtual.conf
%{_sysconfdir} /dbus-1/system.d/xpra.conf
2024-08-03 10:26:54 +02:00
%{_bindir} /run_scaled
%{_bindir} /xpra
%{_bindir} /xpra_launcher
%{_sysusersdir} /xpra.conf
%{_tmpfilesdir} /xpra.conf
%{_udevrulesdir} /71-xpra-virtual-pointer.rules
%dir %{_prefix} /libexec/xpra
%{_prefix} /libexec/xpra/*
%{_datadir} /applications/xpra*.desktop
%{_metainfodir} /xpra.appdata.xml
%{_datadir} /mime/packages/application-x-xpraconfig.xml
%dir %{_datadir} /gnome-shell/extensions/input-source-manager@xpra_org
%{_datadir} /gnome-shell/extensions/input-source-manager@xpra_org/*
2024-01-05 19:50:05 +01:00
%{_unitdir} /xpra.service
%{_unitdir} /xpra.socket
%{_prefix} /lib/cups/backend/xpraforwarder
%dir %{_datadir} /xpra
2024-08-03 10:26:54 +02:00
%{_datadir} /xpra/*
%dir %{python3_sitearch} /xpra-%{version} -py*.egg-info
%{python3_sitearch} /xpra-%{version} -py*.egg-info/*
%dir %{python3_sitearch} /xpra
%{python3_sitearch} /xpra/*
%{_datadir} /icons/xpra*.png
%{_mandir} /man1/run_scaled.1*
%{_mandir} /man1/xpra.1*
%{_mandir} /man1/xpra_launcher.1*
2024-01-05 19:50:04 +01:00
%doc COPYING
%changelog
2024-10-11 09:41:23 +02:00
* Sat Oct 05 2024 Automatic Build System <autodist@openmamba.org> 6.1.3-1mamba
- automatic version update by autodist
2024-08-27 12:09:04 +02:00
* Mon Aug 26 2024 Automatic Build System <autodist@openmamba.org> 6.1.2-1mamba
- automatic version update by autodist
2024-08-09 09:53:24 +02:00
* Wed Aug 07 2024 Automatic Build System <autodist@openmamba.org> 6.1.1-1mamba
- automatic version update by autodist
2024-08-03 10:26:54 +02:00
* Fri Aug 02 2024 Automatic Build System <autodist@openmamba.org> 6.1-1mamba
- automatic version update by autodist
2024-02-29 13:08:24 +01:00
* Thu Feb 29 2024 Automatic Build System <autodist@openmamba.org> 5.0.7-1mamba
- automatic version update by autodist
2024-02-23 09:40:40 +01:00
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 5.0.6-1mamba
- automatic version update by autodist
2024-02-08 11:50:40 +01:00
* Wed Feb 07 2024 Automatic Build System <autodist@openmamba.org> 5.0.5-1mamba
- automatic version update by autodist
2024-01-18 22:45:28 +01:00
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.4-2mamba
- rebuilt with python3 == 3.11
2024-01-05 19:50:06 +01:00
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 5.0.4-1mamba
- automatic version update by autodist
2024-01-05 19:50:06 +01:00
* Fri Oct 06 2023 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic version update by autodist
2024-01-05 19:50:06 +01:00
* Fri Sep 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.2-1mamba
- update to 5.0.2
2024-01-05 19:50:05 +01:00
* Thu Jun 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.5-1mamba
- update to 4.4.5
* Tue Apr 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.4-1mamba
- update to 4.4.4
2024-01-05 19:50:05 +01:00
* Mon Nov 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-2mamba
- added upstream patch to fix build on 32bit platforms
2024-01-05 19:50:05 +01:00
* Thu Nov 17 2022 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
- automatic version update by autodist
2024-01-05 19:50:05 +01:00
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 4.0.6-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
- automatic version update by autodist
2024-01-05 19:50:04 +01:00
* Thu Aug 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-2mamba
- remove broken requirement for libxbra
* Wed Jun 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface