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