]>
Commit | Line | Data |
---|---|---|
f1a9b771 | 1 | # TODO |
29951ed6 | 2 | # - subpackages for client/server, see http://xpra.org/dev.html |
4d273b65 ER |
3 | # |
4 | # Conditional build: | |
5 | %bcond_without client | |
6 | %bcond_without server | |
7 | %bcond_without sound | |
8 | %bcond_without clipboard | |
9 | %bcond_without csc | |
10 | %bcond_without dec_av | |
11 | %bcond_without opengl | |
12 | %bcond_without rencode | |
13 | %bcond_without vpx | |
14 | %bcond_without webp | |
15 | %bcond_without x264 | |
16 | ||
160ef313 | 17 | Summary: Xpra gives you "persistent remote applications" for X |
5a5f28f1 | 18 | Summary(pl.UTF-8): Xpra - "stałe zdalne aplikacje" dla X |
160ef313 | 19 | Name: xpra |
51a5ac26 | 20 | Version: 0.10.11 |
33952dff | 21 | Release: 1 |
160ef313 | 22 | License: GPL v2+ |
33952dff | 23 | Group: X11/Applications/Networking |
f1a9b771 | 24 | Source0: http://xpra.org/src/%{name}-%{version}.tar.xz |
51a5ac26 | 25 | # Source0-md5: e991204e28cb483382d8cb8d74120381 |
ee1187c7 | 26 | Patch0: setup-cc-ccache.patch |
160ef313 | 27 | URL: http://xpra.org/ |
5a5f28f1 | 28 | BuildRequires: OpenGL-devel |
29951ed6 | 29 | BuildRequires: ffmpeg-devel |
5a5f28f1 JB |
30 | BuildRequires: gtk+2-devel >= 2.0 |
31 | BuildRequires: libvpx-devel | |
29951ed6 ER |
32 | BuildRequires: libx264-devel |
33 | BuildRequires: pkgconfig | |
5a5f28f1 | 34 | BuildRequires: python-Cython >= 0.14.0 |
160ef313 | 35 | BuildRequires: python-distribute |
5a5f28f1 JB |
36 | BuildRequires: python-pygobject-devel >= 2.0 |
37 | BuildRequires: python-pygtk-devel >= 2:2.0 | |
160ef313 | 38 | BuildRequires: rpm-pythonprov |
f1a9b771 | 39 | BuildRequires: tar >= 1:1.22 |
29951ed6 | 40 | BuildRequires: xorg-lib-libXtst-devel |
f1a9b771 | 41 | BuildRequires: xz |
282f26dd | 42 | Requires: libwebp |
5a5f28f1 | 43 | Requires: python-pygtk-gtk >= 2:2.0 |
33952dff ER |
44 | Requires: xorg-app-setxkbmap |
45 | Requires: xorg-app-xauth | |
46 | Requires: xorg-app-xmodmap | |
282f26dd | 47 | Requires: xorg-xserver-Xvfb |
5c84ecfd ER |
48 | Suggests: python-PyOpenGL |
49 | Suggests: python-pygtkglext | |
160ef313 ER |
50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
52 | %description | |
53 | Xpra gives you "persistent remote applications" for X. That is, unlike | |
54 | normal X applications, applications run with xpra are "persistent" -- | |
55 | you can run them remotely, and they don't die if your connection does. | |
56 | You can detach them, and reattach them later -- even from another | |
57 | computer -- with no loss of state. And unlike VNC or RDP, xpra is for | |
58 | remote applications, not remote desktops -- individual applications | |
59 | show up as individual windows on your screen, managed by your window | |
60 | manager. They're not trapped in a box. | |
61 | ||
62 | So basically it's screen for remote X apps. | |
63 | ||
134fd9a0 | 64 | %description -l pl.UTF-8 |
5a5f28f1 JB |
65 | Xpra daje "stałe zdalne aplikacje" dla serwera X, które w |
66 | przeciwieństwie do zwykłych X-owych aplikacji, uruchamiane są z xprą | |
67 | jako niezamykające. Można je uruchomić zdalnie i one nie zostaną | |
68 | zamknięte, gdy połączenie zostanie przerwane. Można je odłączyć i | |
134fd9a0 | 69 | podłączyć z powrotem później, również z innego komputera, bez straty |
5a5f28f1 JB |
70 | stanu. W odróżnieniu od VNC czy RDP, xpra jest dla zdalnych aplikacji, |
71 | a nie zdalnych pulpitów - pojedyncze aplikacje pokazują się jako | |
72 | samodzielne okno na lokalnym ekranie, zarządzane przez lokalnego | |
73 | zarządcę okien. | |
134fd9a0 | 74 | |
5a5f28f1 | 75 | W uproszczeniu xpra to "screen" dla zdalnych aplikacji X-owych. |
134fd9a0 | 76 | |
160ef313 | 77 | %prep |
f1a9b771 | 78 | %setup -q |
ee1187c7 | 79 | %patch0 -p1 |
160ef313 ER |
80 | |
81 | %build | |
82 | CC="%{__cc}" \ | |
83 | CFLAGS="%{rpmcflags}" \ | |
4d273b65 ER |
84 | %{__python} setup.py build \ |
85 | %{__with_without client} \ | |
86 | %{__with_without clipboard} \ | |
87 | %{__with_without csc csc_swscale} \ | |
88 | %{__with_without dec_av dec_avcodec} \ | |
89 | %{__with_without opengl} \ | |
90 | %{__with_without rencode} \ | |
91 | %{__with_without server cymaths} \ | |
92 | %{__with_without server shadow} \ | |
93 | %{__with_without server} \ | |
94 | %{__with_without sound} \ | |
95 | %{__with_without vpx} \ | |
96 | %{__with_without webp} \ | |
97 | %{__with_without x264 enc_x264} \ | |
98 | --with-Xdummy \ | |
99 | --with-argb \ | |
100 | --with-cyxor \ | |
101 | --with-gtk2 \ | |
102 | --without-gtk3 \ | |
103 | --without-qt4 \ | |
104 | --with-strict \ | |
105 | --with-warn \ | |
106 | --with-x11 \ | |
107 | --with-PIC \ | |
108 | --with%{!?debug:out}-debug \ | |
109 | %{nil} | |
160ef313 ER |
110 | |
111 | %install | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | %{__python} setup.py install \ | |
114 | --skip-build \ | |
115 | --optimize=2 \ | |
116 | --root=$RPM_BUILD_ROOT | |
117 | ||
160ef313 | 118 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/COPYING |
5a5f28f1 | 119 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/README |
160ef313 | 120 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/xpra/webm/LICENSE |
160ef313 ER |
121 | |
122 | %py_postclean | |
123 | ||
124 | %clean | |
125 | rm -rf $RPM_BUILD_ROOT | |
126 | ||
127 | %files | |
128 | %defattr(644,root,root,755) | |
5a5f28f1 | 129 | %doc NEWS README |
160ef313 ER |
130 | %dir %{_sysconfdir}/%{name} |
131 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg.conf | |
132 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xpra.conf | |
160ef313 ER |
133 | %attr(755,root,root) %{_bindir}/xpra |
134 | %attr(755,root,root) %{_bindir}/xpra_Xdummy | |
135 | %attr(755,root,root) %{_bindir}/xpra_launcher | |
136 | %dir %{_datadir}/xpra | |
137 | %dir %{_datadir}/xpra/icons | |
138 | %{_datadir}/xpra/icons/*.png | |
5a5f28f1 | 139 | %{_desktopdir}/xpra.desktop |
160ef313 ER |
140 | %{_desktopdir}/xpra_launcher.desktop |
141 | %{_iconsdir}/xpra.png | |
160ef313 ER |
142 | %{_mandir}/man1/xpra.1* |
143 | %{_mandir}/man1/xpra_launcher.1* | |
144 | ||
160ef313 | 145 | %dir %{py_sitedir}/xpra |
5a5f28f1 JB |
146 | %{py_sitedir}/xpra/client |
147 | %{py_sitedir}/xpra/clipboard | |
148 | %dir %{py_sitedir}/xpra/codecs | |
149 | %dir %{py_sitedir}/xpra/codecs/argb | |
150 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/argb/argb.so | |
151 | %{py_sitedir}/xpra/codecs/argb/__init__.py[co] | |
152 | %dir %{py_sitedir}/xpra/codecs/csc_swscale | |
153 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/csc_swscale/colorspace_converter.so | |
154 | %{py_sitedir}/xpra/codecs/csc_swscale/__init__.py[co] | |
155 | %dir %{py_sitedir}/xpra/codecs/dec_avcodec | |
156 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/dec_avcodec/decoder.so | |
157 | %{py_sitedir}/xpra/codecs/dec_avcodec/__init__.py[co] | |
158 | %dir %{py_sitedir}/xpra/codecs/enc_x264 | |
159 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/enc_x264/encoder.so | |
160 | %{py_sitedir}/xpra/codecs/enc_x264/__init__.py[co] | |
161 | %dir %{py_sitedir}/xpra/codecs/vpx | |
162 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/vpx/decoder.so | |
163 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/vpx/encoder.so | |
164 | %{py_sitedir}/xpra/codecs/vpx/__init__.py[co] | |
165 | %{py_sitedir}/xpra/codecs/webm | |
166 | %dir %{py_sitedir}/xpra/codecs/xor | |
167 | %attr(755,root,root) %{py_sitedir}/xpra/codecs/xor/cyxor.so | |
168 | %{py_sitedir}/xpra/codecs/xor/*.py[co] | |
169 | %{py_sitedir}/xpra/codecs/*.py[co] | |
170 | %dir %{py_sitedir}/xpra/gtk_common | |
171 | %attr(755,root,root) %{py_sitedir}/xpra/gtk_common/gdk_atoms.so | |
172 | %{py_sitedir}/xpra/gtk_common/*.py[co] | |
173 | %{py_sitedir}/xpra/keyboard | |
174 | %dir %{py_sitedir}/xpra/net | |
175 | %dir %{py_sitedir}/xpra/net/rencode | |
176 | %attr(755,root,root) %{py_sitedir}/xpra/net/rencode/_rencode.so | |
177 | %{py_sitedir}/xpra/net/rencode/*.py[co] | |
178 | %{py_sitedir}/xpra/net/*.py[co] | |
179 | %{py_sitedir}/xpra/platform | |
180 | %{py_sitedir}/xpra/scripts | |
181 | %dir %{py_sitedir}/xpra/server | |
182 | %dir %{py_sitedir}/xpra/server/stats | |
183 | %attr(755,root,root) %{py_sitedir}/xpra/server/stats/cymaths.so | |
184 | %{py_sitedir}/xpra/server/stats/*.py[co] | |
185 | %{py_sitedir}/xpra/server/*.py[co] | |
186 | %{py_sitedir}/xpra/sound | |
187 | %dir %{py_sitedir}/xpra/x11 | |
188 | %dir %{py_sitedir}/xpra/x11/bindings | |
189 | %attr(755,root,root) %{py_sitedir}/xpra/x11/bindings/*.so | |
190 | %{py_sitedir}/xpra/x11/bindings/__init__.py[co] | |
191 | %dir %{py_sitedir}/xpra/x11/gtk_x11 | |
192 | %attr(755,root,root) %{py_sitedir}/xpra/x11/gtk_x11/gdk_*.so | |
193 | %{py_sitedir}/xpra/x11/gtk_x11/*.py[co] | |
194 | %{py_sitedir}/xpra/x11/*.py[co] | |
160ef313 | 195 | %{py_sitedir}/xpra/*.py[co] |
5a5f28f1 | 196 | %{py_sitedir}/xpra_all-%{version}-py*.egg-info |