]>
Commit | Line | Data |
---|---|---|
f1a9b771 ER |
1 | # TODO |
2 | # - package just xpra, get rid of the wm stuff | |
29951ed6 | 3 | # - subpackages for client/server, see http://xpra.org/dev.html |
160ef313 ER |
4 | Summary: Xpra gives you "persistent remote applications" for X |
5 | Name: xpra | |
9542507b | 6 | Version: 0.9.0 |
e9ec0c62 | 7 | Release: 1 |
160ef313 | 8 | License: GPL v2+ |
f1a9b771 | 9 | Source0: http://xpra.org/src/%{name}-%{version}.tar.xz |
9542507b | 10 | # Source0-md5: ada00b0f8ba86b5b95e1fc2fa5fcfaf4 |
160ef313 ER |
11 | Group: Networking |
12 | URL: http://xpra.org/ | |
29951ed6 ER |
13 | BuildRequires: ffmpeg-devel |
14 | BuildRequires: gtk+2-devel | |
15 | BuildRequires: libx264-devel | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: python-Cython | |
160ef313 | 18 | BuildRequires: python-distribute |
29951ed6 ER |
19 | BuildRequires: python-pygobject-devel |
20 | BuildRequires: python-pygtk-devel | |
160ef313 | 21 | BuildRequires: rpm-pythonprov |
f1a9b771 | 22 | BuildRequires: tar >= 1:1.22 |
29951ed6 | 23 | BuildRequires: xorg-lib-libXtst-devel |
f1a9b771 | 24 | BuildRequires: xz |
282f26dd | 25 | Requires: libwebp |
282f26dd | 26 | Requires: xorg-xserver-Xvfb |
160ef313 ER |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Xpra gives you "persistent remote applications" for X. That is, unlike | |
31 | normal X applications, applications run with xpra are "persistent" -- | |
32 | you can run them remotely, and they don't die if your connection does. | |
33 | You can detach them, and reattach them later -- even from another | |
34 | computer -- with no loss of state. And unlike VNC or RDP, xpra is for | |
35 | remote applications, not remote desktops -- individual applications | |
36 | show up as individual windows on your screen, managed by your window | |
37 | manager. They're not trapped in a box. | |
38 | ||
39 | So basically it's screen for remote X apps. | |
40 | ||
41 | %prep | |
f1a9b771 | 42 | %setup -q |
160ef313 ER |
43 | |
44 | %build | |
45 | CC="%{__cc}" \ | |
46 | CFLAGS="%{rpmcflags}" \ | |
47 | %{__python} setup.py build | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | %{__python} setup.py install \ | |
52 | --skip-build \ | |
53 | --optimize=2 \ | |
54 | --root=$RPM_BUILD_ROOT | |
55 | ||
56 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/parti/test_*.py* | |
57 | ||
58 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/parti/README | |
59 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/parti/parti.README | |
60 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/wimpiggy/wimpiggy.README | |
61 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/COPYING | |
62 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/webm/LICENSE | |
63 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/xpra.README | |
160ef313 ER |
64 | |
65 | %py_postclean | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
f1a9b771 | 72 | %doc NEWS xpra.README |
160ef313 ER |
73 | %dir %{_sysconfdir}/%{name} |
74 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg.conf | |
75 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xpra.conf | |
76 | %attr(755,root,root) %{_bindir}/parti | |
77 | %attr(755,root,root) %{_bindir}/parti-repl | |
78 | %attr(755,root,root) %{_bindir}/xpra | |
79 | %attr(755,root,root) %{_bindir}/xpra_Xdummy | |
80 | %attr(755,root,root) %{_bindir}/xpra_launcher | |
81 | %dir %{_datadir}/xpra | |
82 | %dir %{_datadir}/xpra/icons | |
83 | %{_datadir}/xpra/icons/*.png | |
84 | %{_desktopdir}/xpra_launcher.desktop | |
85 | %{_iconsdir}/xpra.png | |
86 | %{_mandir}/man1/parti.1* | |
87 | %{_mandir}/man1/xpra.1* | |
88 | %{_mandir}/man1/xpra_launcher.1* | |
89 | ||
90 | %dir %{py_sitedir}/parti | |
91 | %{py_sitedir}/parti/*.py[co] | |
92 | %{py_sitedir}/parti/addons | |
93 | %{py_sitedir}/parti/scripts | |
94 | %{py_sitedir}/parti/trays | |
95 | %{py_sitedir}/parti_all-%{version}-py*.egg-info | |
96 | ||
97 | %dir %{py_sitedir}/wimpiggy | |
98 | %dir %{py_sitedir}/wimpiggy/gdk | |
99 | %dir %{py_sitedir}/wimpiggy/gdk/*.py[co] | |
100 | %dir %{py_sitedir}/wimpiggy/lowlevel | |
101 | %{py_sitedir}/wimpiggy/*.py[co] | |
102 | %{py_sitedir}/wimpiggy/lowlevel/*.py[co] | |
103 | %attr(755,root,root) %{py_sitedir}/wimpiggy/gdk/gdk_atoms.so | |
104 | %attr(755,root,root) %{py_sitedir}/wimpiggy/lowlevel/bindings.so | |
105 | ||
106 | %dir %{py_sitedir}/xpra | |
40a09e9f | 107 | %dir %{py_sitedir}/xpra/gl |
160ef313 ER |
108 | %dir %{py_sitedir}/xpra/platform |
109 | %dir %{py_sitedir}/xpra/rencode | |
110 | %dir %{py_sitedir}/xpra/scripts | |
40a09e9f ER |
111 | %dir %{py_sitedir}/xpra/sound |
112 | %dir %{py_sitedir}/xpra/stats | |
160ef313 ER |
113 | %dir %{py_sitedir}/xpra/vpx |
114 | %dir %{py_sitedir}/xpra/webm | |
115 | %dir %{py_sitedir}/xpra/x264 | |
40a09e9f | 116 | %dir %{py_sitedir}/xpra/xor |
160ef313 ER |
117 | %dir %{py_sitedir}/xpra/xposix |
118 | %{py_sitedir}/xpra/*.py[co] | |
40a09e9f | 119 | %{py_sitedir}/xpra/gl/*.py[co] |
160ef313 ER |
120 | %{py_sitedir}/xpra/platform/*.py[co] |
121 | %{py_sitedir}/xpra/rencode/*.py[co] | |
122 | %{py_sitedir}/xpra/scripts/*.py[co] | |
40a09e9f ER |
123 | %{py_sitedir}/xpra/sound/*.py[co] |
124 | %{py_sitedir}/xpra/stats/*.py[co] | |
160ef313 ER |
125 | %{py_sitedir}/xpra/vpx/*.py[co] |
126 | %{py_sitedir}/xpra/webm/*.py[co] | |
127 | %{py_sitedir}/xpra/x264/*.py[co] | |
40a09e9f | 128 | %{py_sitedir}/xpra/xor/*.py[co] |
160ef313 ER |
129 | %{py_sitedir}/xpra/xposix/*.py[co] |
130 | %attr(755,root,root) %{py_sitedir}/xpra/rencode/_rencode.so | |
40a09e9f | 131 | %attr(755,root,root) %{py_sitedir}/xpra/stats/cymaths.so |
160ef313 ER |
132 | %attr(755,root,root) %{py_sitedir}/xpra/vpx/codec.so |
133 | %attr(755,root,root) %{py_sitedir}/xpra/wait_for_x_server.so | |
134 | %attr(755,root,root) %{py_sitedir}/xpra/x264/codec.so | |
40a09e9f | 135 | %attr(755,root,root) %{py_sitedir}/xpra/xor/cyxor.so |