3 %bcond_with multigl # package libglx.so in a way allowing concurrent install with nvidia/fglrx drivers
4 %bcond_without dri2 # DRI2 support
5 %bcond_without dbus # D-BUS support
6 %bcond_without hal # HAL support
7 %bcond_without dmx # DMX support
8 %bcond_with record # RECORD extension
10 # ABI versions, see hw/xfree86/common/xf86Module.h
11 %define xorg_xserver_server_ansic_abi 0.4
12 %define xorg_xserver_server_extension_abi 2.0
13 %define xorg_xserver_server_font_abi 0.6
14 %define xorg_xserver_server_videodrv_abi 5.0
15 %define xorg_xserver_server_xinput_abi 4.0
18 Summary(pl.UTF-8): Serwer X.org
19 Name: xorg-xserver-server
21 Release: 4%{?with_multigl:.mgl}
24 Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
25 # Source0-md5: aafe73f5807ce8bb534727ecb72467c7
27 Patch0: %{name}-xwrapper.patch
28 Patch1: %{name}-pic-libxf86config.patch
29 Patch2: %{name}-fb-size.patch
30 Patch3: %{name}-exa.patch
31 Patch4: %{name}-xinerama-bug20557.patch
32 URL: http://xorg.freedesktop.org/
33 BuildRequires: Mesa-libGL-devel >= 7.3
35 BuildRequires: OpenGL-GLX-devel
36 BuildRequires: autoconf >= 2.57
37 BuildRequires: automake
39 %if %{with hal} || %{with dbus}
40 BuildRequires: dbus-devel
42 %{?with_hal:BuildRequires: hal-devel}
43 BuildRequires: libdrm-devel >= 2.4.5
44 BuildRequires: libtool
45 BuildRequires: ncurses-devel
46 BuildRequires: pam-devel
47 BuildRequires: perl-base
48 BuildRequires: pixman-devel >= 0.14.0
49 BuildRequires: pkgconfig >= 1:0.19
50 BuildRequires: xorg-app-mkfontscale
51 BuildRequires: xorg-lib-libX11-devel
52 BuildRequires: xorg-lib-libXau-devel
53 BuildRequires: xorg-lib-libXaw-devel
54 BuildRequires: xorg-lib-libXdmcp-devel
55 BuildRequires: xorg-lib-libXext-devel
56 BuildRequires: xorg-lib-libXfont-devel
57 BuildRequires: xorg-lib-libXi-devel >= 1.2
58 BuildRequires: xorg-lib-libXmu-devel
59 BuildRequires: xorg-lib-libXpm-devel
60 BuildRequires: xorg-lib-libXrender-devel
61 BuildRequires: xorg-lib-libXres-devel
62 BuildRequires: xorg-lib-libXt-devel >= 1.0.0
63 BuildRequires: xorg-lib-libXtst-devel
64 BuildRequires: xorg-lib-libXxf86dga-devel
65 BuildRequires: xorg-lib-libXxf86misc-devel
66 BuildRequires: xorg-lib-libXxf86vm-devel
67 %{?with_dmx:BuildRequires: xorg-lib-libdmx-devel}
68 BuildRequires: xorg-lib-libfontenc-devel
69 BuildRequires: xorg-lib-libpciaccess-devel
70 BuildRequires: xorg-lib-libxkbfile-devel
71 BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
72 BuildRequires: xorg-lib-xtrans-devel >= 1.2.2
73 BuildRequires: xorg-proto-bigreqsproto-devel
74 BuildRequires: xorg-proto-compositeproto-devel >= 0.4
75 BuildRequires: xorg-proto-damageproto-devel >= 1.1
76 %{?with_dmx:BuildRequires: xorg-proto-dmxproto-devel}
77 %{?with_dri2:BuildRequires: xorg-proto-dri2proto-devel >= 1.99.3}
78 BuildRequires: xorg-proto-evieext-devel
79 BuildRequires: xorg-proto-fixesproto-devel >= 4.0
80 BuildRequires: xorg-proto-fontcacheproto-devel
81 BuildRequires: xorg-proto-fontsproto-devel
82 BuildRequires: xorg-proto-glproto-devel >= 1.4.8
83 BuildRequires: xorg-proto-inputproto-devel >= 1.5.0
84 BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
85 BuildRequires: xorg-proto-printproto-devel
86 BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3
87 %{?with_record:BuildRequires: xorg-proto-recordproto-devel}
88 BuildRequires: xorg-proto-renderproto-devel >= 0.9.3
89 BuildRequires: xorg-proto-resourceproto-devel
90 BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
91 BuildRequires: xorg-proto-videoproto-devel
92 BuildRequires: xorg-proto-xcmiscproto-devel
93 BuildRequires: xorg-proto-xextproto-devel >= 7.0.3
94 BuildRequires: xorg-proto-xf86bigfontproto-devel
95 BuildRequires: xorg-proto-xf86dgaproto-devel
96 BuildRequires: xorg-proto-xf86driproto-devel >= 2.0.4
97 BuildRequires: xorg-proto-xf86miscproto-devel
98 BuildRequires: xorg-proto-xf86vidmodeproto-devel
99 BuildRequires: xorg-proto-xineramaproto-devel
100 BuildRequires: xorg-proto-xproto-devel >= 7.0.13
101 BuildRequires: xorg-util-util-macros >= 0.99.2
102 #BR: xcalibrateproto, tslib (for KDRIVE only)
103 #BR: glitz-devel >= 0.4.3 (for XGL and EGL only)
104 Requires(triggerpostun): sed >= 4.0
105 Requires: pixman >= 0.14.0
106 Requires: xkeyboard-config
108 Requires: xorg-app-rgb >= 0.99.3
109 Requires: xorg-app-xkbcomp
110 # xserver requires fixed and cursor fonts
111 Requires: xorg-font-font-alias
112 Requires: xorg-font-font-cursor-misc
113 Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
114 Suggests: xkeyboard-config
115 Provides: xorg-xserver-server(ansic-abi) = %{xorg_xserver_server_ansic_abi}
116 Provides: xorg-xserver-server(extension-abi) = %{xorg_xserver_server_extension_abi}
117 Provides: xorg-xserver-server(font-abi) = %{xorg_xserver_server_font_abi}
118 Provides: xorg-xserver-server(videodrv-abi) = %{xorg_xserver_server_videodrv_abi}
119 Provides: xorg-xserver-server(xinput-abi) = %{xorg_xserver_server_xinput_abi}
120 Obsoletes: X11-Xserver < 1:7.0.0
121 Obsoletes: X11-driver-i2c < 1:7.0.0
122 Obsoletes: X11-modules < 1:7.0.0
123 Obsoletes: X11-setup < 1:7.0.0
124 Obsoletes: XFree86-Xserver < 1:7.0.0
125 Obsoletes: XFree86-modules < 1:7.0.0
126 Obsoletes: XFree86-setup < 1:7.0.0
128 Obsoletes: xorg-xserver-server-xorgcfg
129 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
131 # avoid self-dependencies on included modules
132 %define _noautoreq libscanpci.so libxf1bpp.so
135 Xorg server is a generally used X server which uses display hardware.
136 It requires proper driver for your display hardware.
138 %description -l pl.UTF-8
139 Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
140 graficznej. Do działania wymaga odpowiedniego sterownika.
142 %package -n xorg-xserver-Xdmx
143 Summary: Xdmx - distributed multi-head X server
144 Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X
147 %description -n xorg-xserver-Xdmx
148 Xdmx - distributed multi-head X server.
150 %description -n xorg-xserver-Xdmx -l pl.UTF-8
151 Xdmx - rozproszony, wielomonitorowy serwer X.
153 %package -n xorg-xserver-Xnest
154 Summary: Xnest - nested X server
155 Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X
157 Obsoletes: X11-Xnest < 1:7.0.0
158 Obsoletes: XFree86-Xnest < 1:7.0.0
159 Obsoletes: Xserver-Xnest
161 %description -n xorg-xserver-Xnest
162 Xnest is an X Window System server which runs in an X window. Xnest is
163 a 'nested' window server, actually a client of the real X server,
164 which manages windows and graphics requests for Xnest, while Xnest
165 manages the windows and graphics requests for its own clients.
167 %description -n xorg-xserver-Xnest -l pl.UTF-8
168 Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
169 zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
170 serwer X dla własnych klientów.
172 %description -n xorg-xserver-Xnest -l ru.UTF-8
173 Xnest - это сервер X Window System, который работает в окне X. На
174 самом деле это клиент реального X-сервера, который управляет окнами и
175 графическими запросами для Xnest в то время, как Xnest управляет
176 окнами и графическими запросами для своих собственных клиентов.
178 %description -n xorg-xserver-Xnest -l uk.UTF-8
179 Xnest - це сервер X Window System, який працює у вікні X. Фактично це
180 клієнт реального X-сервера, який керує вікнами та графічними запитами
181 для Xnest в той час, як Xnest керує вікнами та графічними запитами для
182 своїх власних клієнтів.
184 %package -n xorg-xserver-Xephyr
185 Summary: Xephyr - nested X server
186 Summary(pl.UTF-8): Xephyr - zagnieżdżony serwer X
189 %description -n xorg-xserver-Xephyr
190 Xephyr is a a kdrive server that outputs to a window on a pre-existing
191 'host' X display. Think Xnest but with support for modern extensions
192 like composite, damage and randr.
194 Unlike Xnest which is an X proxy, i.e. limited to the
195 capabilities of the host X server, Xephyr is a real X server which
196 uses the host X server window as "framebuffer" via fast SHM XImages.
198 It also has support for 'visually' debugging what the server is
201 %description -n xorg-xserver-Xephyr -l pl.UTF-8
202 Xephyr jest serwerem opartym na kdrive wyświetlającym w oknie na
203 istniejącym ekranie X. Można o nim myśleć jako o Xnest ze wsparciem
204 do wspólczesnych rozszerzeń jak composite, damage i randr.
206 %package -n xorg-xserver-Xfbdev
207 Summary: Xfbdev - Linux framebuffer device X server
208 Summary(pl.UTF-8): Xfbdev - serwer X dla framebuffera
211 %description -n xorg-xserver-Xfbdev
212 Xfbdev is a Linux framebuffer device X server based on the
215 %description -n xorg-xserver-Xfbdev -l pl.UTF-8
216 Xfbdev jest serwerem X dla framebuffera opartym na kdrive.
218 %package -n xorg-xserver-Xvfb
219 Summary: Xvfb - virtual framebuffer X server
220 Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem
222 # requires fixed and cursor fonts
223 Requires: xorg-font-font-alias
224 Requires: xorg-font-font-cursor-misc
225 Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
226 Obsoletes: X11-Xvfb < 1:7.0.0
227 Obsoletes: XFree86-Xvfb < 1:7.0.0
229 %description -n xorg-xserver-Xvfb
230 Xvfb (X Virtual Frame Buffer) is an X Window System server that is
231 capable of running on machines with no display hardware and no
232 physical input devices. Xvfb emulates a dumb framebuffer using virtual
233 memory. Xvfb doesn't open any devices, but behaves otherwise as an X
234 display. Xvfb is normally used for testing servers. Using Xvfb, the
235 mfb or cfb code for any depth can be exercised without using real
236 hardware that supports the desired depths. Xvfb has also been used to
237 test X clients against unusual depths and screen configurations, to do
238 batch processing with Xvfb as a background rendering engine, to do
239 load testing, to help with porting an X server to a new platform, and
240 to provide an unobtrusive way of running applications which really
241 don't need an X server but insist on having one.
243 %description -n xorg-xserver-Xvfb -l pl.UTF-8
244 Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
245 na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
246 wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
247 używany do testowania serwerów X, może też być używany do testowania
248 klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
249 Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
250 serwera X, ale odmawiają uruchomienia bez niego.
253 Summary: Header files for X.org server
254 Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
255 Group: X11/Development/Libraries
256 Requires: libdrm-devel >= 2.4.5
257 Requires: pixman-devel >= 0.14.0
258 Requires: xorg-lib-libxkbfile-devel
259 Requires: xorg-proto-fontsproto-devel
260 Requires: xorg-proto-renderproto-devel >= 0.9.3
261 Requires: xorg-proto-videoproto-devel
262 Requires: xorg-proto-xextproto-devel
263 Requires: xorg-proto-xproto-devel >= 7.0.9
264 Obsoletes: X11-Xserver-devel < 1:7.0.0
265 Obsoletes: XFree86-Xserver-devel < 1:7.0.0
268 Header files for X.org server.
270 %description devel -l pl.UTF-8
271 Pliki nagłówkowe dla serwera X.org.
273 %package -n xorg-xserver-libdri
274 Summary: DRI extension library for X.org server
275 Summary(pl.UTF-8): Biblioteka rozszerzenia DRI dla serwera X.org
277 Requires: %{name} = %{version}-%{release}
278 Provides: xorg-xserver-module(dri)
279 %if %{without multigl}
280 Conflicts: xorg-driver-video-nvidia
281 Conflicts: xorg-driver-video-fglrx-libdri
284 %description -n xorg-xserver-libdri
285 DRI extension library for X.org server.
287 %description -n xorg-xserver-libdri -l pl.UTF-8
288 Biblioteka rozszerzenia DRI dla serwera X.org.
290 %package -n xorg-xserver-libglx
291 Summary: GLX extension library for X.org server
292 Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
294 Requires: %{name} = %{version}-%{release}
295 Requires: xorg-xserver-libdri = %{version}-%{release}
296 # Mesa version glapi tables in glx/ dir come from
297 Provides: xorg-xserver-libglx(glapi) = 7.1.0
298 Provides: xorg-xserver-module(glx)
299 Obsoletes: X11-OpenGL-core < 1:7.0.0
300 Obsoletes: XFree86-OpenGL-core < 1:7.0.0
301 %if %{without multigl}
302 Conflicts: xorg-driver-video-nvidia
303 Conflicts: xorg-driver-video-fglrx-libglx
306 %description -n xorg-xserver-libglx
307 GLX extension library for X.org server.
309 %description -n xorg-xserver-libglx -l pl.UTF-8
310 Biblioteka rozszerzenia GLX dla serwera X.org.
313 %setup -q -n xorg-server-%{version}
320 # xserver uses pixman-1 API/ABI so put that explictly here
321 sed -i -e 's#<pixman\.h#<pixman-1/pixman.h#g' ./fb/fb.h ./include/miscstruct.h ./render/picture.h
324 API=$(awk '/#define ABI_ANSIC_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
325 if [ $API != %{xorg_xserver_server_ansic_abi} ]; then
326 echo "Set %%define xorg_xserver_server_ansic_abi to $API and rerun."
330 API=$(awk '/#define ABI_EXTENSION_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
331 if [ $API != %{xorg_xserver_server_extension_abi} ]; then
332 echo "Set %%define xorg_xserver_server_extension_abi to $API and rerun."
336 API=$(awk '/#define ABI_FONT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
337 if [ $API != %{xorg_xserver_server_font_abi} ]; then
338 echo "Set %%define xorg_xserver_server_font_abi to $API and rerun."
341 API=$(awk '/#define ABI_VIDEODRV_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
342 if [ $API != %{xorg_xserver_server_videodrv_abi} ]; then
343 echo "Set %%define xorg_xserver_server_videodrv_abi to $API and rerun."
346 API=$(awk '/#define ABI_XINPUT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
347 if [ $API != %{xorg_xserver_server_xinput_abi} ]; then
348 echo "Set %%define xorg_xserver_server_xinput_abi to $API and rerun."
358 --with-os-name="PLD/Linux" \
359 --with-os-vendor="PLD/Team" \
360 --%{?with_dbus:en}%{!?with_dbus:dis}able-config-dbus \
361 %{!?with_hal:--disable-config-hal} \
365 %{?with_dmx:--enable-dmx} \
367 --enable-install-libxf86config \
368 %{?with_record:--enable-record} \
374 --enable-secure-rpc \
375 --%{?with_dri2:en}%{!?with_dri2:dis}able-dri2 \
376 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
377 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
378 --with-xkb-output=/var/lib/xkb
383 rm -rf $RPM_BUILD_ROOT
386 DESTDIR=$RPM_BUILD_ROOT
388 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
389 install -d $RPM_BUILD_ROOT/etc/security/console.apps
390 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
391 :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
392 :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
394 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
397 cd $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
398 mv -f libglx.so libglx.so.%{version}
399 ln -sf libglx.so.%{version} libglx.so
403 rm -rf $RPM_BUILD_ROOT
406 %post -n xorg-xserver-libglx
407 if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
408 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
412 %triggerpostun -- xorg-xserver-server < 1.5.0
413 if [ -f /etc/X11/xorg.conf ]; then
414 sed -i -e 's/^\s*RgbPath.*$/#& # obsolete option/' /etc/X11/xorg.conf
415 sed -i -e 's/^\s*Load\s*"type1".*$/#& # obsolete module/' /etc/X11/xorg.conf
416 %if %{without record}
417 sed -i -e 's/^\s*Load\s*"record".*$/#& # module disabled in this build/' /etc/X11/xorg.conf
419 sed -i -e 's/^\s*Load\s*"xtrap".*$/#& # obsolete module/' /etc/X11/xorg.conf
423 %defattr(644,root,root,755)
424 %doc COPYING ChangeLog
425 %attr(755,root,root) %{_bindir}/X
426 %attr(755,root,root) %{_bindir}/Xorg
427 %attr(4755,root,root) %{_bindir}/Xwrapper
428 %attr(755,root,root) %{_bindir}/cvt
429 %attr(755,root,root) %{_bindir}/gtf
430 %{_libdir}/X11/Options
432 %{_libdir}/xorg/protocol.txt
433 %dir %{_libdir}/xorg/modules
434 %dir %{_libdir}/xorg/modules/dri
435 %dir %{_libdir}/xorg/modules/drivers
436 %dir %{_libdir}/xorg/modules/extensions
437 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
438 %{?with_dri2:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri2.so}
439 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
440 %{?with_record:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so}
441 %dir %{_libdir}/xorg/modules/input
442 %dir %{_libdir}/xorg/modules/linux
443 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
444 %dir %{_libdir}/xorg/modules/multimedia
445 %attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
446 %attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
448 /var/lib/xkb/README.compiled
449 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
450 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
451 %config(missingok) /etc/security/console.apps/xserver
452 %{?with_dbus:%{_sysconfdir}/dbus-1/system.d/xorg-server.conf}
453 %{_mandir}/man1/Xorg.1x*
454 %{_mandir}/man1/Xserver.1x*
455 %{_mandir}/man1/cvt.1*
456 %{_mandir}/man1/gtf.1x*
457 %{_mandir}/man4/exa.4*
458 %{_mandir}/man4/fbdevhw.4*
459 %{_mandir}/man5/xorg.conf.5x*
462 %files -n xorg-xserver-Xdmx
463 %defattr(644,root,root,755)
464 %attr(755,root,root) %{_bindir}/Xdmx
465 %attr(755,root,root) %{_bindir}/dmxaddinput
466 %attr(755,root,root) %{_bindir}/dmxaddscreen
467 %attr(755,root,root) %{_bindir}/dmxreconfig
468 %attr(755,root,root) %{_bindir}/dmxresize
469 %attr(755,root,root) %{_bindir}/dmxrminput
470 %attr(755,root,root) %{_bindir}/dmxrmscreen
471 %attr(755,root,root) %{_bindir}/dmxtodmx
472 %attr(755,root,root) %{_bindir}/dmxwininfo
473 %attr(755,root,root) %{_bindir}/vdltodmx
474 %attr(755,root,root) %{_bindir}/xdmx
475 %attr(755,root,root) %{_bindir}/xdmxconfig
476 %{_mandir}/man1/Xdmx.1x*
477 %{_mandir}/man1/dmxtodmx.1x*
478 %{_mandir}/man1/vdltodmx.1x*
479 %{_mandir}/man1/xdmxconfig.1x*
482 %files -n xorg-xserver-Xnest
483 %defattr(644,root,root,755)
484 %attr(755,root,root) %{_bindir}/Xnest
485 %{_mandir}/man1/Xnest.1x*
487 %files -n xorg-xserver-Xephyr
488 %defattr(644,root,root,755)
489 %attr(755,root,root) %{_bindir}/Xephyr
490 %{_mandir}/man1/Xephyr.1x*
492 %files -n xorg-xserver-Xfbdev
493 %defattr(644,root,root,755)
494 %attr(755,root,root) %{_bindir}/Xfbdev
496 %files -n xorg-xserver-Xvfb
497 %defattr(644,root,root,755)
498 %attr(755,root,root) %{_bindir}/Xvfb
499 %{_mandir}/man1/Xvfb.1x*
502 %defattr(644,root,root,755)
504 %{_libdir}/libxf86config.a
505 %{_aclocaldir}/xorg-server.m4
506 %{_pkgconfigdir}/xorg-server.pc
508 %files -n xorg-xserver-libdri
509 %defattr(644,root,root,755)
510 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
512 %files -n xorg-xserver-libglx
513 %defattr(644,root,root,755)
515 %ghost %{_libdir}/xorg/modules/extensions/libglx.so
516 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.%{version}
518 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so