]>
Commit | Line | Data |
---|---|---|
f1a9b771 | 1 | # TODO |
ed17098a | 2 | # - test and finish systemd integration |
29951ed6 | 3 | # - subpackages for client/server, see http://xpra.org/dev.html |
a45b7a61 JB |
4 | # - nvenc>=7 for cuda support (on bcond) |
5 | # - nvfbc (on bcond) | |
dee49f7a | 6 | # - nvjpeg (on bcond) |
4d273b65 ER |
7 | # |
8 | # Conditional build: | |
6fb59b95 | 9 | %bcond_without client # client part |
dee49f7a | 10 | %bcond_without doc # HTML documentation |
6fb59b95 JB |
11 | %bcond_without server # server part |
12 | %bcond_without sound # (gstreamer) sound support | |
13 | %bcond_without clipboard # clipboard support | |
c4d2001e | 14 | %bcond_without swscale # swscale colorspace conversion support |
6fb59b95 | 15 | %bcond_without opengl # OpenGL support |
a45b7a61 | 16 | %bcond_without ffmpeg # avcodec decoding / FFmpeg encoding support |
6fb59b95 JB |
17 | %bcond_without vpx # VPX/WebM support |
18 | %bcond_without webp # WebP support | |
19 | %bcond_without x264 # x264 encoding | |
eeadf629 JR |
20 | %bcond_without x265 # x265 encoding |
21 | ||
c790771b | 22 | %ifarch i386 i486 x32 |
eeadf629 JR |
23 | %undefine with_x265 |
24 | %endif | |
4d273b65 | 25 | |
160ef313 | 26 | Summary: Xpra gives you "persistent remote applications" for X |
5a5f28f1 | 27 | Summary(pl.UTF-8): Xpra - "stałe zdalne aplikacje" dla X |
160ef313 | 28 | Name: xpra |
c38094d5 | 29 | Version: 5.0.8 |
99517387 | 30 | Release: 1 |
160ef313 | 31 | License: GPL v2+ |
33952dff | 32 | Group: X11/Applications/Networking |
f1a9b771 | 33 | Source0: http://xpra.org/src/%{name}-%{version}.tar.xz |
c38094d5 | 34 | # Source0-md5: 0e99c81264fbdac7d1222f3940461eb5 |
dee49f7a | 35 | Patch0: %{name}-evdi.patch |
160ef313 | 36 | URL: http://xpra.org/ |
5a5f28f1 | 37 | BuildRequires: OpenGL-devel |
dee49f7a JB |
38 | BuildRequires: cairo-devel |
39 | BuildRequires: evdi-devel >= 1.9 | |
a45b7a61 JB |
40 | # libavcodec >= 57 for dec_avcodec, libavcodec >= 58.18 for enc_ffmpeg, libswscale |
41 | %{?with_ffmpeg:BuildRequires: ffmpeg-devel >= 3.4} | |
42 | BuildRequires: gtk+3-devel >= 3.0 | |
dee49f7a JB |
43 | BuildRequires: libavif-devel >= 0.9 |
44 | BuildRequires: libbrotli-devel | |
45 | BuildRequires: libdrm-devel >= 2.4 | |
a45b7a61 | 46 | BuildRequires: libjpeg-turbo-devel >= 1.4 |
dee49f7a JB |
47 | BuildRequires: libspng-devel >= 0.7 |
48 | BuildRequires: libvpx-devel >= 1.7 | |
a45b7a61 | 49 | BuildRequires: libwebp-devel >= 0.5 |
dee49f7a | 50 | # ABI 155 |
c4d2001e | 51 | %{?with_x264:BuildRequires: libx264-devel} |
eeadf629 | 52 | %{?with_x265:BuildRequires: libx265-devel} |
c4d2001e | 53 | BuildRequires: libyuv-devel |
dee49f7a JB |
54 | BuildRequires: lz4-devel |
55 | BuildRequires: openh264-devel >= 2.0 | |
a45b7a61 | 56 | BuildRequires: pam-devel |
dee49f7a JB |
57 | # with --lua-filter option |
58 | %{?with_doc:BuildRequires: pandoc >= 2.0} | |
29951ed6 | 59 | BuildRequires: pkgconfig |
090d5814 | 60 | BuildRequires: procps-devel >= 1:4.0 |
a45b7a61 | 61 | BuildRequires: python3-Cython >= 0.20 |
dee49f7a | 62 | BuildRequires: python3-devel >= 1:3.6 |
a45b7a61 JB |
63 | BuildRequires: python3-pycairo-devel |
64 | BuildRequires: python3-pygobject3-devel >= 3.0 | |
65 | BuildRequires: python3-setuptools | |
dee49f7a | 66 | BuildRequires: qrencode-devel |
160ef313 | 67 | BuildRequires: rpm-pythonprov |
5b5972d7 | 68 | BuildRequires: sed >= 4.0 |
a45b7a61 | 69 | BuildRequires: systemd-devel >= 1:209 |
f1a9b771 | 70 | BuildRequires: tar >= 1:1.22 |
c4d2001e | 71 | BuildRequires: xorg-lib-libX11-devel |
5b5972d7 JB |
72 | BuildRequires: xorg-lib-libXcomposite-devel |
73 | BuildRequires: xorg-lib-libXdamage-devel | |
c4d2001e JB |
74 | BuildRequires: xorg-lib-libXext-devel |
75 | BuildRequires: xorg-lib-libXfixes-devel | |
a45b7a61 | 76 | BuildRequires: xorg-lib-libXi-devel |
c4d2001e | 77 | BuildRequires: xorg-lib-libXrandr-devel |
dee49f7a | 78 | BuildRequires: xorg-lib-libXres-devel |
29951ed6 | 79 | BuildRequires: xorg-lib-libXtst-devel |
c4d2001e | 80 | BuildRequires: xorg-lib-libxkbfile-devel |
f1a9b771 | 81 | BuildRequires: xz |
dee49f7a | 82 | Requires: evdi >= 1.9 |
a45b7a61 JB |
83 | Requires: gdk-pixbuf2 >= 2.0 |
84 | Requires: glib2 >= 2.0 | |
85 | Requires: gobject-introspection >= 1 | |
86 | Requires: gtk+3 >= 3.0 | |
87 | Requires: libjpeg-turbo >= 1.4 | |
dee49f7a JB |
88 | Requires: libspng >= 0.7 |
89 | Requires: libvpx >= 1.7 | |
a45b7a61 JB |
90 | Requires: libwebp >= 0.5 |
91 | Requires: python3-pycairo | |
a729ff3d | 92 | Requires: python3-pygobject3 >= 3.0 |
33952dff ER |
93 | Requires: xorg-app-setxkbmap |
94 | Requires: xorg-app-xauth | |
95 | Requires: xorg-app-xmodmap | |
282f26dd | 96 | Requires: xorg-xserver-Xvfb |
a45b7a61 JB |
97 | Suggests: python3-PIL |
98 | Suggests: python3-PyOpenGL | |
99 | Suggests: python3-numpy | |
160ef313 ER |
100 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
101 | ||
48f224e5 ER |
102 | # currently lib, not %{_lib} (see cups.spec) |
103 | %define cupsdir /usr/lib/cups/backend | |
c4d2001e JB |
104 | # xpra/x11/bindings/randr_bindings.c:... error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] |
105 | %define specflags -fno-strict-aliasing | |
48f224e5 | 106 | |
160ef313 ER |
107 | %description |
108 | Xpra gives you "persistent remote applications" for X. That is, unlike | |
109 | normal X applications, applications run with xpra are "persistent" -- | |
110 | you can run them remotely, and they don't die if your connection does. | |
111 | You can detach them, and reattach them later -- even from another | |
112 | computer -- with no loss of state. And unlike VNC or RDP, xpra is for | |
113 | remote applications, not remote desktops -- individual applications | |
114 | show up as individual windows on your screen, managed by your window | |
115 | manager. They're not trapped in a box. | |
116 | ||
117 | So basically it's screen for remote X apps. | |
118 | ||
134fd9a0 | 119 | %description -l pl.UTF-8 |
5a5f28f1 JB |
120 | Xpra daje "stałe zdalne aplikacje" dla serwera X, które w |
121 | przeciwieństwie do zwykłych X-owych aplikacji, uruchamiane są z xprą | |
122 | jako niezamykające. Można je uruchomić zdalnie i one nie zostaną | |
123 | zamknięte, gdy połączenie zostanie przerwane. Można je odłączyć i | |
134fd9a0 | 124 | podłączyć z powrotem później, również z innego komputera, bez straty |
5a5f28f1 JB |
125 | stanu. W odróżnieniu od VNC czy RDP, xpra jest dla zdalnych aplikacji, |
126 | a nie zdalnych pulpitów - pojedyncze aplikacje pokazują się jako | |
127 | samodzielne okno na lokalnym ekranie, zarządzane przez lokalnego | |
128 | zarządcę okien. | |
134fd9a0 | 129 | |
5a5f28f1 | 130 | W uproszczeniu xpra to "screen" dla zdalnych aplikacji X-owych. |
134fd9a0 | 131 | |
48f224e5 ER |
132 | %package -n cups-backend-xpra |
133 | Summary: Xpra backend for CUPS | |
134 | Summary(pl.UTF-8): Backend Xpra dla CUPS-a | |
135 | Group: Applications/Printing | |
136 | Requires: %{name} = %{version}-%{release} | |
137 | Requires: cups | |
138 | ||
139 | %description -n cups-backend-xpra | |
140 | Xpra backend for CUPS. | |
141 | ||
142 | %description -n cups-backend-xpra -l pl.UTF-8 | |
143 | Backend Xpra dla CUPS-a. | |
144 | ||
160ef313 | 145 | %prep |
f1a9b771 | 146 | %setup -q |
dee49f7a JB |
147 | %patch0 -p1 |
148 | ||
149 | libexecdir="%{_libexecdir}" | |
150 | %{__sed} -i -e 's,"libexec","'${libexecdir#%{_prefix}/}'",' setup.py | |
a45b7a61 JB |
151 | |
152 | %define setup_opts \\\ | |
153 | --with-PIC \\\ | |
154 | --with-Xdummy \\\ | |
164e2f50 | 155 | --with-Xdummy_wrapper \\\ |
a45b7a61 JB |
156 | %{__with_without client} \\\ |
157 | %{__with_without clipboard} \\\ | |
158 | %{__with_without swscale csc_swscale} \\\ | |
159 | --with%{!?debug:out}-debug \\\ | |
dee49f7a JB |
160 | %{!?with_doc:--without-docs} \\\ |
161 | %{__with_without ffmpeg} \\\ | |
a45b7a61 JB |
162 | %{__with_without ffmpeg dec_avcodec2} \\\ |
163 | %{__with_without ffmpeg enc_ffmpeg} \\\ | |
164 | %{__with_without x264 enc_x264} \\\ | |
a45b7a61 JB |
165 | --with-gtk3 \\\ |
166 | --without-nvenc \\\ | |
167 | --without-nvfbc \\\ | |
168 | %{__with_without opengl} \\\ | |
169 | %{__with_without server} \\\ | |
170 | %{__with_without server shadow} \\\ | |
a45b7a61 JB |
171 | --without-strict \\\ |
172 | %{__with_without vpx} \\\ | |
173 | --with-warn \\\ | |
174 | %{__with_without webp} \\\ | |
175 | --with-x11 \\\ | |
176 | %{nil} | |
5b5972d7 | 177 | |
160ef313 ER |
178 | %build |
179 | CC="%{__cc}" \ | |
180 | CFLAGS="%{rpmcflags}" \ | |
a45b7a61 JB |
181 | %{__python3} setup.py build \ |
182 | %{setup_opts} | |
160ef313 ER |
183 | |
184 | %install | |
185 | rm -rf $RPM_BUILD_ROOT | |
a45b7a61 JB |
186 | |
187 | %{__python3} setup.py install \ | |
188 | %{setup_opts} \ | |
160ef313 | 189 | --skip-build \ |
6a271dcc | 190 | --prefix=%{_prefix} \ |
a45b7a61 JB |
191 | --install-purelib=%{py3_sitescriptdir} \ |
192 | --install-platlib=%{py3_sitedir} \ | |
160ef313 ER |
193 | --optimize=2 \ |
194 | --root=$RPM_BUILD_ROOT | |
195 | ||
160ef313 | 196 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/COPYING |
0a252a58 | 197 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/README.md |
160ef313 | 198 | |
dbf2afa5 JR |
199 | install -d $RPM_BUILD_ROOT/lib/udev/rules.d |
200 | %{__mv} $RPM_BUILD_ROOT{%{_prefix},}/lib/udev/rules.d/71-xpra-virtual-pointer.rules | |
201 | ||
160ef313 ER |
202 | %py_postclean |
203 | ||
204 | %clean | |
205 | rm -rf $RPM_BUILD_ROOT | |
206 | ||
207 | %files | |
208 | %defattr(644,root,root,755) | |
209 | %dir %{_sysconfdir}/%{name} | |
210 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg.conf | |
211 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xpra.conf | |
ed17098a JR |
212 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg-uinput.conf |
213 | %dir %{_sysconfdir}/%{name}/conf.d | |
214 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/05_features.conf | |
215 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/10_network.conf | |
216 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/12_ssl.conf | |
217 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/15_file_transfers.conf | |
218 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/16_printing.conf | |
0a252a58 | 219 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/20_audio.conf |
ed17098a JR |
220 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/30_picture.conf |
221 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/35_webcam.conf | |
222 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/40_client.conf | |
223 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/42_client_keyboard.conf | |
224 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/50_server_network.conf | |
225 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/55_server_x11.conf | |
226 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/60_server.conf | |
227 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/conf.d/65_proxy.conf | |
0a252a58 JR |
228 | %dir %{_sysconfdir}/%{name}/content-categories |
229 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-categories/10_default.conf | |
230 | %dir %{_sysconfdir}/%{name}/content-parent | |
231 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-parent/10_default.conf | |
232 | %dir %{_sysconfdir}/%{name}/content-type | |
233 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-type/10_role.conf | |
234 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-type/30_title.conf | |
235 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-type/50_class.conf | |
236 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/content-type/70_commands.conf | |
237 | %dir %{_sysconfdir}/%{name}/http-headers | |
238 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/http-headers/00_nocache.txt | |
239 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/http-headers/10_content_security_policy.txt | |
ed17098a JR |
240 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/xorg.conf.d/90-xpra-virtual.conf |
241 | %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xpra | |
0a252a58 | 242 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/xpra |
ed17098a JR |
243 | /etc/dbus-1/system.d/xpra.conf |
244 | %{systemdunitdir}/xpra.service | |
245 | %{systemdunitdir}/xpra.socket | |
246 | /usr/lib/sysusers.d/xpra.conf | |
dbf2afa5 | 247 | /lib/udev/rules.d/71-xpra-virtual-pointer.rules |
0a252a58 | 248 | %attr(755,root,root) %{_bindir}/run_scaled |
160ef313 | 249 | %attr(755,root,root) %{_bindir}/xpra |
164e2f50 | 250 | %attr(755,root,root) %{_bindir}/xpra_Xdummy |
160ef313 | 251 | %attr(755,root,root) %{_bindir}/xpra_launcher |
a45b7a61 JB |
252 | %dir %{_libexecdir}/xpra |
253 | %attr(755,root,root) %{_libexecdir}/xpra/auth_dialog | |
254 | %attr(755,root,root) %{_libexecdir}/xpra/gnome-open | |
255 | %attr(755,root,root) %{_libexecdir}/xpra/gvfs-open | |
256 | %attr(755,root,root) %{_libexecdir}/xpra/xdg-open | |
0a252a58 JR |
257 | %attr(755,root,root) %{_libexecdir}/xpra/xpra_signal_listener |
258 | %attr(755,root,root) %{_libexecdir}/xpra/xpra_udev_product_version | |
5b5972d7 | 259 | %{_datadir}/mime/packages/application-x-xpraconfig.xml |
a45b7a61 | 260 | %{_datadir}/xpra |
5a5f28f1 | 261 | %{_desktopdir}/xpra.desktop |
a45b7a61 | 262 | %{_desktopdir}/xpra-gui.desktop |
ed17098a | 263 | %{_desktopdir}/xpra-launcher.desktop |
a45b7a61 | 264 | %{_desktopdir}/xpra-shadow.desktop |
090d5814 JB |
265 | %if %{with doc} |
266 | %{_docdir}/xpra | |
267 | %endif | |
160ef313 | 268 | %{_iconsdir}/xpra.png |
ed17098a | 269 | %{_iconsdir}/xpra-mdns.png |
a45b7a61 | 270 | %{_iconsdir}/xpra-shadow.png |
0a252a58 | 271 | %{_datadir}/metainfo/xpra.appdata.xml |
c4d2001e JB |
272 | %{systemdtmpfilesdir}/xpra.conf |
273 | # specified in the above (xpra group seems to be optional though) | |
a45b7a61 | 274 | #%attr(770,root,xpra) %dir /run/xpra |
0a252a58 | 275 | %{_mandir}/man1/run_scaled.1* |
160ef313 ER |
276 | %{_mandir}/man1/xpra.1* |
277 | %{_mandir}/man1/xpra_launcher.1* | |
278 | ||
a45b7a61 | 279 | %dir %{py3_sitedir}/xpra |
0a252a58 JR |
280 | %attr(755,root,root) %{py3_sitedir}/xpra/rectangle.cpython-*.so |
281 | %{py3_sitedir}/xpra/*.py | |
282 | %{py3_sitedir}/xpra/__pycache__ | |
283 | %dir %{py3_sitedir}/xpra/audio | |
284 | %{py3_sitedir}/xpra/audio/*.py | |
285 | %{py3_sitedir}/xpra/audio/__pycache__ | |
286 | %dir %{py3_sitedir}/xpra/audio/pulseaudio | |
287 | %{py3_sitedir}/xpra/audio/pulseaudio/*.py | |
288 | %{py3_sitedir}/xpra/audio/pulseaudio/__pycache__ | |
a45b7a61 JB |
289 | %dir %{py3_sitedir}/xpra/buffers |
290 | %{py3_sitedir}/xpra/buffers/*.py | |
291 | %{py3_sitedir}/xpra/buffers/__pycache__ | |
0a252a58 | 292 | %attr(755,root,root) %{py3_sitedir}/xpra/buffers/cyxor.cpython-*.so |
a45b7a61 | 293 | %attr(755,root,root) %{py3_sitedir}/xpra/buffers/membuf.cpython-*.so |
0a252a58 | 294 | %attr(755,root,root) %{py3_sitedir}/xpra/buffers/xxh.cpython-*.so |
a45b7a61 | 295 | %dir %{py3_sitedir}/xpra/client |
0a252a58 JR |
296 | %dir %{py3_sitedir}/xpra/client/auth |
297 | %{py3_sitedir}/xpra/client/auth/*.py | |
298 | %{py3_sitedir}/xpra/client/auth/__pycache__ | |
299 | %dir %{py3_sitedir}/xpra/client/base | |
300 | %{py3_sitedir}/xpra/client/base/*.py | |
301 | %{py3_sitedir}/xpra/client/base/__pycache__ | |
a45b7a61 JB |
302 | %{py3_sitedir}/xpra/client/gl |
303 | %dir %{py3_sitedir}/xpra/client/gtk3 | |
304 | %attr(755,root,root) %{py3_sitedir}/xpra/client/gtk3/cairo_workaround.cpython-*.so | |
305 | %{py3_sitedir}/xpra/client/gtk3/*.py | |
306 | %{py3_sitedir}/xpra/client/gtk3/__pycache__ | |
dee49f7a | 307 | %{py3_sitedir}/xpra/client/gtk3/example |
0a252a58 JR |
308 | %dir %{py3_sitedir}/xpra/client/gui |
309 | %{py3_sitedir}/xpra/client/gui/*.py | |
310 | %{py3_sitedir}/xpra/client/gui/__pycache__ | |
a45b7a61 JB |
311 | %{py3_sitedir}/xpra/client/mixins |
312 | %{py3_sitedir}/xpra/client/*.py | |
313 | %{py3_sitedir}/xpra/client/__pycache__ | |
314 | %{py3_sitedir}/xpra/clipboard | |
315 | %dir %{py3_sitedir}/xpra/codecs | |
0a252a58 JR |
316 | %{py3_sitedir}/xpra/codecs/*.py |
317 | %{py3_sitedir}/xpra/codecs/__pycache__ | |
a45b7a61 JB |
318 | %dir %{py3_sitedir}/xpra/codecs/argb |
319 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/argb/argb.cpython-*.so | |
320 | %{py3_sitedir}/xpra/codecs/argb/*.py | |
321 | %{py3_sitedir}/xpra/codecs/argb/__pycache__ | |
a45b7a61 | 322 | %if %{with ffmpeg} |
0a252a58 JR |
323 | %dir %{py3_sitedir}/xpra/codecs/avif |
324 | %{py3_sitedir}/xpra/codecs/avif/*.py | |
325 | %{py3_sitedir}/xpra/codecs/avif/__pycache__ | |
326 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/avif/decoder.cpython-*.so | |
327 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/avif/encoder.cpython-*.so | |
c4d2001e | 328 | %endif |
0a252a58 JR |
329 | %dir %{py3_sitedir}/xpra/codecs/csc_cython |
330 | %{py3_sitedir}/xpra/codecs/csc_cython/*.py | |
331 | %{py3_sitedir}/xpra/codecs/csc_cython/__pycache__ | |
332 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/csc_cython/colorspace_converter.cpython-*.so | |
333 | %dir %{py3_sitedir}/xpra/codecs/drm | |
334 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/drm/drm.cpython-*.so | |
dee49f7a JB |
335 | %dir %{py3_sitedir}/xpra/codecs/evdi |
336 | %{py3_sitedir}/xpra/codecs/evdi/*.py | |
337 | %{py3_sitedir}/xpra/codecs/evdi/__pycache__ | |
338 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/evdi/capture.cpython-*.so | |
a45b7a61 | 339 | %if %{with ffmpeg} |
0a252a58 JR |
340 | %dir %{py3_sitedir}/xpra/codecs/ffmpeg |
341 | %{py3_sitedir}/xpra/codecs/ffmpeg/*.py | |
342 | %{py3_sitedir}/xpra/codecs/ffmpeg/__pycache__ | |
343 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/ffmpeg/av_log.cpython-*.so | |
344 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/ffmpeg/colorspace_converter.cpython-*.so | |
345 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/ffmpeg/decoder.cpython-*.so | |
346 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/ffmpeg/encoder.cpython-*.so | |
eeadf629 | 347 | %endif |
0a252a58 JR |
348 | %dir %{py3_sitedir}/xpra/codecs/gstreamer |
349 | %{py3_sitedir}/xpra/codecs/gstreamer/*.py | |
350 | %{py3_sitedir}/xpra/codecs/gstreamer/__pycache__ | |
a45b7a61 JB |
351 | %dir %{py3_sitedir}/xpra/codecs/jpeg |
352 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/jpeg/decoder.cpython-*.so | |
353 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/jpeg/encoder.cpython-*.so | |
354 | %{py3_sitedir}/xpra/codecs/jpeg/*.py | |
355 | %{py3_sitedir}/xpra/codecs/jpeg/__pycache__ | |
0a252a58 JR |
356 | %dir %{py3_sitedir}/xpra/codecs/libyuv |
357 | %{py3_sitedir}/xpra/codecs/libyuv/*.py | |
358 | %{py3_sitedir}/xpra/codecs/libyuv/__pycache__ | |
359 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/libyuv/colorspace_converter.cpython-*.so | |
081996f5 | 360 | %ifarch %{x8664} |
0a252a58 | 361 | %{py3_sitedir}/xpra/codecs/nvidia |
081996f5 | 362 | %endif |
0a252a58 JR |
363 | %dir %{py3_sitedir}/xpra/codecs/openh264 |
364 | %{py3_sitedir}/xpra/codecs/openh264/*.py | |
365 | %{py3_sitedir}/xpra/codecs/openh264/__pycache__ | |
366 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/openh264/decoder.cpython-*.so | |
367 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/openh264/encoder.cpython-*.so | |
a45b7a61 | 368 | %{py3_sitedir}/xpra/codecs/pillow |
0a252a58 | 369 | %{py3_sitedir}/xpra/codecs/proxy |
dee49f7a JB |
370 | %dir %{py3_sitedir}/xpra/codecs/spng |
371 | %{py3_sitedir}/xpra/codecs/spng/*.py | |
372 | %{py3_sitedir}/xpra/codecs/spng/__pycache__ | |
373 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/spng/decoder.cpython-*.so | |
374 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/spng/encoder.cpython-*.so | |
a45b7a61 JB |
375 | %dir %{py3_sitedir}/xpra/codecs/v4l2 |
376 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/v4l2/pusher.cpython-*.so | |
377 | %{py3_sitedir}/xpra/codecs/v4l2/*.py | |
378 | %{py3_sitedir}/xpra/codecs/v4l2/__pycache__ | |
379 | %dir %{py3_sitedir}/xpra/codecs/vpx | |
380 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/vpx/decoder.cpython-*.so | |
381 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/vpx/encoder.cpython-*.so | |
382 | %{py3_sitedir}/xpra/codecs/vpx/*.py | |
383 | %{py3_sitedir}/xpra/codecs/vpx/__pycache__ | |
384 | %dir %{py3_sitedir}/xpra/codecs/webp | |
a45b7a61 JB |
385 | %{py3_sitedir}/xpra/codecs/webp/*.py |
386 | %{py3_sitedir}/xpra/codecs/webp/__pycache__ | |
0a252a58 JR |
387 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/webp/decoder.cpython-*.so |
388 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/webp/encoder.cpython-*.so | |
389 | %if %{with x264} | |
390 | %dir %{py3_sitedir}/xpra/codecs/x264 | |
391 | %{py3_sitedir}/xpra/codecs/x264/*.py | |
392 | %{py3_sitedir}/xpra/codecs/x264/__pycache__ | |
393 | %attr(755,root,root) %{py3_sitedir}/xpra/codecs/x264/encoder.cpython-*.so | |
394 | %endif | |
a45b7a61 JB |
395 | %{py3_sitedir}/xpra/dbus |
396 | %dir %{py3_sitedir}/xpra/gtk_common | |
0a252a58 JR |
397 | %{py3_sitedir}/xpra/gtk_common/*.py |
398 | %{py3_sitedir}/xpra/gtk_common/__pycache__ | |
a45b7a61 | 399 | %dir %{py3_sitedir}/xpra/gtk_common/gtk3 |
0a252a58 JR |
400 | %{py3_sitedir}/xpra/gtk_common/gtk3/*.py |
401 | %{py3_sitedir}/xpra/gtk_common/gtk3/__pycache__ | |
a45b7a61 JB |
402 | %attr(755,root,root) %{py3_sitedir}/xpra/gtk_common/gtk3/gdk_atoms.cpython-*.so |
403 | %attr(755,root,root) %{py3_sitedir}/xpra/gtk_common/gtk3/gdk_bindings.cpython-*.so | |
a45b7a61 JB |
404 | %{py3_sitedir}/xpra/keyboard |
405 | %dir %{py3_sitedir}/xpra/net | |
0a252a58 JR |
406 | %{py3_sitedir}/xpra/net/*.py |
407 | %{py3_sitedir}/xpra/net/__pycache__ | |
a45b7a61 JB |
408 | %dir %{py3_sitedir}/xpra/net/bencode |
409 | %attr(755,root,root) %{py3_sitedir}/xpra/net/bencode/cython_bencode.cpython-*.so | |
410 | %{py3_sitedir}/xpra/net/bencode/*.py | |
411 | %{py3_sitedir}/xpra/net/bencode/__pycache__ | |
0a252a58 JR |
412 | %dir %{py3_sitedir}/xpra/net/brotli |
413 | %{py3_sitedir}/xpra/net/brotli/*.py | |
414 | %{py3_sitedir}/xpra/net/brotli/__pycache__ | |
415 | %attr(755,root,root) %{py3_sitedir}/xpra/net/brotli/compressor.cpython-*.so | |
416 | %attr(755,root,root) %{py3_sitedir}/xpra/net/brotli/decompressor.cpython-*.so | |
417 | %{py3_sitedir}/xpra/net/http | |
418 | %dir %{py3_sitedir}/xpra/net/lz4 | |
419 | %{py3_sitedir}/xpra/net/lz4/*.py | |
420 | %{py3_sitedir}/xpra/net/lz4/__pycache__ | |
421 | %attr(755,root,root) %{py3_sitedir}/xpra/net/lz4/lz4.cpython-*.so | |
a45b7a61 | 422 | %{py3_sitedir}/xpra/net/mdns |
0a252a58 JR |
423 | %{py3_sitedir}/xpra/net/protocol |
424 | %{py3_sitedir}/xpra/net/qrcode/*.py | |
425 | %dir %{py3_sitedir}/xpra/net/qrcode | |
426 | %{py3_sitedir}/xpra/net/qrcode/__pycache__ | |
427 | %attr(755,root,root) %{py3_sitedir}/xpra/net/qrcode/qrencode.cpython-*.so | |
428 | %dir %{py3_sitedir}/xpra/net/quic | |
429 | %{py3_sitedir}/xpra/net/quic/*.py | |
430 | %{py3_sitedir}/xpra/net/quic/__pycache__ | |
431 | %dir %{py3_sitedir}/xpra/net/rencodeplus | |
432 | %attr(755,root,root) %{py3_sitedir}/xpra/net/rencodeplus/rencodeplus.cpython-*.so | |
433 | %{py3_sitedir}/xpra/net/rfb | |
434 | %{py3_sitedir}/xpra/net/ssh | |
435 | %dir %{py3_sitedir}/xpra/net/vsock | |
436 | %{py3_sitedir}/xpra/net/vsock/*.py | |
437 | %{py3_sitedir}/xpra/net/vsock/__pycache__ | |
438 | %attr(755,root,root) %{py3_sitedir}/xpra/net/vsock/vsock.cpython-*.so | |
a45b7a61 | 439 | %{py3_sitedir}/xpra/net/websockets |
a45b7a61 JB |
440 | %{py3_sitedir}/xpra/notifications |
441 | %dir %{py3_sitedir}/xpra/platform | |
a45b7a61 JB |
442 | %{py3_sitedir}/xpra/platform/*.py |
443 | %{py3_sitedir}/xpra/platform/__pycache__ | |
0a252a58 JR |
444 | %dir %{py3_sitedir}/xpra/platform/posix |
445 | %{py3_sitedir}/xpra/platform/posix/*.py | |
446 | %{py3_sitedir}/xpra/platform/posix/__pycache__ | |
447 | %attr(755,root,root) %{py3_sitedir}/xpra/platform/posix/netdev_query.cpython-*.so | |
090d5814 | 448 | %attr(755,root,root) %{py3_sitedir}/xpra/platform/posix/proc_libproc.cpython-*.so |
0a252a58 | 449 | %attr(755,root,root) %{py3_sitedir}/xpra/platform/posix/sd_listen.cpython-*.so |
a45b7a61 JB |
450 | %{py3_sitedir}/xpra/scripts |
451 | %dir %{py3_sitedir}/xpra/server | |
452 | %{py3_sitedir}/xpra/server/auth | |
453 | %{py3_sitedir}/xpra/server/dbus | |
454 | %{py3_sitedir}/xpra/server/mixins | |
455 | %{py3_sitedir}/xpra/server/proxy | |
456 | %{py3_sitedir}/xpra/server/rfb | |
457 | %{py3_sitedir}/xpra/server/shadow | |
458 | %{py3_sitedir}/xpra/server/source | |
459 | %dir %{py3_sitedir}/xpra/server/window | |
460 | %attr(755,root,root) %{py3_sitedir}/xpra/server/window/motion.cpython-*.so | |
461 | %{py3_sitedir}/xpra/server/window/*.py | |
462 | %{py3_sitedir}/xpra/server/window/__pycache__ | |
463 | %attr(755,root,root) %{py3_sitedir}/xpra/server/cystats.cpython-*.so | |
464 | %attr(755,root,root) %{py3_sitedir}/xpra/server/pam.cpython-*.so | |
465 | %{py3_sitedir}/xpra/server/*.py | |
466 | %{py3_sitedir}/xpra/server/__pycache__ | |
a45b7a61 | 467 | %dir %{py3_sitedir}/xpra/x11 |
0a252a58 JR |
468 | %{py3_sitedir}/xpra/x11/*.py |
469 | %{py3_sitedir}/xpra/x11/__pycache__ | |
a45b7a61 JB |
470 | %dir %{py3_sitedir}/xpra/x11/bindings |
471 | %attr(755,root,root) %{py3_sitedir}/xpra/x11/bindings/*.so | |
472 | %{py3_sitedir}/xpra/x11/bindings/*.py | |
473 | %{py3_sitedir}/xpra/x11/bindings/__pycache__ | |
474 | %{py3_sitedir}/xpra/x11/dbus | |
0a252a58 | 475 | %{py3_sitedir}/xpra/x11/desktop |
a45b7a61 JB |
476 | %dir %{py3_sitedir}/xpra/x11/gtk3 |
477 | %attr(755,root,root) %{py3_sitedir}/xpra/x11/gtk3/gdk_bindings.cpython-*.so | |
478 | %attr(755,root,root) %{py3_sitedir}/xpra/x11/gtk3/gdk_display_source.cpython-*.so | |
479 | %{py3_sitedir}/xpra/x11/gtk3/*.py | |
480 | %{py3_sitedir}/xpra/x11/gtk3/__pycache__ | |
481 | %{py3_sitedir}/xpra/x11/gtk_x11 | |
482 | %{py3_sitedir}/xpra/x11/models | |
a45b7a61 | 483 | %{py3_sitedir}/xpra-%{version}-py*.egg-info |
5b5972d7 | 484 | |
48f224e5 ER |
485 | %files -n cups-backend-xpra |
486 | %defattr(644,root,root,755) | |
487 | %attr(756,root,root) %{cupsdir}/xpraforwarder |