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