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-modules < 1:7.0.0
100 Obsoletes: X11-setup < 1:7.0.0
101 Obsoletes: XFree86-Xserver < 1:7.0.0
102 Obsoletes: XFree86-modules < 1:7.0.0
103 Obsoletes: XFree86-setup < 1:7.0.0
105 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 Xorg server is a generally used X server which uses display hardware.
109 It requires proper driver for your display hardware.
111 %description -l pl.UTF-8
112 Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
113 graficznej. Do działania wymaga odpowiedniego sterownika.
115 %package -n xorg-xserver-Xdmx
116 Summary: Xdmx - distributed multi-head X server
117 Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X
120 %description -n xorg-xserver-Xdmx
121 Xdmx - distributed multi-head X server.
123 %description -n xorg-xserver-Xdmx -l pl.UTF-8
124 Xdmx - rozproszony, wielomonitorowy serwer X.
126 %package -n xorg-xserver-Xnest
127 Summary: Xnest - nested X server
128 Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X
130 Obsoletes: X11-Xnest < 1:7.0.0
131 Obsoletes: XFree86-Xnest < 1:7.0.0
132 Obsoletes: Xserver-Xnest
134 %description -n xorg-xserver-Xnest
135 Xnest is an X Window System server which runs in an X window. Xnest is
136 a 'nested' window server, actually a client of the real X server,
137 which manages windows and graphics requests for Xnest, while Xnest
138 manages the windows and graphics requests for its own clients.
140 %description -n xorg-xserver-Xnest -l pl.UTF-8
141 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
142 zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
143 serwer X dla własnych klientów.
145 %description -n xorg-xserver-Xnest -l ru.UTF-8
146 Xnest - это сервер X Window System, который работает в окне X. На
147 самом деле это клиент реального X-сервера, который управляет окнами и
148 графическими запросами для Xnest в то время, как Xnest управляет
149 окнами и графическими запросами для своих собственных клиентов.
151 %description -n xorg-xserver-Xnest -l uk.UTF-8
152 Xnest - це сервер X Window System, який працює у вікні X. Фактично це
153 клієнт реального X-сервера, який керує вікнами та графічними запитами
154 для Xnest в той час, як Xnest керує вікнами та графічними запитами для
155 своїх власних клієнтів.
157 %package -n xorg-xserver-Xprt
158 Summary: Xprt - Xprint server for X
159 Summary(pl.UTF-8): Xprt - serwer Xprint dla X
161 Obsoletes: X11-Xprt < 1:7.0.0
162 Obsoletes: XFree86-Xprt < 1:7.0.0
164 %description -n xorg-xserver-Xprt
165 Xprt is the Xprint print server for X Window System for non display
166 devices such as printers and fax machines.
168 %description -n xorg-xserver-Xprt -l pl.UTF-8
169 Xprt to serwer wydruków Xprint dla X Window System dla urządzeń nie
170 wyświetlających, takich jak drukarki czy faksy.
172 %package -n xorg-xserver-Xvfb
173 Summary: Xvfb - virtual framebuffer X server
174 Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem
176 Obsoletes: X11-Xvfb < 1:7.0.0
177 Obsoletes: XFree86-Xvfb < 1:7.0.0
179 %description -n xorg-xserver-Xvfb
180 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
181 capable of running on machines with no display hardware and no
182 physical input devices. Xvfb emulates a dumb framebuffer using virtual
183 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
184 display. Xvfb is normally used for testing servers. Using Xvfb, the
185 mfb or cfb code for any depth can be exercised without using real
186 hardware that supports the desired depths. Xvfb has also been used to
187 test X clients against unusual depths and screen configurations, to do
188 batch processing with Xvfb as a background rendering engine, to do
189 load testing, to help with porting an X server to a new platform, and
190 to provide an unobtrusive way of running applications which really
191 don't need an X server but insist on having one.
193 %description -n xorg-xserver-Xvfb -l pl.UTF-8
194 Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
195 na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
196 wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
197 używany do testowania serwerów X, może też być używany do testowania
198 klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
199 Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
200 serwera X, ale odmawiają uruchomienia bez niego.
203 Summary: Header files for X.org server
204 Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
205 Group: X11/Development/Libraries
206 Requires: libdrm-devel >= 2.2.0
207 Requires: xorg-proto-fontsproto-devel
208 Requires: xorg-proto-renderproto-devel
209 Requires: xorg-proto-videoproto-devel
210 Requires: xorg-proto-xextproto-devel
211 Obsoletes: X11-Xserver-devel < 1:7.0.0
212 Obsoletes: X11-XFree86-devel < 1:7.0.0
215 Header files for X.org server.
217 %description devel -l pl.UTF-8
218 Pliki nagłówkowe dla serwera X.org.
220 %package -n xorg-xserver-libglx
221 Summary: GLX extension library fo X.org server
222 Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
224 Requires: %{name} = %{version}-%{release}
225 Provides: xorg-xserver-libglx(glapi) = %{mesa_version}
226 Provides: xorg-xserver-modules-libglx
227 Obsoletes: xorg-driver-video-nvidia
229 %description -n xorg-xserver-libglx
230 GLX extension library fo X.org server.
232 %description -n xorg-xserver-libglx -l pl.UTF-8
233 Biblioteka rozszerzenia GLX dla serwera X.org.
236 %setup -q -a1 -n xorg-server-%{version}
252 --with-os-name="PLD/Linux" \
253 --with-os-vendor="PLD/Team" \
260 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
261 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
262 --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
263 --with-xkb-output=/var/lib/xkb
268 rm -rf $RPM_BUILD_ROOT
271 DESTDIR=$RPM_BUILD_ROOT
273 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
274 install -d $RPM_BUILD_ROOT/etc/security/console.apps
275 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
276 install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
277 install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
278 install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
279 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
280 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
282 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
285 rm -rf $RPM_BUILD_ROOT
288 %defattr(644,root,root,755)
290 %attr(755,root,root) %{_bindir}/X
291 %attr(755,root,root) %{_bindir}/Xorg
292 %attr(4755,root,root) %{_bindir}/Xwrapper
293 %attr(755,root,root) %{_bindir}/cvt
294 %attr(755,root,root) %{_bindir}/gtf
295 %attr(755,root,root) %{_bindir}/in[bwl]
296 %attr(755,root,root) %{_bindir}/ioport
297 %attr(755,root,root) %{_bindir}/out[bwl]
298 %attr(755,root,root) %{_bindir}/pcitweak
299 %attr(755,root,root) %{_bindir}/scanpci
300 %attr(755,root,root) %{_bindir}/xorgcfg
301 %attr(755,root,root) %{_bindir}/xorgconfig
302 %{_includedir}/X11/bitmaps/*
303 %{_includedir}/X11/pixmaps
305 %{_libdir}/X11/Options
307 %dir %{_libdir}/xorg/modules
308 %dir %{_libdir}/xorg/modules/dri
309 %dir %{_libdir}/xorg/modules/drivers
310 %dir %{_libdir}/xorg/modules/extensions
311 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
312 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
313 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
314 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
315 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
316 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
317 %dir %{_libdir}/xorg/modules/fonts
318 %attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
319 %dir %{_libdir}/xorg/modules/input
320 %dir %{_libdir}/xorg/modules/linux
321 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
322 %dir %{_libdir}/xorg/modules/multimedia
323 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
324 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
325 %dir %{_libdir}/xserver
326 %{_libdir}/xserver/SecurityPolicy
327 %{_datadir}/X11/app-defaults/XOrgCfg
329 /var/lib/xkb/README.compiled
330 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
331 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
332 %config(missingok) /etc/security/console.apps/xserver
333 %{_mandir}/man1/Xorg.1x*
334 %{_mandir}/man1/Xserver.1x*
335 %{_mandir}/man1/cvt.1*
336 %{_mandir}/man1/gtf.1x*
337 %{_mandir}/man1/pcitweak.1x*
338 %{_mandir}/man1/scanpci.1x*
339 %{_mandir}/man1/xorgcfg.1x*
340 %{_mandir}/man1/xorgconfig.1*
341 %{_mandir}/man4/exa.4*
342 %{_mandir}/man4/fbdevhw.4*
343 %{_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*
364 %files -n xorg-xserver-Xnest
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_bindir}/Xnest
367 %{_mandir}/man1/Xnest.1x*
369 %files -n xorg-xserver-Xprt
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_bindir}/Xprt
372 %{_libdir}/X11/xserver
373 %{_mandir}/man1/Xprt.1x*
375 %files -n xorg-xserver-Xvfb
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_bindir}/Xvfb
378 %{_mandir}/man1/Xvfb.1x*
381 %defattr(644,root,root,755)
383 %{_libdir}/libxf86config.a
384 %{_aclocaldir}/xorg-server.m4
385 %{_pkgconfigdir}/xorg-server.pc
387 %files -n xorg-xserver-libglx
388 %defattr(644,root,root,755)
389 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so