2 # - DMX is broken at this moment (so --disable-dmx added for now)
7 Summary(pl): Serwer X.org
8 Name: xorg-xserver-server
13 Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
14 # Source0-md5: b21e7262541f6d3c8c5dfdfd29238bbe
15 # %define mesa_version 6.5.1
16 # Source1: http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
17 Source1: Mesa-20061103.tar.gz
18 # Source1-md5: fa53549d83dc5a03b0c955e03a8764e4
20 Patch0: %{name}-ncurses.patch
21 Patch1: %{name}-symlinks.patch
22 Patch2: %{name}-xwrapper.patch
23 Patch3: %{name}-dbus.patch
24 URL: http://xorg.freedesktop.org/
26 BuildRequires: OpenGL-GLX-devel
27 BuildRequires: autoconf >= 2.57
28 BuildRequires: automake
30 BuildRequires: libdrm-devel >= 2.2.0
31 BuildRequires: libtool
32 BuildRequires: ncurses-devel
33 BuildRequires: pam-devel
34 BuildRequires: perl-base
35 BuildRequires: pkgconfig >= 1:0.19
36 BuildRequires: xorg-app-mkfontscale
37 BuildRequires: xorg-lib-libX11-devel
38 BuildRequires: xorg-lib-libXau-devel
39 BuildRequires: xorg-lib-libXaw-devel
40 BuildRequires: xorg-lib-libXdmcp-devel
41 BuildRequires: xorg-lib-libXext-devel
42 BuildRequires: xorg-lib-libXfont-devel
43 BuildRequires: xorg-lib-libXi-devel
44 BuildRequires: xorg-lib-libXmu-devel
45 BuildRequires: xorg-lib-libXpm-devel
46 BuildRequires: xorg-lib-libXrender-devel
47 BuildRequires: xorg-lib-libXres-devel
48 BuildRequires: xorg-lib-libXt-devel >= 1.0.0
49 BuildRequires: xorg-lib-libXtst-devel
50 BuildRequires: xorg-lib-libXxf86dga-devel
51 BuildRequires: xorg-lib-libXxf86misc-devel
52 BuildRequires: xorg-lib-libXxf86vm-devel
53 %{?with_dmx:BuildRequires: xorg-lib-libdmx-devel}
54 BuildRequires: xorg-lib-libfontenc-devel
55 BuildRequires: xorg-lib-liblbxutil-devel
56 BuildRequires: xorg-lib-libxkbfile-devel
57 BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
58 BuildRequires: xorg-lib-xtrans-devel
59 BuildRequires: xorg-proto-bigreqsproto-devel
60 BuildRequires: xorg-proto-compositeproto-devel >= 0.3
61 BuildRequires: xorg-proto-damageproto-devel
62 %{?with_dmx:BuildRequires: xorg-proto-dmxproto-devel}
63 BuildRequires: xorg-proto-evieext-devel
64 BuildRequires: xorg-proto-fixesproto-devel >= 4.0
65 BuildRequires: xorg-proto-fontcacheproto-devel
66 BuildRequires: xorg-proto-fontsproto-devel
67 BuildRequires: xorg-proto-glproto-devel >= 1.4.7
68 BuildRequires: xorg-proto-inputproto-devel >= 1.4
69 BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
70 BuildRequires: xorg-proto-printproto-devel
71 BuildRequires: xorg-proto-randrproto-devel
72 BuildRequires: xorg-proto-recordproto-devel
73 BuildRequires: xorg-proto-renderproto-devel
74 BuildRequires: xorg-proto-resourceproto-devel
75 BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
76 BuildRequires: xorg-proto-trapproto-devel
77 BuildRequires: xorg-proto-videoproto-devel
78 BuildRequires: xorg-proto-xcmiscproto-devel
79 BuildRequires: xorg-proto-xextproto-devel
80 BuildRequires: xorg-proto-xf86bigfontproto-devel
81 BuildRequires: xorg-proto-xf86dgaproto-devel
82 BuildRequires: xorg-proto-xf86driproto-devel
83 BuildRequires: xorg-proto-xf86miscproto-devel
84 BuildRequires: xorg-proto-xf86vidmodeproto-devel
85 BuildRequires: xorg-proto-xineramaproto-devel
86 BuildRequires: xorg-proto-xproto-devel
87 BuildRequires: xorg-util-util-macros >= 0.99.2
88 # xcalibrateproto, tslib (for KDRIVE only)
89 # glitz-devel >= 0.4.3 (for XGL and EGL only)
91 Requires: xorg-app-rgb >= 0.99.3
92 Requires: xorg-app-xkbcomp
93 # just for %{_includedir}/bitmaps dir
94 Requires: xorg-data-xbitmaps
95 Requires: xorg-data-xkbdata
96 # xserver requires default fixed and cursosr fonts.
97 Requires: xorg-font-font-alias
98 Requires: xorg-font-font-cursor-misc
99 Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
100 # for new app-defaults location
101 Requires: xorg-lib-libXt >= 1.0.0
102 Obsoletes: X11-Xserver
103 Obsoletes: X11-modules
104 Obsoletes: XFree86-Xserver
105 Obsoletes: XFree86-modules
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
110 Xorg server is a generally used X server which uses display hardware.
111 It requires proper driver for your display hardware.
114 Serwer Xorg to podstawowy serwer X wy¶wietlaj±cy obraz na karcie
115 graficznej. Do dzia³ania wymaga odpowiedniego sterownika.
117 %package -n xorg-xserver-Xdmx
118 Summary: Xdmx - distributed multi-head X server
119 Summary(pl): Xdmx - rozproszony, wielomonitorowy serwer X
122 %description -n xorg-xserver-Xdmx
123 Xdmx - distributed multi-head X server.
125 %description -n xorg-xserver-Xdmx -l pl
126 Xdmx - rozproszony, wielomonitorowy serwer X.
128 %package -n xorg-xserver-Xnest
129 Summary: Xnest - nested X server
130 Summary(pl): Xnest - zagnie¿d¿ony serwer X
133 Obsoletes: XFree86-Xnest
134 Obsoletes: Xserver-Xnest
136 %description -n xorg-xserver-Xnest
137 Xnest is an X Window System server which runs in an X window. Xnest is
138 a 'nested' window server, actually a client of the real X server,
139 which manages windows and graphics requests for Xnest, while Xnest
140 manages the windows and graphics requests for its own clients.
142 %description -n xorg-xserver-Xnest -l pl
143 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
144 zachowuje siê jak klient X w stosunku do prawdziwego serwera X, a jak
145 serwer X dla w³asnych klientów.
147 %description -n xorg-xserver-Xnest -l ru
148 Xnest - ÜÔÏ ÓÅÒ×ÅÒ X Window System, ËÏÔÏÒÙÊ ÒÁÂÏÔÁÅÔ × ÏËÎÅ X. îÁ
149 ÓÁÍÏÍ ÄÅÌÅ ÜÔÏ ËÌÉÅÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ËÏÔÏÒÙÊ ÕÐÒÁ×ÌÑÅÔ ÏËÎÁÍÉ É
150 ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Xnest × ÔÏ ×ÒÅÍÑ, ËÁË Xnest ÕÐÒÁ×ÌÑÅÔ
151 ÏËÎÁÍÉ É ÇÒÁÆÉÞÅÓËÉÍÉ ÚÁÐÒÏÓÁÍÉ ÄÌÑ Ó×ÏÉÈ ÓÏÂÓÔ×ÅÎÎÙÈ ËÌÉÅÎÔÏ×.
153 %description -n xorg-xserver-Xnest -l uk
154 Xnest - ÃÅ ÓÅÒ×ÅÒ X Window System, ÑËÉÊ ÐÒÁÃÀ¤ Õ ×¦ËΦ X. æÁËÔÉÞÎÏ ÃÅ
155 Ë̦¤ÎÔ ÒÅÁÌØÎÏÇÏ X-ÓÅÒ×ÅÒÁ, ÑËÉÊ ËÅÒÕ¤ צËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ
156 ÄÌÑ Xnest × ÔÏÊ ÞÁÓ, ÑË Xnest ËÅÒÕ¤ צËÎÁÍÉ ÔÁ ÇÒÁƦÞÎÉÍÉ ÚÁÐÉÔÁÍÉ ÄÌÑ
157 Ó×Ï§È ×ÌÁÓÎÉÈ Ë̦¤ÎÔ¦×.
159 %package -n xorg-xserver-Xprt
160 Summary: Xprt - Xprint server for X
161 Summary(pl): Xprt - serwer Xprint dla X
164 Obsoletes: XFree86-Xprt
166 %description -n xorg-xserver-Xprt
167 Xprt is the Xprint print server for X Window System for non display
168 devices such as printers and fax machines.
170 %description -n xorg-xserver-Xprt -l pl
171 Xprt to serwer wydruków Xprint dla X Window System dla urz±dzeñ nie
172 wy¶wietlaj±cych, takich jak drukarki czy faksy.
174 %package -n xorg-xserver-Xvfb
175 Summary: Xvfb - virtual framebuffer X server
176 Summary(pl): Xvfb - serwer X z wirtualnym framebufferem
179 Obsoletes: XFree86-Xvfb
181 %description -n xorg-xserver-Xvfb
182 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
183 capable of running on machines with no display hardware and no
184 physical input devices. Xvfb emulates a dumb framebuffer using virtual
185 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
186 display. Xvfb is normally used for testing servers. Using Xvfb, the
187 mfb or cfb code for any depth can be exercised without using real
188 hardware that supports the desired depths. Xvfb has also been used to
189 test X clients against unusual depths and screen configurations, to do
190 batch processing with Xvfb as a background rendering engine, to do
191 load testing, to help with porting an X server to a new platform, and
192 to provide an unobtrusive way of running applications which really
193 don't need an X server but insist on having one.
195 %description -n xorg-xserver-Xvfb -l pl
196 Xvfb (X Virtual Frame Buffer) jest serwerem X, który mo¿na uruchamiaæ
197 na maszynach bez urz±dzeñ wy¶wietlaj±cych ani fizycznych urz±dzeñ
198 wej¶ciowych. Xvfb emuluje prosty framebuffer w pamiêci. Zwykle jest
199 u¿ywany do testowania serwerów X, mo¿e te¿ byæ u¿ywany do testowania
200 klientów X w rzadko u¿ywanych konfiguracjach ekranu. Mo¿na te¿ u¿yæ
201 Xvfb do uruchomienia aplikacji, które w rzeczywisto¶ci nie wymagaj±
202 serwera X, ale odmawiaj± uruchomienia bez niego.
205 Summary: Header files for X.org server
206 Summary(pl): Pliki nag³ówkowe dla servera X.org
207 Group: X11/Development/Libraries
208 Requires: libdrm-devel >= 2.2.0
209 Requires: xorg-proto-fontsproto-devel
210 Requires: xorg-proto-renderproto-devel
211 Requires: xorg-proto-videoproto-devel
212 Requires: xorg-proto-xextproto-devel
213 Obsoletes: X11-Xserver-devel
214 Obsoletes: X11-XFree86-devel
217 Header files for X.org server.
219 %description devel -l pl
220 Pliki nag³ówkowe dla serwera X.org.
222 %package -n xorg-xserver-libglx
223 Summary: GLX extension library fo X.org server
224 Summary(pl): Biblioteka rozszerzenia GLX dla serwera X.org
226 Requires: xorg-xserver-server
227 Provides: xorg-xserver-modules-libglx
228 Obsoletes: xorg-driver-video-nvidia
230 %description -n xorg-xserver-libglx
231 GLX extension library fo X.org server.
233 %description -n xorg-xserver-libglx -l pl
234 Biblioteka rozszerzenia GLX dla serwera X.org.
237 %setup -q -a1 -n xorg-server-%{version}
254 --%{?with_dmx:en}%{!?with_dmx:dis}able-dmx \
255 --%{?with_dmx:en}%{!?with_dmx:dis}able-xprint \
256 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
257 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/CID,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
258 --with-mesa-source="`pwd`/Mesa"
261 sed -i -e 's#CONFIG_H#XXX_MESA_CONFIG_H#g' GL/mesa/main/config.h
266 rm -rf $RPM_BUILD_ROOT
269 DESTDIR=$RPM_BUILD_ROOT
271 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
272 install -d $RPM_BUILD_ROOT/etc/security/console.apps
273 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
274 install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
275 install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
276 install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
277 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
278 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
280 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
283 rm -rf $RPM_BUILD_ROOT
286 %defattr(644,root,root,755)
288 %attr(755,root,root) %{_bindir}/X
289 %attr(755,root,root) %{_bindir}/Xorg
290 %attr(4755,root,root) %{_bindir}/Xwrapper
291 %attr(755,root,root) %{_bindir}/cvt
292 %attr(755,root,root) %{_bindir}/gtf
293 %attr(755,root,root) %{_bindir}/in[bwl]
294 %attr(755,root,root) %{_bindir}/ioport
295 %attr(755,root,root) %{_bindir}/out[bwl]
296 %attr(755,root,root) %{_bindir}/pcitweak
297 %attr(755,root,root) %{_bindir}/scanpci
298 #%attr(755,root,root) %{_bindir}/xorgcfg
299 %attr(755,root,root) %{_bindir}/xorgconfig
300 #%{_includedir}/X11/bitmaps/*
301 #%{_includedir}/X11/pixmaps
303 %{_libdir}/X11/Options
305 %dir %{_libdir}/xorg/modules
306 %dir %{_libdir}/xorg/modules/dri
307 %dir %{_libdir}/xorg/modules/drivers
308 %dir %{_libdir}/xorg/modules/extensions
309 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
310 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
311 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
312 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
313 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
314 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
315 %dir %{_libdir}/xorg/modules/fonts
316 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
317 %dir %{_libdir}/xorg/modules/input
318 %dir %{_libdir}/xorg/modules/linux
319 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libdrm.so
320 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
321 %dir %{_libdir}/xorg/modules/multimedia
322 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
323 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
324 %dir %{_libdir}/xserver
325 %{_libdir}/xserver/SecurityPolicy
326 #%{_datadir}/X11/app-defaults/XOrgCfg
327 %{_datadir}/X11/xkb/compiled
328 /etc/dbus-1/system.d/*.conf
329 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
330 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
331 %config(missingok) /etc/security/console.apps/xserver
332 %{_mandir}/man1/Xorg.1x*
333 %{_mandir}/man1/Xserver.1x*
334 %{_mandir}/man1/cvt.1*
335 %{_mandir}/man1/gtf.1x*
336 %{_mandir}/man1/pcitweak.1x*
337 %{_mandir}/man1/scanpci.1x*
338 #%{_mandir}/man1/xorgcfg.1x*
339 %{_mandir}/man1/xorgconfig.1*
340 %{_mandir}/man4/exa.4*
341 %{_mandir}/man4/fbdevhw.4*
342 %{_mandir}/man5/xorg.conf.5x*
345 %files -n xorg-xserver-Xdmx
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_bindir}/Xdmx
348 %attr(755,root,root) %{_bindir}/dmxaddinput
349 %attr(755,root,root) %{_bindir}/dmxaddscreen
350 %attr(755,root,root) %{_bindir}/dmxreconfig
351 %attr(755,root,root) %{_bindir}/dmxresize
352 %attr(755,root,root) %{_bindir}/dmxrminput
353 %attr(755,root,root) %{_bindir}/dmxrmscreen
354 %attr(755,root,root) %{_bindir}/dmxtodmx
355 %attr(755,root,root) %{_bindir}/dmxwininfo
356 %attr(755,root,root) %{_bindir}/vdltodmx
357 %attr(755,root,root) %{_bindir}/xdmx
358 %attr(755,root,root) %{_bindir}/xdmxconfig
359 %{_mandir}/man1/Xdmx.1x*
360 %{_mandir}/man1/dmxtodmx.1x*
361 %{_mandir}/man1/vdltodmx.1x*
362 %{_mandir}/man1/xdmxconfig.1x*
365 %files -n xorg-xserver-Xnest
366 %defattr(644,root,root,755)
367 %attr(755,root,root) %{_bindir}/Xnest
368 %{_mandir}/man1/Xnest.1x*
371 %files -n xorg-xserver-Xprt
372 %defattr(644,root,root,755)
373 %attr(755,root,root) %{_bindir}/Xprt
374 %{_libdir}/X11/xserver
375 %{_mandir}/man1/Xprt.1x*
378 %files -n xorg-xserver-Xvfb
379 %defattr(644,root,root,755)
380 %attr(755,root,root) %{_bindir}/Xvfb
381 %{_mandir}/man1/Xvfb.1x*
384 %defattr(644,root,root,755)
386 %{_libdir}/libxf86config.a
387 %{_libdir}/libconfig.a
388 %{_aclocaldir}/xorg-server.m4
389 %{_pkgconfigdir}/xorg-server.pc
391 %files -n xorg-xserver-libglx
392 %defattr(644,root,root,755)
393 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so