2 Summary(pl.UTF-8): Serwer X.org
3 Name: xorg-xserver-server
8 Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
9 # Source0-md5: a51a7d482e3c689394755bb17bda8526
10 %define mesa_version 6.5.3
11 Source1: http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
12 # Source1-md5: 46359457147c469745f24b5074a186f0
14 Patch0: %{name}-ncurses.patch
15 Patch1: %{name}-xwrapper.patch
16 # nasty hack for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052
17 Patch2: %{name}-gcc-x86_64-workaround.patch
18 Patch3: %{name}-drop-GLinterface.patch
19 Patch4: %{name}-mesa.patch
20 URL: http://xorg.freedesktop.org/
22 BuildRequires: OpenGL-GLX-devel
23 BuildRequires: autoconf >= 2.57
24 BuildRequires: automake
26 BuildRequires: libdrm-devel >= 2.2.0
27 BuildRequires: libtool
28 BuildRequires: ncurses-devel
29 BuildRequires: pam-devel
30 BuildRequires: perl-base
31 BuildRequires: pkgconfig >= 1:0.19
32 BuildRequires: xorg-app-mkfontscale
33 BuildRequires: xorg-lib-libX11-devel
34 BuildRequires: xorg-lib-libXau-devel
35 BuildRequires: xorg-lib-libXaw-devel
36 BuildRequires: xorg-lib-libXdmcp-devel
37 BuildRequires: xorg-lib-libXext-devel
38 BuildRequires: xorg-lib-libXfont-devel
39 BuildRequires: xorg-lib-libXi-devel
40 BuildRequires: xorg-lib-libXmu-devel
41 BuildRequires: xorg-lib-libXpm-devel
42 BuildRequires: xorg-lib-libXrender-devel
43 BuildRequires: xorg-lib-libXres-devel
44 BuildRequires: xorg-lib-libXt-devel >= 1.0.0
45 BuildRequires: xorg-lib-libXtst-devel
46 BuildRequires: xorg-lib-libXxf86dga-devel
47 BuildRequires: xorg-lib-libXxf86misc-devel
48 BuildRequires: xorg-lib-libXxf86vm-devel
49 BuildRequires: xorg-lib-libdmx-devel
50 BuildRequires: xorg-lib-libfontenc-devel
51 BuildRequires: xorg-lib-liblbxutil-devel
52 BuildRequires: xorg-lib-libxkbfile-devel
53 BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
54 BuildRequires: xorg-lib-xtrans-devel
55 BuildRequires: xorg-proto-bigreqsproto-devel
56 BuildRequires: xorg-proto-compositeproto-devel >= 0.3
57 BuildRequires: xorg-proto-damageproto-devel >= 1.1
58 BuildRequires: xorg-proto-dmxproto-devel
59 BuildRequires: xorg-proto-evieext-devel
60 BuildRequires: xorg-proto-fixesproto-devel >= 4.0
61 BuildRequires: xorg-proto-fontcacheproto-devel
62 BuildRequires: xorg-proto-fontsproto-devel
63 BuildRequires: xorg-proto-glproto-devel >= 1.4.8
64 BuildRequires: xorg-proto-inputproto-devel >= 1.4
65 BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
66 BuildRequires: xorg-proto-printproto-devel
67 BuildRequires: xorg-proto-randrproto-devel >= 1.2
68 BuildRequires: xorg-proto-recordproto-devel
69 BuildRequires: xorg-proto-renderproto-devel
70 BuildRequires: xorg-proto-resourceproto-devel
71 BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
72 BuildRequires: xorg-proto-trapproto-devel
73 BuildRequires: xorg-proto-videoproto-devel
74 BuildRequires: xorg-proto-xcmiscproto-devel
75 BuildRequires: xorg-proto-xextproto-devel
76 BuildRequires: xorg-proto-xf86bigfontproto-devel
77 BuildRequires: xorg-proto-xf86dgaproto-devel
78 BuildRequires: xorg-proto-xf86driproto-devel
79 BuildRequires: xorg-proto-xf86miscproto-devel
80 BuildRequires: xorg-proto-xf86vidmodeproto-devel
81 BuildRequires: xorg-proto-xineramaproto-devel
82 BuildRequires: xorg-proto-xproto-devel
83 BuildRequires: xorg-util-util-macros >= 0.99.2
84 # xcalibrateproto, tslib (for KDRIVE only)
85 # glitz-devel >= 0.4.3 (for XGL and EGL only)
87 Requires: xorg-app-rgb >= 0.99.3
88 Requires: xorg-app-xkbcomp
89 # just for %{_includedir}/bitmaps dir
90 Requires: xorg-data-xbitmaps
91 Requires: xkeyboard-config
92 # xserver requires default fixed and cursosr fonts.
93 Requires: xorg-font-font-alias
94 Requires: xorg-font-font-cursor-misc
95 Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
96 # for new app-defaults location
97 Requires: xorg-lib-libXt >= 1.0.0
98 Obsoletes: X11-Xserver < 1:7.0.0
99 Obsoletes: X11-driver-i2c < 1:7.0.0
100 Obsoletes: X11-modules < 1:7.0.0
101 Obsoletes: X11-setup < 1:7.0.0
102 Obsoletes: XFree86-Xserver < 1:7.0.0
103 Obsoletes: XFree86-modules < 1:7.0.0
104 Obsoletes: XFree86-setup < 1:7.0.0
106 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 # avoid self-dependencies on included modules
109 %define _noautoreq libscanpci.so libxf1bpp.so
112 Xorg server is a generally used X server which uses display hardware.
113 It requires proper driver for your display hardware.
115 %description -l pl.UTF-8
116 Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
117 graficznej. Do działania wymaga odpowiedniego sterownika.
119 %package -n xorg-xserver-Xdmx
120 Summary: Xdmx - distributed multi-head X server
121 Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X
124 %description -n xorg-xserver-Xdmx
125 Xdmx - distributed multi-head X server.
127 %description -n xorg-xserver-Xdmx -l pl.UTF-8
128 Xdmx - rozproszony, wielomonitorowy serwer X.
130 %package -n xorg-xserver-Xnest
131 Summary: Xnest - nested X server
132 Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X
134 Obsoletes: X11-Xnest < 1:7.0.0
135 Obsoletes: XFree86-Xnest < 1:7.0.0
136 Obsoletes: Xserver-Xnest
138 %description -n xorg-xserver-Xnest
139 Xnest is an X Window System server which runs in an X window. Xnest is
140 a 'nested' window server, actually a client of the real X server,
141 which manages windows and graphics requests for Xnest, while Xnest
142 manages the windows and graphics requests for its own clients.
144 %description -n xorg-xserver-Xnest -l pl.UTF-8
145 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
146 zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
147 serwer X dla własnych klientów.
149 %description -n xorg-xserver-Xnest -l ru.UTF-8
150 Xnest - это сервер X Window System, который работает в окне X. На
151 самом деле это клиент реального X-сервера, который управляет окнами и
152 графическими запросами для Xnest в то время, как Xnest управляет
153 окнами и графическими запросами для своих собственных клиентов.
155 %description -n xorg-xserver-Xnest -l uk.UTF-8
156 Xnest - це сервер X Window System, який працює у вікні X. Фактично це
157 клієнт реального X-сервера, який керує вікнами та графічними запитами
158 для Xnest в той час, як Xnest керує вікнами та графічними запитами для
159 своїх власних клієнтів.
161 %package -n xorg-xserver-Xprt
162 Summary: Xprt - Xprint server for X
163 Summary(pl.UTF-8): Xprt - serwer Xprint dla X
165 Obsoletes: X11-Xprt < 1:7.0.0
166 Obsoletes: XFree86-Xprt < 1:7.0.0
168 %description -n xorg-xserver-Xprt
169 Xprt is the Xprint print server for X Window System for non display
170 devices such as printers and fax machines.
172 %description -n xorg-xserver-Xprt -l pl.UTF-8
173 Xprt to serwer wydruków Xprint dla X Window System dla urządzeń nie
174 wyświetlających, takich jak drukarki czy faksy.
176 %package -n xorg-xserver-Xvfb
177 Summary: Xvfb - virtual framebuffer X server
178 Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem
180 Obsoletes: X11-Xvfb < 1:7.0.0
181 Obsoletes: XFree86-Xvfb < 1:7.0.0
183 %description -n xorg-xserver-Xvfb
184 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
185 capable of running on machines with no display hardware and no
186 physical input devices. Xvfb emulates a dumb framebuffer using virtual
187 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
188 display. Xvfb is normally used for testing servers. Using Xvfb, the
189 mfb or cfb code for any depth can be exercised without using real
190 hardware that supports the desired depths. Xvfb has also been used to
191 test X clients against unusual depths and screen configurations, to do
192 batch processing with Xvfb as a background rendering engine, to do
193 load testing, to help with porting an X server to a new platform, and
194 to provide an unobtrusive way of running applications which really
195 don't need an X server but insist on having one.
197 %description -n xorg-xserver-Xvfb -l pl.UTF-8
198 Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
199 na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
200 wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
201 używany do testowania serwerów X, może też być używany do testowania
202 klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
203 Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
204 serwera X, ale odmawiają uruchomienia bez niego.
207 Summary: Header files for X.org server
208 Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
209 Group: X11/Development/Libraries
210 Requires: libdrm-devel >= 2.2.0
211 Requires: xorg-proto-fontsproto-devel
212 Requires: xorg-proto-renderproto-devel
213 Requires: xorg-proto-videoproto-devel
214 Requires: xorg-proto-xextproto-devel
215 Obsoletes: X11-Xserver-devel < 1:7.0.0
216 Obsoletes: XFree86-Xserver-devel < 1:7.0.0
219 Header files for X.org server.
221 %description devel -l pl.UTF-8
222 Pliki nagłówkowe dla serwera X.org.
224 %package -n xorg-xserver-libglx
225 Summary: GLX extension library fo X.org server
226 Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
228 Requires: %{name} = %{version}-%{release}
229 Provides: xorg-xserver-libglx(glapi) = %{mesa_version}
230 Provides: xorg-xserver-modules-libglx
231 Obsoletes: X11-OpenGL-core < 1:7.0.0
232 Obsoletes: XFree86-OpenGL-core < 1:7.0.0
233 Obsoletes: xorg-driver-video-nvidia
235 %description -n xorg-xserver-libglx
236 GLX extension library fo X.org server.
238 %description -n xorg-xserver-libglx -l pl.UTF-8
239 Biblioteka rozszerzenia GLX dla serwera X.org.
242 %setup -q -a1 -n xorg-server-%{version}
245 %ifarch %{x8664} i486
258 --with-os-name="PLD/Linux" \
259 --with-os-vendor="PLD/Team" \
266 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
267 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
268 --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
269 --with-xkb-output=/var/lib/xkb
274 rm -rf $RPM_BUILD_ROOT
277 DESTDIR=$RPM_BUILD_ROOT
279 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
280 install -d $RPM_BUILD_ROOT/etc/security/console.apps
281 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
282 install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
283 install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
284 install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
285 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
286 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
288 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
291 rm -rf $RPM_BUILD_ROOT
294 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_bindir}/X
297 %attr(755,root,root) %{_bindir}/Xorg
298 %attr(4755,root,root) %{_bindir}/Xwrapper
299 %attr(755,root,root) %{_bindir}/cvt
300 %attr(755,root,root) %{_bindir}/gtf
301 %attr(755,root,root) %{_bindir}/in[bwl]
302 %attr(755,root,root) %{_bindir}/ioport
303 %attr(755,root,root) %{_bindir}/out[bwl]
304 %attr(755,root,root) %{_bindir}/pcitweak
305 %attr(755,root,root) %{_bindir}/scanpci
306 %attr(755,root,root) %{_bindir}/xorgcfg
307 %attr(755,root,root) %{_bindir}/xorgconfig
308 %{_includedir}/X11/bitmaps/*
309 %{_includedir}/X11/pixmaps
311 %{_libdir}/X11/Options
313 %dir %{_libdir}/xorg/modules
314 %dir %{_libdir}/xorg/modules/dri
315 %dir %{_libdir}/xorg/modules/drivers
316 %dir %{_libdir}/xorg/modules/extensions
317 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
318 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
319 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
320 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
321 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
322 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
323 %dir %{_libdir}/xorg/modules/fonts
324 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
325 %dir %{_libdir}/xorg/modules/input
326 %dir %{_libdir}/xorg/modules/linux
327 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
328 %dir %{_libdir}/xorg/modules/multimedia
329 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
330 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
331 %dir %{_libdir}/xserver
332 %{_libdir}/xserver/SecurityPolicy
333 %{_datadir}/X11/app-defaults/XOrgCfg
335 /var/lib/xkb/README.compiled
336 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
337 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
338 %config(missingok) /etc/security/console.apps/xserver
339 %{_mandir}/man1/Xorg.1x*
340 %{_mandir}/man1/Xserver.1x*
341 %{_mandir}/man1/cvt.1*
342 %{_mandir}/man1/gtf.1x*
343 %{_mandir}/man1/pcitweak.1x*
344 %{_mandir}/man1/scanpci.1x*
345 %{_mandir}/man1/xorgcfg.1x*
346 %{_mandir}/man1/xorgconfig.1*
347 %{_mandir}/man4/exa.4*
348 %{_mandir}/man4/fbdevhw.4*
349 %{_mandir}/man5/xorg.conf.5x*
351 %files -n xorg-xserver-Xdmx
352 %defattr(644,root,root,755)
353 %attr(755,root,root) %{_bindir}/Xdmx
354 %attr(755,root,root) %{_bindir}/dmxaddinput
355 %attr(755,root,root) %{_bindir}/dmxaddscreen
356 %attr(755,root,root) %{_bindir}/dmxreconfig
357 %attr(755,root,root) %{_bindir}/dmxresize
358 %attr(755,root,root) %{_bindir}/dmxrminput
359 %attr(755,root,root) %{_bindir}/dmxrmscreen
360 %attr(755,root,root) %{_bindir}/dmxtodmx
361 %attr(755,root,root) %{_bindir}/dmxwininfo
362 %attr(755,root,root) %{_bindir}/vdltodmx
363 %attr(755,root,root) %{_bindir}/xdmx
364 %attr(755,root,root) %{_bindir}/xdmxconfig
365 %{_mandir}/man1/Xdmx.1x*
366 %{_mandir}/man1/dmxtodmx.1x*
367 %{_mandir}/man1/vdltodmx.1x*
368 %{_mandir}/man1/xdmxconfig.1x*
370 %files -n xorg-xserver-Xnest
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_bindir}/Xnest
373 %{_mandir}/man1/Xnest.1x*
375 %files -n xorg-xserver-Xprt
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_bindir}/Xprt
378 %{_libdir}/X11/xserver
379 %{_mandir}/man1/Xprt.1x*
381 %files -n xorg-xserver-Xvfb
382 %defattr(644,root,root,755)
383 %attr(755,root,root) %{_bindir}/Xvfb
384 %{_mandir}/man1/Xvfb.1x*
387 %defattr(644,root,root,755)
389 %{_libdir}/libxf86config.a
390 %{_aclocaldir}/xorg-server.m4
391 %{_pkgconfigdir}/xorg-server.pc
393 %files -n xorg-xserver-libglx
394 %defattr(644,root,root,755)
395 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so