]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - package just xpra, get rid of the wm stuff | |
3 | # - subpackages for client/server, see http://xpra.org/dev.html | |
4 | Summary: Xpra gives you "persistent remote applications" for X | |
5 | Name: xpra | |
6 | Version: 0.7.8 | |
7 | Release: 0.13 | |
8 | License: GPL v2+ | |
9 | Source0: http://xpra.org/src/%{name}-%{version}.tar.xz | |
10 | # Source0-md5: 940d20f26c1cfaa16bd0aee69bfb2233 | |
11 | Patch0: webm-soname.patch | |
12 | Group: Networking | |
13 | URL: http://xpra.org/ | |
14 | BuildRequires: ffmpeg-devel | |
15 | BuildRequires: gtk+2-devel | |
16 | BuildRequires: libx264-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: python-Cython | |
19 | BuildRequires: python-distribute | |
20 | BuildRequires: python-pygobject-devel | |
21 | BuildRequires: python-pygtk-devel | |
22 | BuildRequires: rpm-pythonprov | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: xorg-lib-libXtst-devel | |
25 | BuildRequires: xz | |
26 | #Requires: PyOpenGL | |
27 | Requires: libwebp | |
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 | |
35 | #Requires: xorg-x11-drv-dummy | |
36 | #Requires: xorg-x11-drv-void | |
37 | #Requires: xorg-x11-server-utils | |
38 | Requires: xorg-xserver-Xvfb | |
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 | |
54 | %setup -q | |
55 | %patch0 -p1 | |
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) | |
86 | %doc NEWS xpra.README | |
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 | |
121 | %dir %{py_sitedir}/xpra/platform | |
122 | %dir %{py_sitedir}/xpra/rencode | |
123 | %dir %{py_sitedir}/xpra/scripts | |
124 | %dir %{py_sitedir}/xpra/vpx | |
125 | %dir %{py_sitedir}/xpra/webm | |
126 | %dir %{py_sitedir}/xpra/x264 | |
127 | %dir %{py_sitedir}/xpra/xposix | |
128 | %{py_sitedir}/xpra/*.py[co] | |
129 | %{py_sitedir}/xpra/platform/*.py[co] | |
130 | %{py_sitedir}/xpra/rencode/*.py[co] | |
131 | %{py_sitedir}/xpra/scripts/*.py[co] | |
132 | %{py_sitedir}/xpra/vpx/*.py[co] | |
133 | %{py_sitedir}/xpra/webm/*.py[co] | |
134 | %{py_sitedir}/xpra/x264/*.py[co] | |
135 | %{py_sitedir}/xpra/xposix/*.py[co] | |
136 | %attr(755,root,root) %{py_sitedir}/xpra/rencode/_rencode.so | |
137 | %attr(755,root,root) %{py_sitedir}/xpra/vpx/codec.so | |
138 | %attr(755,root,root) %{py_sitedir}/xpra/wait_for_x_server.so | |
139 | %attr(755,root,root) %{py_sitedir}/xpra/x264/codec.so |