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