Compare commits
274 commits
epel8-play
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
| c20b1b3deb | |||
| 32dcee0869 | |||
|
|
bbefa6f1aa | ||
|
|
e26002cf3c | ||
| 9b2db3c019 | |||
| 11cfad7141 | |||
| ede8108a14 | |||
| a738b6055a | |||
| 0abb78cc26 | |||
| 9c237c7b71 | |||
|
|
35f60a9315 | ||
| 44ba426fe7 | |||
|
|
2230f6450e | ||
|
|
62f74a79ba | ||
| ea8cea7b0e | |||
| 4dc62fbe24 | |||
| 31ae8a7c1b | |||
| 93c0763d14 | |||
| a4ab6bd044 | |||
| 1d31ac32be | |||
| 441a7ed6a7 | |||
| 6b45e0bfeb | |||
| 760755266a | |||
| 2c5f1a286f | |||
| 5edd0f38c9 | |||
| 17859a7cbc | |||
| cc19caf6fb | |||
| 86f820622b | |||
| 0d4804da39 | |||
| 6d45e7c80c | |||
|
|
661277ad12 | ||
|
|
b98426abb3 | ||
|
|
912f50d33e | ||
|
|
2a65a0b840 | ||
|
|
84731ea2d2 | ||
| f0726afea1 | |||
| f28bdb37bc | |||
|
|
afb4968a11 | ||
| d67327a2cf | |||
| 3505b50839 | |||
|
|
7c57f6a496 | ||
|
|
ba3b7a9dbc | ||
|
|
a3143a0e1d | ||
|
|
639b0a7626 | ||
|
|
ff1e77045f | ||
|
|
3464c2d5e0 |
||
|
|
dcacc70157 | ||
|
|
851ab605bf | ||
|
|
af3f8fefcc | ||
|
|
cada609a29 | ||
|
|
ea007192d5 | ||
| 1efb3066bb | |||
|
|
96c56894c4 | ||
|
|
7fbb5931b1 | ||
|
|
14038cc9cf | ||
| dfa1606cde | |||
|
|
c76677cdd3 | ||
| 9048d2cd2a | |||
| cce31e65e8 | |||
| 6a0712f003 | |||
| 13c7a2cb04 | |||
|
|
2b82082deb | ||
|
|
9c90c1c44c | ||
| 2bafbf3605 | |||
|
|
ca403d9f20 | ||
|
|
a0f04c2100 | ||
| 19677b8b6b | |||
|
|
4ed00855f3 | ||
|
|
87e1e203f8 | ||
|
|
2b2d781db7 | ||
|
|
cc9ebaeb09 | ||
|
|
92211a6f61 | ||
|
|
d44662aee5 | ||
|
|
a37a2f734a | ||
|
|
3da1878e51 | ||
|
|
06ee1778aa | ||
|
|
70ec1d014b | ||
|
|
b49472a367 | ||
| 7638781739 | |||
| 26db8d57b1 | |||
| a8d1637791 | |||
| d2698affda | |||
|
|
5d3f5f6899 | ||
| 9d17921e97 | |||
| 56435205da | |||
|
|
db12405c4a | ||
| b09b741440 | |||
| 21d36c8eb5 | |||
|
|
4f7f857685 | ||
|
|
273038e59a | ||
|
|
dc5ee4c85c | ||
|
|
9994dfa614 | ||
|
|
f34413c300 | ||
| 7bac430219 | |||
| 7cbecbe97c | |||
| cd8b2cd4c4 | |||
| a4c5459de4 | |||
|
|
f7200d0cdd | ||
| c12bae943c | |||
|
|
409299d433 | ||
| d4e586dd1b | |||
| 62261ead02 | |||
| 63d9d783e4 | |||
| 82a04dc362 | |||
|
|
7627d95e5c | ||
| d4de40a497 | |||
|
|
4f822f739c | ||
|
|
a6e59ab82b | ||
|
|
0fab12f7b8 | ||
|
|
f48d6ac3d9 | ||
|
|
00f4141c8d | ||
| d59997c789 | |||
| 7d493bed9d | |||
| b4466bf345 | |||
| 4b9a7a542e | |||
| 2989622286 | |||
| a549384271 | |||
| 43d919c3e4 | |||
| d034a28b79 | |||
| cfbe0fa5c8 | |||
|
|
71e0995f47 | ||
| 0cf15bf0ad | |||
| 3f0ae89ba4 | |||
|
|
644378a5e7 | ||
| 4bbf0046e7 | |||
|
|
35ed181e4c | ||
| 068dd610e3 | |||
| dd55e4ddeb | |||
| c3f2ebb4f9 | |||
|
|
65500d250c | ||
| 04b40d98c7 | |||
| 42bdc8a2b2 | |||
| aa4a07599b | |||
| 8e87f78d77 | |||
| 810af5187d | |||
| 823f8d0565 | |||
| 1577618ba7 | |||
| cae7f9d651 | |||
| e6ba437c5c | |||
|
|
5ab3ee284e | ||
| 15ed227345 | |||
| 984010977a | |||
| c0930da940 | |||
| 65dfea3fe3 | |||
| 0060178571 | |||
| 0d36cab786 | |||
| feab1a9852 | |||
| 95536d7b07 | |||
|
|
3fa0249493 | ||
| cc83a5e514 | |||
| fae89d159c | |||
| e1ff874bf9 | |||
| ebfa11cb3d | |||
| d766481252 | |||
| 3199e62768 | |||
|
|
dac08bf476 | ||
|
|
a2effeb847 | ||
|
|
1ed7716d07 | ||
| fec68cf4b6 | |||
| 7499f07b69 | |||
| 296a02cf61 | |||
| 1a475508b2 | |||
| 4627313204 | |||
|
|
406c0af80b | ||
|
|
060ec026ea |
||
|
|
4f33fa50b4 | ||
| e0fecc93d1 | |||
| c972dadd7e | |||
| a1b3e58b78 | |||
| 6ac3559b5a | |||
| aca2b8af5a | |||
| cdd5630481 | |||
| c95989d280 | |||
| 271c3d1573 | |||
|
|
0b2ded6680 | ||
| 34db276ff8 | |||
|
|
c3140d6e20 | ||
| 46378118de | |||
| bee28ccb76 | |||
| fa3048c935 | |||
|
|
22d2b1573d | ||
| 177961fd25 | |||
| 160512e2ae | |||
| ed5a14238d | |||
| a90d87bca8 | |||
| d59aa5c0bf | |||
| fe5a441a71 | |||
| 1a3fb26871 | |||
|
|
82c9e21534 | ||
| e674ff9f64 | |||
| 8686313575 | |||
| 05fb93095c | |||
| bac6ec427a | |||
| 0b4e5e3299 | |||
| 5a3f0134b0 | |||
| d02bc46f59 | |||
| dc9c4cf1de | |||
| aa89e44790 | |||
| c7b405fc99 | |||
| 803eaef146 | |||
| 30cc0a24e7 | |||
| 073a05ec73 | |||
|
|
d4a9122064 | ||
| 09013e97cc | |||
| 3f6fb19615 | |||
| 7e5e1853f0 | |||
| 3a4e6c8d51 | |||
|
|
5d3e26180b | ||
|
|
08e678da00 | ||
|
|
97e910c394 | ||
|
|
bee0762cce | ||
|
|
c7a1574094 | ||
|
|
39bbd56644 | ||
|
|
102e6fd00d | ||
|
|
28e43211de | ||
|
|
e9253891e5 | ||
|
|
fe54b8a6e0 | ||
|
|
ad954c55b1 | ||
|
|
9382833533 | ||
|
|
8bcf16b392 | ||
|
|
b10911c264 | ||
|
|
f9732cae29 | ||
|
|
cd1dd150e7 | ||
|
|
8595ffe480 | ||
|
|
be3f2ddb1a | ||
|
|
fb351be456 | ||
|
|
14b97fa656 | ||
|
|
d799b13f65 | ||
|
|
f0e974c1f3 | ||
|
|
dd177258c0 | ||
|
|
191fdb6644 | ||
|
|
f95f199bac | ||
|
|
9260e8f4ae | ||
|
|
897fab886a | ||
|
|
2b209eb423 | ||
|
|
f8205bb55b | ||
|
|
d289d1afd9 | ||
|
|
b65f2b410d | ||
|
|
a685e608a0 | ||
|
|
bcbf94cbce | ||
|
|
50384e4802 | ||
|
|
fcb6898375 | ||
|
|
981d163de4 | ||
|
|
ef051d4df5 | ||
|
|
d5b9f88b6b | ||
|
|
9778e48203 | ||
|
|
b49ff14fd7 | ||
|
|
70a297391d | ||
|
|
7a6bc7c059 | ||
|
|
c546991a02 | ||
|
|
e3e744048d | ||
|
|
9c424fcb18 | ||
|
|
246bd21043 | ||
|
|
14015e179a | ||
|
|
1b26b2d32d | ||
|
|
35e2363c54 | ||
|
|
1196876bbe | ||
|
|
5d639e6ada | ||
|
|
67247c7c4a | ||
|
|
9ac5dd0231 | ||
|
|
17e55197f6 | ||
|
|
1a26bb3500 | ||
|
|
ff57c8429b | ||
|
|
d603589678 | ||
|
|
938cf9600d | ||
|
|
2b4af443e9 | ||
|
|
644a86f3cc | ||
|
|
cf33176e16 | ||
|
|
0f8624aa64 | ||
|
|
faf33293c4 | ||
|
|
7ac90bc744 | ||
|
|
0bb264dce7 | ||
|
|
5fb82e2b77 | ||
|
|
78345dbe01 |
6 changed files with 524 additions and 0 deletions
105
.gitignore
vendored
105
.gitignore
vendored
|
|
@ -0,0 +1,105 @@
|
|||
/xpra-0.14.21.tar.xz
|
||||
/xpra-0.14.22.tar.xz
|
||||
/xpra-0.14.24.tar.xz
|
||||
/xpra-0.15.0.tar.xz
|
||||
/xpra-0.15.1.tar.xz
|
||||
/xpra-0.15.2.tar.xz
|
||||
/xpra-0.15.3.tar.xz
|
||||
/xpra-0.15.4.tar.xz
|
||||
/xpra-0.15.5.tar.xz
|
||||
/xpra-0.15.6.tar.xz
|
||||
/xpra-0.15.7.tar.xz
|
||||
/xpra-0.15.8.tar.xz
|
||||
/xpra-0.15.9.tar.xz
|
||||
/xpra-0.15.10.tar.xz
|
||||
/xpra-0.16.0.tar.xz
|
||||
/xpra-0.16.1.tar.xz
|
||||
/xpra-0.16.2.tar.xz
|
||||
/xpra-0.16.3.tar.xz
|
||||
/xpra-0.17.4.tar.xz
|
||||
/xpra-0.17.5.tar.xz
|
||||
/xpra-0.17.6.tar.xz
|
||||
/xpra-1.0.tar.xz
|
||||
/xpra-1.0.2.tar.xz
|
||||
/xpra-2.0.2.tar.xz
|
||||
/xpra-2.0.3.tar.xz
|
||||
/xpra-2.1.tar.xz
|
||||
/xpra-2.1.1.tar.xz
|
||||
/xpra-2.1.2.tar.xz
|
||||
/xpra-2.1.3.tar.xz
|
||||
/xpra-2.2.tar.xz
|
||||
/xpra-2.2.1.tar.xz
|
||||
/xpra-2.2.2.tar.xz
|
||||
/xpra-2.2.3.tar.xz
|
||||
/xpra-2.2.4.tar.xz
|
||||
/xpra-2.2.5.tar.xz
|
||||
/xpra-2.2.6.tar.xz
|
||||
/xpra-2.3.tar.xz
|
||||
/xpra-2.3.1.tar.xz
|
||||
/xpra-2.3.2.tar.xz
|
||||
/xpra-2.3.3.tar.xz
|
||||
/xpra-2.3.4.tar.xz
|
||||
/xpra-2.4.tar.xz
|
||||
/xpra-2.4.1.tar.xz
|
||||
/xpra-2.4.2.tar.xz
|
||||
/xpra-2.4.3.tar.xz
|
||||
/xpra-2.5.tar.xz
|
||||
/xpra-2.5.1.tar.xz
|
||||
/xpra-2.5.2.tar.xz
|
||||
/xpra-2.5.3.tar.xz
|
||||
/xpra-3.0.tar.xz
|
||||
/xpra-3.0.1.tar.xz
|
||||
/xpra-3.0.2.tar.xz
|
||||
/xpra-3.0.3.tar.xz
|
||||
/xpra-3.0.5.tar.xz
|
||||
/xpra-3.0.6.tar.xz
|
||||
/xpra-3.0.7.tar.xz
|
||||
/xpra-3.0.8.tar.xz
|
||||
/xpra-3.0.9.tar.xz
|
||||
/xpra-4.0.tar.xz
|
||||
/xpra-4.0.1.tar.xz
|
||||
/xpra-4.0.2.tar.xz
|
||||
/xpra-4.0.3.tar.xz
|
||||
/xpra-4.0.4.tar.xz
|
||||
/xpra-4.0.5.tar.xz
|
||||
/xpra-4.0.6.tar.xz
|
||||
/xpra-4.1.tar.gz
|
||||
/xpra-4.1.1.tar.gz
|
||||
/xpra-4.1.2.tar.gz
|
||||
/xpra-4.1.3.tar.gz
|
||||
/xpra-4.2.tar.gz
|
||||
/xpra-4.2.1.tar.gz
|
||||
/xpra-4.2.2.tar.gz
|
||||
/xpra-4.2.3.tar.gz
|
||||
/xpra-4.3.tar.gz
|
||||
/xpra-4.3.1.tar.gz
|
||||
/xpra-4.3.2.tar.gz
|
||||
/xpra-4.3.3.tar.gz
|
||||
/xpra-4.3.4.tar.gz
|
||||
/xpra-4.4.tar.gz
|
||||
/xpra-4.4.1.tar.gz
|
||||
/xpra-4.4.2.tar.gz
|
||||
/xpra-4.4.3.tar.gz
|
||||
/xpra-4.4.4.tar.gz
|
||||
/xpra-4.4.5.tar.gz
|
||||
/xpra-4.4.6.tar.gz
|
||||
/xpra-5.0.tar.gz
|
||||
/xpra-5.0.1.tar.gz
|
||||
/xpra-5.0.2.tar.gz
|
||||
/xpra-5.0.3.tar.gz
|
||||
/xpra-5.0.6.tar.gz
|
||||
/xpra-5.0.10.tar.gz
|
||||
/xpra-5.1.tar.gz
|
||||
/xpra-5.1.1.tar.gz
|
||||
/xpra-6.3.4.tar.gz
|
||||
/xpra-6.3.5.tar.gz
|
||||
/xpra-6.3.6.tar.gz
|
||||
/xpra-6.4.tar.gz
|
||||
/xpra-6.4.1.tar.gz
|
||||
/xpra-6.4.2.tar.gz
|
||||
/xpra-6.4.3.tar.gz
|
||||
/xpra-6.4.4.tar.gz
|
||||
/xpra-6.5.tar.gz
|
||||
/xpra-6.5.1.tar.gz
|
||||
/xpra-6.5.2.tar.gz
|
||||
/xpra-6.5.3.tar.gz
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
SHA512 (xpra-6.5.3.tar.gz) = 98eee6577d26cf15cdf8115352e73601438804a69d5081d7af908d9c4fc03e44e723eb74cc6f468c92c8e935cc5e897bcdeda316d3f756905b368e83ac051d91
|
||||
11
xpra-fix_audio.patch
Normal file
11
xpra-fix_audio.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/fs/etc/xpra/xpra.orig.conf 2025-11-02 12:49:06.000000000 +0100
|
||||
+++ b/fs/etc/xpra/xpra.conf 2025-11-09 15:18:11.280317871 +0100
|
||||
@@ -20,3 +20,8 @@
|
||||
# may just be specified multiple times.
|
||||
# - You may break a long line into multiple lines
|
||||
# by ending each line with a backslash '\'.
|
||||
+
|
||||
+xvfb = Xvfb -screen 0 1920x1100x24 -nolisten tcp -noreset
|
||||
+
|
||||
+# Use PipeWire's PulseAudio socket, do NOT spawn pulseaudio
|
||||
+pulseaudio = no
|
||||
40
xpra.appdata.xml
Normal file
40
xpra.appdata.xml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>xpra.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and BSD and LGPL-3.0+ and MIT</project_license>
|
||||
<name>Xpra</name>
|
||||
<summary>A multi-platform screen and application forwarding system</summary>
|
||||
<description>
|
||||
<p>
|
||||
Xpra is a multi-platform persistent remote display server and client for
|
||||
forwarding applications and desktop screens.
|
||||
</p>
|
||||
<p>
|
||||
It gives you remote access to individual applications or full desktops.
|
||||
On X11, it is also known as 'screen for X11': it allows you to run 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.
|
||||
It can also be used to forward full desktops, from X11 servers,
|
||||
MS Windows, or Mac OS X.
|
||||
Xpra also allows forwarding of sound, clipboard and printing services.
|
||||
</p>
|
||||
<p>
|
||||
With X11 programs, Xpra can be used "rootless" or "seamless":
|
||||
programs you run under it show up on your desktop as regular programs,
|
||||
managed by your regular window manager.
|
||||
Sessions can be accessed over SSH, or password protected over plain
|
||||
TCP sockets. Xpra is usable over reasonably slow links and does its
|
||||
best to adapt to changing network bandwidth constraints.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://sagitter.fedorapeople.org/xpra-screenshots/xpra_launcher.png</image>
|
||||
<caption>The session launcher dialog running on Fedora</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">http://xpra.org/</url>
|
||||
<updatecontact>sagitter_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
16
xpra.rpmlintrc
Normal file
16
xpra.rpmlintrc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Edited by sagitter (sagitter AT fedoraproject dot org)
|
||||
|
||||
# KNOWN BUGS:
|
||||
#
|
||||
|
||||
# TESTS:
|
||||
##### SRPMs #####
|
||||
|
||||
# ERRORS:
|
||||
##### RPMs #####
|
||||
|
||||
# Required by upstream
|
||||
addFilter(r'(non-readable) /usr/lib/cups/backend/xpraforwarder')
|
||||
addFilter(r'(non-standard-executable-perm) /usr/lib/cups/backend/xpraforwarder')
|
||||
|
||||
|
||||
351
xpra.spec
Normal file
351
xpra.spec
Normal file
|
|
@ -0,0 +1,351 @@
|
|||
# For debugging only
|
||||
%bcond_with debug
|
||||
#
|
||||
|
||||
%if 0%{?fedora}
|
||||
%bcond_with openh264
|
||||
%else
|
||||
%bcond_with openh264
|
||||
%endif
|
||||
|
||||
# Remove private provides from .so files in the python3_sitearch directory
|
||||
%global __provides_exclude_from ^%{python3_sitearch}/.*\\.so$
|
||||
|
||||
# Note: cups-config not in buildroot during srpm build, so we use the
|
||||
# conditional execution to silence erros during srpm build.
|
||||
%if 0%{?_cups_serverbin:1}
|
||||
%global cupslibdir %_cups_serverbin
|
||||
%else
|
||||
%global cupslibdir %(cups-config --serverbin 2> /dev/null || echo "/usr/lib/cups")
|
||||
%endif
|
||||
|
||||
%global gnome_shell_extension input-source-manager@xpra_org
|
||||
|
||||
%global build_opts -C--global-option=--without-nvidia -C--global-option=--without-pandoc_lua -C--global-option=--with-verbose -C--global-option=--with-Xdummy -C--global-option=--with-Xdummy_wrapper -C--global-option=--without-strict -C--global-option=--with-vpx %{?with_debug:-C--global-option=--with-debug} %{?with_openh264:-C--global-option=--with-openh264} -C--global-option=--without-cuda_rebuild -C--global-option=--with-client -C--global-option=--without-qt6_client -C--global-option=--without-pyglet_client -C--global-option=--without-enc_x264
|
||||
|
||||
Name: xpra
|
||||
Version: 6.5.3
|
||||
Release: %autorelease
|
||||
Epoch: 1
|
||||
Summary: Remote display server for applications and desktops
|
||||
License: GPL-2.0-or-later AND BSD-2-Clause AND LGPL-3.0-or-later AND BSD-3-Clause
|
||||
URL: https://www.xpra.org/
|
||||
Source0: https://github.com/Xpra-org/xpra/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# Appdata file for Fedora
|
||||
Source1: %{name}.appdata.xml
|
||||
|
||||
# Suggested from update testing
|
||||
# https://bodhi.fedoraproject.org/updates/FEDORA-2025-0882918c25#comment-4407961
|
||||
Patch0: %{name}-fix_audio.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: libxkbfile-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: python3-Cython
|
||||
BuildRequires: ack
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libvpx-devel
|
||||
BuildRequires: libXdamage-devel
|
||||
BuildRequires: libXres-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: python3-cups
|
||||
BuildRequires: redhat-rpm-config
|
||||
BuildRequires: python3-rpm-macros
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pandoc
|
||||
|
||||
# needs by setup.py to detect systemd `sd_listen_ENABLED = POSIX and pkg_config_ok("--exists", "libsystemd")`
|
||||
BuildRequires: systemd-devel
|
||||
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: procps-ng-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libavif)
|
||||
BuildRequires: pkgconfig(libqrencode)
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
BuildRequires: python3-gobject-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: libasan
|
||||
BuildRequires: python3-cairo-devel
|
||||
BuildRequires: xorg-x11-server-Xorg
|
||||
BuildRequires: xorg-x11-drv-dummy
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
BuildRequires: xorg-x11-xauth
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: xkbcomp
|
||||
BuildRequires: setxkbmap
|
||||
%if %{with debug}
|
||||
BuildRequires: libasan
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libavcodec)
|
||||
BuildRequires: pkgconfig(libavformat)
|
||||
BuildRequires: pkgconfig(libavutil)
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
%if %{with openh264}
|
||||
BuildRequires: noopenh264-devel
|
||||
%endif
|
||||
|
||||
Requires: python3-pillow
|
||||
Requires: python3-lz4
|
||||
Requires: dbus-x11
|
||||
Requires: xmodmap
|
||||
Requires: xrandr
|
||||
Requires: xorg-x11-drv-dummy%{?_isa}
|
||||
Requires: xorg-x11-xauth%{?_isa}
|
||||
Requires: xorg-x11-server-Xorg%{?_isa}
|
||||
Requires: gstreamer1%{?_isa}
|
||||
Requires: gstreamer1-plugins-base%{?_isa}
|
||||
Requires: gstreamer1-plugins-good%{?_isa}
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
Requires: pipewire%{?_isa}
|
||||
Requires: pipewire-utils%{?_isa}
|
||||
Requires: pipewire-pulseaudio%{?_isa}
|
||||
%else
|
||||
Requires: pulseaudio%{?_isa}
|
||||
Requires: pulseaudio-utils%{?_isa}
|
||||
%endif
|
||||
Requires: cups-filesystem
|
||||
Requires: shared-mime-info%{?_isa}
|
||||
Requires: systemd-udev%{?_isa}
|
||||
%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. It gives you remote access to individual applications.
|
||||
|
||||
Xpra is "rootless" or "seamless": programs you run under it show up on your
|
||||
desktop as regular programs, managed by your regular window manager.
|
||||
Sessions can be accessed over SSH, or password protected over plain TCP sockets.
|
||||
Xpra is usable over reasonably slow links and does its best to adapt to changing
|
||||
network bandwidth constraints.
|
||||
|
||||
%package -n %{name}-client-gnome
|
||||
Summary: Gnome integration for the xpra client
|
||||
Requires: %{name}-client-gtk3%{?_isa} = 1:%{version}-%{release}
|
||||
Requires: gnome-shell-extension-appindicator
|
||||
%description -n %{name}-client-gnome
|
||||
This package installs the GNOME Shell extensions
|
||||
that can help in restoring the system tray functionality.
|
||||
It also includes the gnome_shell_extension extension which
|
||||
is required for querying and activating keyboard input sources.
|
||||
|
||||
%package -n %{name}-client-gtk3
|
||||
Summary: GTK3 xpra client
|
||||
BuildRequires: xclip
|
||||
Requires: %{name}%{?_isa} = 1:%{version}-%{release}
|
||||
%description -n %{name}-client-gtk3
|
||||
This package contains the GTK3 xpra client.
|
||||
|
||||
%package -n %{name}-plugin-lua
|
||||
Summary: Wireshark/tshark Lua dissector for the Xpra remote display protocol
|
||||
BuildRequires: wireshark-devel
|
||||
%{?lua_version:Requires: lua(abi) = %{lua_version}}
|
||||
Requires: %{name}%{?_isa} = 1:%{version}-%{release}
|
||||
Requires: wireshark-cli%{?_isa}
|
||||
%description -n %{name}-plugin-lua
|
||||
The dissector registers on TCP port 14500 (xpra default) and also
|
||||
installs a heuristic detector so it picks up traffic on any port.
|
||||
Use Decode As → Xpra to force it on a different port.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -N
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
%patch -P 0 -p1 -b .backup
|
||||
%endif
|
||||
|
||||
rm -rf *.egg-info
|
||||
|
||||
# cc1: error: unrecognized compiler option ‘-mfpmath=387’
|
||||
%ifarch %{arm}
|
||||
sed -i 's|-mfpmath=387|-mfloat-abi=hard|' setup.py
|
||||
%endif
|
||||
|
||||
# Create a sysusers.d config file
|
||||
cat >xpra.sysusers.conf <<EOF
|
||||
g xpra -
|
||||
EOF
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -I%{_includedir}/security %(pkgconf --cflags pygobject-3.0)"
|
||||
%pyproject_wheel %{build_opts}
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files xpra
|
||||
|
||||
# Install config files in the right directory
|
||||
mv %{buildroot}%{_prefix}/etc %{buildroot}/
|
||||
|
||||
# move icon to proper directory
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
||||
|
||||
mv %{buildroot}%{_datadir}/icons/xpra.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/icons/xpra-mdns.png
|
||||
install -pm 644 fs/share/icons/xpra-mdns.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/icons/xpra-shadow.png
|
||||
install -pm 644 fs/share/icons/xpra-shadow.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
|
||||
|
||||
# replace old file with horrible WindowsXP old image
|
||||
rm -rf %{buildroot}%{_datadir}/appdata
|
||||
mkdir -p %{buildroot}%{_metainfodir}
|
||||
install -pm 644 %{SOURCE1} %{buildroot}%{_metainfodir}/
|
||||
|
||||
# Install nvenc.keys file
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/xpra
|
||||
install -pm 644 fs/etc/xpra/nvenc.keys %{buildroot}%{_sysconfdir}/xpra
|
||||
|
||||
# remove doc stuff from /usr/share
|
||||
rm %{buildroot}%{_datadir}/xpra/COPYING
|
||||
|
||||
# fix shebangs from python3_sitearch
|
||||
for i in `ack -rl '^#!/.*python' %{buildroot}%{python3_sitearch}/xpra`; do
|
||||
%py3_shebang_fix $i
|
||||
chmod 0755 $i
|
||||
done
|
||||
|
||||
# fix permissions on shared objects
|
||||
find %{buildroot}%{python3_sitearch}/xpra -name '*.so' \
|
||||
-exec chmod 0755 {} \;
|
||||
|
||||
# delete any bundled SWFs - binary content forbidden by packaging
|
||||
# guidelines
|
||||
find %{buildroot}%{_datadir}/xpra -name '*.swf' -exec rm {} \;
|
||||
|
||||
# Create this directory for sharing sockets
|
||||
mkdir -p %{buildroot}%{_rundir}/xpra
|
||||
|
||||
# Remove use of /usr/bin/enx on scripts
|
||||
%py3_shebang_fix %{buildroot}%{cupslibdir}/backend/xpraforwarder
|
||||
%py3_shebang_fix %{buildroot}%{_libexecdir}/xpra/auth_dialog
|
||||
%py3_shebang_fix %{buildroot}%{_libexecdir}/xpra/xdg-open
|
||||
|
||||
for i in `find %{buildroot}%{_bindir} -perm /644 -type f \( -name "*" \)`; do
|
||||
chmod 0755 $i
|
||||
done
|
||||
|
||||
# Remove Build documentation
|
||||
rm -rf %{buildroot}%{_docdir}/xpra/Build
|
||||
|
||||
install -pm 644 README.md %{buildroot}%{_docdir}/xpra/
|
||||
|
||||
install -m0644 -D xpra.sysusers.conf %{buildroot}%{_sysusersdir}/xpra.conf
|
||||
|
||||
# Remove invalid paths
|
||||
sed -e 's|build/bdist.linux-%{?_arch}/wheel/xpra-%{version}.data/data||g' -i %{buildroot}%{_sysconfdir}/xpra/conf.d/55_server_x11.conf
|
||||
|
||||
# Move Lua script into wireshark plugin directory and remove invalid /usr sub-directory
|
||||
%define wireshark_plugindir %(pkg-config --variable plugindir wireshark)/epan
|
||||
mkdir -p %{buildroot}%{wireshark_plugindir}
|
||||
%ifarch %{ix86}
|
||||
cp -p %{buildroot}/usr/%{_libdir}/wireshark/plugins/xpra_dissector.lua %{buildroot}%{wireshark_plugindir}/
|
||||
%else
|
||||
cp -p %{buildroot}/usr/%{wireshark_plugindir}/xpra_dissector.lua %{buildroot}%{wireshark_plugindir}/
|
||||
%endif
|
||||
rm -rf %{buildroot}/usr/%{_libdir}
|
||||
|
||||
%post
|
||||
%systemd_post xpra-encoder.service
|
||||
%systemd_post xpra.service
|
||||
# Suggested by 'rpmlint -e post-without-tmpfile-creation'
|
||||
%tmpfiles_create %{_tmpfilesdir}/xpra.conf
|
||||
|
||||
%preun
|
||||
%systemd_preun xpra-encoder.service
|
||||
%systemd_preun xpra.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart xpra-encoder.service
|
||||
%systemd_postun_with_restart xpra.service
|
||||
|
||||
%check
|
||||
%{?fedora:appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/xpra.appdata.xml}
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license COPYING
|
||||
%dir %{_sysconfdir}/xpra
|
||||
%dir %{_sysconfdir}/xpra/conf.d
|
||||
%dir %{_sysconfdir}/xpra/content-type
|
||||
%dir %{_sysconfdir}/xpra/pulse
|
||||
%dir %{_rundir}/xpra
|
||||
%config(noreplace) %{_sysconfdir}/xpra/pulse/xpra.pa
|
||||
%config(noreplace) %{_sysconfdir}/xpra/*.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/nvenc.keys
|
||||
%config(noreplace) %{_sysconfdir}/xpra/conf.d/*.conf
|
||||
%config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/90-xpra-virtual.conf
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/xpra.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/xpra
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/xpra
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-categories/10_default.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-parent/10_default.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-type/10_role.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-type/30_title.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-type/50_class.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-type/70_commands.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/content-type/90_fallback.conf
|
||||
%config(noreplace) %{_sysconfdir}/xpra/http-headers/00_nocache.txt
|
||||
%config(noreplace) %{_sysconfdir}/xpra/http-headers/10_content_security_policy.txt
|
||||
%ghost %attr(1700,-,xpra) %{_rundir}/xpra/proxy
|
||||
%{_libexecdir}/xpra/
|
||||
%{_bindir}/xpra
|
||||
%{_bindir}/xpra_launcher
|
||||
%{_bindir}/run_scaled
|
||||
%{_bindir}/xpra_Xdummy
|
||||
%{_datadir}/applications/xpra*.desktop
|
||||
%{_datadir}/icons/hicolor/48x48/apps/xpra-mdns.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/xpra-shadow.png
|
||||
%{_datadir}/icons/hicolor/64x64/apps/xpra.png
|
||||
%{_datadir}/icons/xpra-large.png
|
||||
%{_mandir}/man1/xpra.1.*
|
||||
%{_mandir}/man1/xpra_*.1.*
|
||||
%{_mandir}/man1/run_scaled.1.*
|
||||
%{_metainfodir}/xpra.appdata.xml
|
||||
%{_datadir}/mime/packages/application-x-xpraconfig.xml
|
||||
%{_datadir}/xpra/
|
||||
%{cupslibdir}/backend/xpraforwarder
|
||||
%{_tmpfilesdir}/xpra.conf
|
||||
%{_docdir}/xpra
|
||||
%{_unitdir}/xpra.service
|
||||
%{_unitdir}/xpra-encoder.service
|
||||
%{_unitdir}/xpra.socket
|
||||
%{_unitdir}/xpra-encoder.socket
|
||||
%{_udevrulesdir}/71-xpra-virtual-pointer.rules
|
||||
%{_sysusersdir}/xpra.conf
|
||||
|
||||
%files -n %{name}-client-gtk3
|
||||
%{python3_sitearch}/xpra/client/gui/
|
||||
%{python3_sitearch}/xpra/client/gtk3/
|
||||
%{_libexecdir}/xpra/xpra_signal_listener
|
||||
%{_datadir}/applications/xpra-launcher.desktop
|
||||
%{_datadir}/applications/xpra-gui.desktop
|
||||
%{_datadir}/applications/xpra.desktop
|
||||
%{_datadir}/mime/packages/application-x-xpraconfig.xml
|
||||
%{_datadir}/xpra/autostart.desktop
|
||||
|
||||
%files -n %{name}-client-gnome
|
||||
%{_datadir}/gnome-shell/extensions/%{gnome_shell_extension}/COPYING
|
||||
%{_datadir}/gnome-shell/extensions/%{gnome_shell_extension}/README.md
|
||||
%{_datadir}/gnome-shell/extensions/%{gnome_shell_extension}/extension.js
|
||||
%{_datadir}/gnome-shell/extensions/%{gnome_shell_extension}/metadata.json
|
||||
|
||||
%files -n %{name}-plugin-lua
|
||||
%{wireshark_plugindir}/xpra_dissector.lua
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Loading…
Add table
Add a link
Reference in a new issue