2024-01-05 19:50:04 +01:00
Name : xpra
2024-01-05 19:50:05 +01:00
Version : 4.4.2
2024-01-05 19:50:05 +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:05 +01:00
URL : https://xpra.org/
2024-01-05 19:50:04 +01:00
Source : http://xpra.org/src/xpra-%{version} .tar.xz
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
2024-01-05 19:50:04 +01:00
BuildRequires : libavcodec-ffmpeg-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libavformat-ffmpeg-devel
BuildRequires : libavif-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libavutil-ffmpeg-devel
2024-01-05 19:50:05 +01:00
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-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
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
BuildRequires : libpython3-devel
BuildRequires : libqrencode-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libswscale-ffmpeg-devel
2024-01-05 19:50:05 +01:00
BuildRequires : libsystemd-devel
BuildRequires : libvpx6-devel
2024-01-05 19:50:04 +01:00
BuildRequires : libwebp-devel
BuildRequires : libx264-devel
BuildRequires : libxkbfile-devel
## AUTOBUILDREQ-END
2024-01-05 19:50:05 +01:00
BuildRequires : python3
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
%prep
%setup -q
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-01-05 19:50:05 +01:00
CFLAGS=" %{optflags} " %{__python 3} setup.py build
2024-01-05 19:50:04 +01:00
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-05 19:50:05 +01:00
%{__python 3} setup.py install \
2024-01-05 19:50:04 +01:00
-O1 --skip-build \
--root=" %{buildroot} " \
2024-01-05 19:50:05 +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 , . * / 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
:
%preun
%systemd_preun xpra.socket
:
%postun
%systemd_postun xpra.socket
:
2024-01-05 19:50:04 +01:00
%files -f %{name}.filelist
%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
%{_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
%{_unitdir} /xpra.service
%{_unitdir} /xpra.socket
%{_prefix} /lib/cups/backend/xpraforwarder
%dir %{_datadir} /xpra
2024-01-05 19:50:05 +01:00
#%dir %{_datadir}/xpra/www
#%{_datadir}/xpra/www/*
2024-01-05 19:50:04 +01:00
%doc COPYING
%changelog
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