]> git.pld-linux.org Git - packages/xpra.git/blame - xpra.spec
- updated to 0.11.3
[packages/xpra.git] / xpra.spec
CommitLineData
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 17Summary: Xpra gives you "persistent remote applications" for X
5a5f28f1 18Summary(pl.UTF-8): Xpra - "stałe zdalne aplikacje" dla X
160ef313 19Name: xpra
ac566aec 20Version: 0.11.3
33952dff 21Release: 1
160ef313 22License: GPL v2+
33952dff 23Group: X11/Applications/Networking
f1a9b771 24Source0: http://xpra.org/src/%{name}-%{version}.tar.xz
ac566aec 25# Source0-md5: f3cbb40ea7df64b68227a2a5d24f4f96
ee1187c7 26Patch0: setup-cc-ccache.patch
160ef313 27URL: http://xpra.org/
5a5f28f1 28BuildRequires: OpenGL-devel
29951ed6 29BuildRequires: ffmpeg-devel
5a5f28f1
JB
30BuildRequires: gtk+2-devel >= 2.0
31BuildRequires: libvpx-devel
29951ed6
ER
32BuildRequires: libx264-devel
33BuildRequires: pkgconfig
5a5f28f1 34BuildRequires: python-Cython >= 0.14.0
160ef313 35BuildRequires: python-distribute
5a5f28f1
JB
36BuildRequires: python-pygobject-devel >= 2.0
37BuildRequires: python-pygtk-devel >= 2:2.0
160ef313 38BuildRequires: rpm-pythonprov
f1a9b771 39BuildRequires: tar >= 1:1.22
29951ed6 40BuildRequires: xorg-lib-libXtst-devel
f1a9b771 41BuildRequires: xz
282f26dd 42Requires: libwebp
5a5f28f1 43Requires: python-pygtk-gtk >= 2:2.0
33952dff
ER
44Requires: xorg-app-setxkbmap
45Requires: xorg-app-xauth
46Requires: xorg-app-xmodmap
282f26dd 47Requires: xorg-xserver-Xvfb
5c84ecfd
ER
48Suggests: python-PyOpenGL
49Suggests: python-pygtkglext
160ef313
ER
50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52%description
53Xpra gives you "persistent remote applications" for X. That is, unlike
54normal X applications, applications run with xpra are "persistent" --
55you can run them remotely, and they don't die if your connection does.
56You can detach them, and reattach them later -- even from another
57computer -- with no loss of state. And unlike VNC or RDP, xpra is for
58remote applications, not remote desktops -- individual applications
59show up as individual windows on your screen, managed by your window
60manager. They're not trapped in a box.
61
62So basically it's screen for remote X apps.
63
134fd9a0 64%description -l pl.UTF-8
5a5f28f1
JB
65Xpra daje "stałe zdalne aplikacje" dla serwera X, które w
66przeciwieństwie do zwykłych X-owych aplikacji, uruchamiane są z xprą
67jako niezamykające. Można je uruchomić zdalnie i one nie zostaną
68zamknięte, gdy połączenie zostanie przerwane. Można je odłączyć i
134fd9a0 69podłączyć z powrotem później, również z innego komputera, bez straty
5a5f28f1
JB
70stanu. W odróżnieniu od VNC czy RDP, xpra jest dla zdalnych aplikacji,
71a nie zdalnych pulpitów - pojedyncze aplikacje pokazują się jako
72samodzielne okno na lokalnym ekranie, zarządzane przez lokalnego
73zarządcę okien.
134fd9a0 74
5a5f28f1 75W 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
82CC="%{__cc}" \
83CFLAGS="%{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
112rm -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
125rm -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
383a6766
ER
139# experimental html5 client
140%{_datadir}/%{name}/www
5a5f28f1 141%{_desktopdir}/xpra.desktop
160ef313
ER
142%{_desktopdir}/xpra_launcher.desktop
143%{_iconsdir}/xpra.png
160ef313
ER
144%{_mandir}/man1/xpra.1*
145%{_mandir}/man1/xpra_launcher.1*
146
160ef313 147%dir %{py_sitedir}/xpra
5a5f28f1
JB
148%{py_sitedir}/xpra/client
149%{py_sitedir}/xpra/clipboard
150%dir %{py_sitedir}/xpra/codecs
151%dir %{py_sitedir}/xpra/codecs/argb
152%attr(755,root,root) %{py_sitedir}/xpra/codecs/argb/argb.so
153%{py_sitedir}/xpra/codecs/argb/__init__.py[co]
154%dir %{py_sitedir}/xpra/codecs/csc_swscale
155%attr(755,root,root) %{py_sitedir}/xpra/codecs/csc_swscale/colorspace_converter.so
156%{py_sitedir}/xpra/codecs/csc_swscale/__init__.py[co]
157%dir %{py_sitedir}/xpra/codecs/dec_avcodec
158%attr(755,root,root) %{py_sitedir}/xpra/codecs/dec_avcodec/decoder.so
159%{py_sitedir}/xpra/codecs/dec_avcodec/__init__.py[co]
160%dir %{py_sitedir}/xpra/codecs/enc_x264
161%attr(755,root,root) %{py_sitedir}/xpra/codecs/enc_x264/encoder.so
162%{py_sitedir}/xpra/codecs/enc_x264/__init__.py[co]
163%dir %{py_sitedir}/xpra/codecs/vpx
164%attr(755,root,root) %{py_sitedir}/xpra/codecs/vpx/decoder.so
165%attr(755,root,root) %{py_sitedir}/xpra/codecs/vpx/encoder.so
166%{py_sitedir}/xpra/codecs/vpx/__init__.py[co]
167%{py_sitedir}/xpra/codecs/webm
168%dir %{py_sitedir}/xpra/codecs/xor
169%attr(755,root,root) %{py_sitedir}/xpra/codecs/xor/cyxor.so
170%{py_sitedir}/xpra/codecs/xor/*.py[co]
171%{py_sitedir}/xpra/codecs/*.py[co]
383a6766
ER
172%dir %{py_sitedir}/xpra/codecs/csc_cython
173%{py_sitedir}/xpra/codecs/csc_cython/*.py[co]
174%attr(755,root,root) %{py_sitedir}/xpra/codecs/csc_cython/colorspace_converter.so
175%dir %{py_sitedir}/xpra/codecs/csc_opencl
176%{py_sitedir}/xpra/codecs/csc_opencl/*.py[co]
177%dir %{py_sitedir}/xpra/net/bencode
178%{py_sitedir}/xpra/net/bencode/*.py[co]
179%attr(755,root,root) %{py_sitedir}/xpra/net/bencode/cython_bencode.so
5a5f28f1
JB
180%dir %{py_sitedir}/xpra/gtk_common
181%attr(755,root,root) %{py_sitedir}/xpra/gtk_common/gdk_atoms.so
182%{py_sitedir}/xpra/gtk_common/*.py[co]
183%{py_sitedir}/xpra/keyboard
184%dir %{py_sitedir}/xpra/net
185%dir %{py_sitedir}/xpra/net/rencode
186%attr(755,root,root) %{py_sitedir}/xpra/net/rencode/_rencode.so
187%{py_sitedir}/xpra/net/rencode/*.py[co]
188%{py_sitedir}/xpra/net/*.py[co]
189%{py_sitedir}/xpra/platform
190%{py_sitedir}/xpra/scripts
191%dir %{py_sitedir}/xpra/server
192%dir %{py_sitedir}/xpra/server/stats
193%attr(755,root,root) %{py_sitedir}/xpra/server/stats/cymaths.so
194%{py_sitedir}/xpra/server/stats/*.py[co]
195%{py_sitedir}/xpra/server/*.py[co]
383a6766
ER
196%dir %{py_sitedir}/xpra/server/auth
197%{py_sitedir}/xpra/server/auth/*.py[co]
5a5f28f1
JB
198%{py_sitedir}/xpra/sound
199%dir %{py_sitedir}/xpra/x11
200%dir %{py_sitedir}/xpra/x11/bindings
201%attr(755,root,root) %{py_sitedir}/xpra/x11/bindings/*.so
202%{py_sitedir}/xpra/x11/bindings/__init__.py[co]
203%dir %{py_sitedir}/xpra/x11/gtk_x11
204%attr(755,root,root) %{py_sitedir}/xpra/x11/gtk_x11/gdk_*.so
205%{py_sitedir}/xpra/x11/gtk_x11/*.py[co]
206%{py_sitedir}/xpra/x11/*.py[co]
160ef313 207%{py_sitedir}/xpra/*.py[co]
383a6766 208%{py_sitedir}/xpra-%{version}-py*.egg-info
This page took 0.125161 seconds and 4 git commands to generate.