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