/[packages]/updates/8/x11-server/current/SPECS/x11-server.spec
ViewVC logotype

Contents of /updates/8/x11-server/current/SPECS/x11-server.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1210326 - (show annotations) (download)
Sun Mar 18 21:18:08 2018 UTC (6 years, 1 month ago) by tv
Original Path: cauldron/x11-server/current/SPECS/x11-server.spec
File size: 20057 byte(s)
add fixes from git
1 #global gitdate 20151027
2 # temporary build fix:
3 %define _python_bytecompile_build 0
4
5 %bcond_with debug
6 %define enable_builddocs 0
7
8 # Need this for shared objects that reference X Server, or other modules symbols
9 %define _disable_ld_no_undefined 1
10
11 # Alternatives priority for standard libglx.so and mesa libs
12 %define priority 500
13
14 %define rel 2
15
16 %global __provides_exclude_from %{_datadir}/%{name}-source
17 %global __requires_exclude_from %{_datadir}/%{name}-source
18
19 # Released ABI versions. Have to keep these manually in sync with the
20 # source because rpm is a terrible language.
21 %global ansic_major 0
22 %global ansic_minor 4
23 %global videodrv_major 24
24 %global videodrv_minor 0
25 %global xinput_major 24
26 %global xinput_minor 1
27 %global extension_major 10
28 %global extension_minor 0
29
30 %global pkgname xorg-server
31
32 Name: x11-server
33 Version: 1.19.99.901
34 Release: %mkrel %rel%{?gitdate:.%{gitdate}}.1
35 Summary: X11 servers
36 Group: System/X11
37 URL: http://xorg.freedesktop.org
38 %if 0%{?gitdate}
39 Source0: xorg-server-%{gitdate}.tar.xz
40 %else
41 Source0: http://www.x.org/pub/individual/xserver/%{pkgname}-%{version}.tar.bz2
42 Source1: gitignore
43 %endif
44 Source4: 10-quirks.conf
45 Source5: mageia-setup-keyboard-udev
46 Source6: 61-x11-input.rules
47 Source10: xserver.pamd
48 # from RH/FC:
49 # "useful" xvfb-run script
50 Source20: http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh
51 Source21: http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.1
52 # for requires generation in drivers
53 Source30: xserver-sdk-abi-requires.release
54 # for finding & loading nvidia and flgrx drivers:
55 Source90: 00-modules.conf
56 License: GPLv2+ and MIT
57
58 # Instructions to setup your repository clone
59 # git://anongit.freedesktop.org/git/xorg/xserver
60 # git checkout origin/server-1.7-branch
61 # git checkout -b mdv-1.7-cherry-picks
62 # git am ../03??-*.patch
63 # git checkout -b mdv-1.7-redhat
64 # git am ../04??-*.patch
65 # git checkout -b mdv-1.7-patches
66 # git am ../09??-*.patch
67
68 # Sync with server-1.20-branch
69 # git format-patch --start-number 100 xorg-server-1.19.0..server-1.19-branch
70 # git diff xorg-server-1.19.99.901..HEAD > ../SOURCES/git.patch
71 Patch0: git.patch
72
73 # Fedora Patches
74
75 # Submitted upstream
76 #Patch21: 0001-xf86-dri2-Use-va_gl-as-vdpau_driver-for-Intel-i965-G.patch
77
78 #Patch6044: xserver-1.6.99-hush-prerelease-warning.patch
79
80 # Patch7025: 0001-Always-install-vbe-and-int10-sdk-headers.patch
81
82 # Submitted upstream, but not going anywhere
83 # Patch7027: xserver-autobind-hotplug.patch
84
85 #Patch100: 0001-glx-Fix-glXQueryContext-for-GLX_FBCONFIG_ID-and-GLX_.patch
86 #Patch101: 0002-glx-Implement-GLX_EXT_no_config_context-v2.patch
87 #Patch102: 0001-miinitext-General-cleanup.patch
88
89 # because the display-managers are not ready yet, do not upstream
90 Patch10000: 0001-Fedora-hack-Make-the-suid-root-wrapper-always-start-.patch
91
92 # Mageia patches
93 # git format-patch --start-number 900 mdv-1.6.4-redhat..mdv-1.6.4-patches
94 Patch900: 0900-Use-a-X-wrapper-that-uses-pam-and-consolehelper-to-g.patch
95 Patch901: 0901-Don-t-print-information-about-X-Server-being-a-pre-r.patch
96 Patch902: 0902-Take-width-into-account-when-choosing-default-mode.patch
97 Patch903: 0903-LED-behavior-fixes.patch
98 Patch906: 0906-xfree86-need-to-press-Ctrl-Alt-Bksp-twice-to-termina.patch
99
100 # Candidates for dropping:
101 # 902: by pixel, so that X11 choose the best resolution with a better algorithm
102 # 903: Input subsystem has changed *a lot* since this patch was written... I
103 # fear it might break things now
104 # 906: All this patch does is force users to hit ctrl+alt+bksp twice (with
105 # an annoying sound) IF the hotkey is enabled. If the user chooses to
106 # enable ctrk+alt+bksp, why force him to hit twice? OTOH, the sound is
107 # annoying, and it should teach users to not use ctrl+alt+bksp =D
108
109 # Do not crash if Xv is not initialized (patch from xorg-devel ML)
110 # The crash happened when v4l was loaded and xv was not registered,
111 # for example on RV610 with radeon driver
112 Patch4001: 1001-do-not-crash-if-xv-not-initialized.patch
113
114 # (cg) Point the user at the journal rather than a logfile at /dev/null
115 Patch5001: point-user-at-journal-rather-than-dev-null.patch
116
117 # from Suse
118 Patch5009: N_Disable-HW-Cursor-for-cirrus-and-mgag200-kernel-modules.patch
119 Source5010: u_os-connections-Check-for-stale-FDs.patch
120
121 # Security fixes
122
123 %global moduledir %{_libdir}/xorg/modules
124 %global sdkdir %{_includedir}/xorg
125
126 %global enable_xorg --enable-xorg
127
128 %ifnarch %{ix86} x86_64
129 %global no_int10 --disable-vbe --disable-int10-module
130 %endif
131
132 %global kdrive --enable-kdrive --enable-xephyr
133 %global xservers --enable-xvfb --enable-xnest %{kdrive} %{enable_xorg}
134
135 Requires: %{name}-xorg
136 Requires: %{name}-xdmx
137 Requires: %{name}-xnest
138 Requires: %{name}-xvfb
139
140 # This should be removed when any of the vnc packages provide x11-server-xvnc:
141 Obsoletes: %{name}-xvnc < %{version}-%{release}
142
143 Obsoletes: %{name}-xfake < %{version}-%{release}
144
145 # temp force new gcc
146 BuildRequires: gcc >= 5.4.0-2
147
148 BuildRequires: git
149 BuildRequires: libpam-devel
150 BuildRequires: pkgconfig(egl)
151 BuildRequires: pkgconfig(fontutil) >= 1.1
152 BuildRequires: pkgconfig(gbm)
153 BuildRequires: pkgconfig(gl) >= 7.1
154 BuildRequires: pkgconfig(libudev)
155 BuildRequires: pkgconfig(pciaccess)
156 BuildRequires: pkgconfig(pixman-1) >= 0.9.5
157 BuildRequires: pkgconfig(systemd)
158 BuildRequires: pkgconfig(xau) >= 1.0.0
159 BuildRequires: pkgconfig(xaw7) >= 1.0.1
160 BuildRequires: pkgconfig(xdmcp) >= 1.0.0
161 BuildRequires: pkgconfig(xext) >= 1.1
162 BuildRequires: pkgconfig(xfixes)
163 BuildRequires: pkgconfig(xfont2)
164 BuildRequires: pkgconfig(xi) >= 1.1.3
165 BuildRequires: pkgconfig(xkbfile) >= 1.0.4
166 BuildRequires: pkgconfig(xmu) >= 1.0.0
167 BuildRequires: pkgconfig(xorg-macros) >= 1.10
168 BuildRequires: pkgconfig(xpm) >= 3.5.4.2
169 BuildRequires: pkgconfig(xrender) >= 0.9.4
170 BuildRequires: pkgconfig(xres) >= 1.0.0
171 BuildRequires: pkgconfig(xtrans) >= 1.3.5
172 BuildRequires: pkgconfig(xv)
173 BuildRequires: x11-proto-devel >= 7.7-11
174
175 # for ./hw/xwin/glx/gen_gl_wrappers.py:
176 %define _python_bytecompile_errors_terminate_build 0
177
178 # Probably only needed if we change .l or .y files, but let's have them anyway:
179 BuildRequires: byacc
180 BuildRequires: flex
181
182 # for xkbcomp patch
183 BuildRequires: pkgconfig(libcrypto)
184
185
186 BuildRequires: pkgconfig(dbus-1)
187
188 BuildRequires: pkgconfig(dmx)
189 BuildRequires: pkgconfig(xtst) >= 1.1
190
191 BuildRequires: pkgconfig(wayland-client) >= 1.3.0
192 BuildRequires: pkgconfig(wayland-protocols)
193 BuildRequires: pkgconfig(epoxy)
194 BuildRequires: pkgconfig(xshmfence) >= 1.1
195
196 BuildRequires: pkgconfig(libunwind)
197
198 BuildRequires: pkgconfig(xcb-aux) pkgconfig(xcb-image) pkgconfig(xcb-icccm)
199 BuildRequires: pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
200
201 %if %{enable_builddocs}
202 BuildRequires: doxygen
203 BuildRequires: fop
204 BuildRequires: xmlto
205 BuildRequires: pkgconfig(xorg-sgml-doctools)
206 %endif
207
208 %description
209 X.Org X11 X server
210
211
212 %package common
213 Summary: Xorg server common files
214 Group: System/X11
215 License: MIT
216 Provides: XFree86 = 7.0.0
217 Requires: rgb
218 # for 'fixed' and 'cursor' fonts
219 Requires: x11-font-misc-misc
220 Requires: x11-font-cursor-misc
221 Requires: x11-font-alias
222 Requires: x11-data-xkbdata
223 Requires: xkbcomp
224 Requires: udev
225 # else modesetting fails on minimal install:
226 Requires: %{mklibname mesaegl 1}
227 Requires(post): update-alternatives
228 Requires(postun): update-alternatives
229 # nvidia-71xx does not support X.org server >= 1.5
230 Conflicts: x11-driver-video-nvidia71xx < 71.86.09-2
231 # old fglrx does not support X.org server >= 1.7
232 Conflicts: x11-driver-video-fglrx < 8.720
233 # Fix: missing conflicts to allow upgrade from 2008.0 to cooker
234 # http://qa.mandriva.com/show_bug.cgi?id=36651
235 Conflicts: x11-driver-video-nvidia-current <= 100.14.19
236
237
238 Provides: xserver-abi(ansic-%{ansic_major}) = %{ansic_minor}
239 Provides: xserver-abi(videodrv-%{videodrv_major}) = %{videodrv_minor}
240 Provides: xserver-abi(xinput-%{xinput_major}) = %{xinput_minor}
241 Provides: xserver-abi(extension-%{extension_major}) = %{extension_minor}
242 # For proprietary drivers that can support multiple videodrv versions:
243 Provides: xserver-abi(videodrv) = %{videodrv_major}.%{videodrv_minor}
244
245 %description common
246 X server common files
247
248 %package xorg
249 Summary: Xorg X server
250 Group: System/X11
251 License: MIT
252 Requires: x11-server-common = %{version}-%{release}
253 Requires: x11-data-xkbdata > 1.3-5
254 Requires: x11-font-alias
255 Requires: libx11-common
256 Recommends: x11-driver-input-libinput
257
258 # minimum libxfont needed for xserver-1.9:
259 Requires: libxfont >= 1.4.2
260
261 %rename glamor
262 %rename x11-driver-video-modesetting
263
264 %description xorg
265 X.org X11 is an open source implementation of the X Window System. It
266 provides the basic low level functionality which full fledged
267 graphical user interfaces (GUIs) such as GNOME and KDE are designed
268 upon.
269
270
271 %package xnest
272 Summary: A nested server
273 Group: System/X11
274 License: MIT
275 Requires: x11-server-common = %{version}-%{release}
276
277 %description xnest
278 Xnest is an X server which has been implemented as an ordinary
279 X application. It runs in a window just like other X applications,
280 but it is an X server itself in which you can run other software. It
281 is a very useful tool for developers who wish to test their
282 applications without running them on their real X server.
283
284
285 %package xdmx
286 Summary: Distributed Multihead X Server and utilities
287 Group: System/X11
288 License: MIT
289 Requires: x11-server-common = %{version}-%{release}
290
291 %description xdmx
292 Xdmx is a proxy X server that provides multi-head support for multiple displays
293 attached to different machines (each of which is running a typical X server).
294 When Xinerama is used with Xdmx, the multiple displays on multiple machines
295 are presented to the user as a single unified screen. A simple application
296 for Xdmx would be to provide multi-head support using two desktop machines,
297 each of which has a single display device attached to it. A complex
298 application for Xdmx would be to unify a 4 by 4 grid of 1280x1024 displays
299 (each attached to one of 16 computers) into a unified 5120x4096 display.
300
301
302 %package xvfb
303 Summary: A X Windows System virtual framebuffer X server
304 Group: System/X11
305 # xvfb-run is GPLv2, rest is MIT
306 License: MIT and GPLv2
307 Requires: x11-server-common = %{version}-%{release}
308 Requires: xauth
309
310
311 %description xvfb
312 Xvfb (X Virtual Frame Buffer) is an X server that is able to run on
313 machines with no display hardware and no physical input devices.
314 Xvfb simulates a dumb framebuffer using virtual memory. Xvfb does
315 not open any devices, but behaves otherwise as an X display. Xvfb
316 is normally used for testing servers.
317
318
319 %package xephyr
320 Summary: A nested server
321 Group: System/X11
322 License: MIT
323 Requires: x11-server-common = %{version}-%{release}
324
325 %description xephyr
326 Xephyr is an X server which has been implemented as an ordinary
327 X application. It runs in a window just like other X applications,
328 but it is an X server itself in which you can run other software. It
329 is a very useful tool for developers who wish to test their
330 applications without running them on their real X server. Unlike
331 Xnest, Xephyr renders to an X image rather than relaying the
332 X protocol, and therefore supports the newer X extensions like
333 Render and Composite.
334
335
336 %package xwayland
337 Summary: Wayland X Server
338 Group: System/X11
339 License: MIT
340 Requires: x11-server-common = %{version}-%{release}
341
342 %description xwayland
343 Xwayland is an X server for running X clients under Wayland.
344
345 %package devel
346 Summary: SDK for X server driver module development
347 Group: Development/X11
348 License: MIT
349
350 %define oldxorgnamedevel %mklibname xorg-x11
351 Requires: libpixman-1-devel
352 Requires: libpciaccess-devel
353 Requires: libxkbfile-devel
354 Requires: libxext-devel >= 1.1
355 Requires: pkgconfig(xfont2)
356 # pkgconfig file needs dri.pc:
357 Requires: GL-devel
358
359 %description devel
360 The SDK package provides the development files which are necessary for
361 developing X server driver modules, and for compiling driver modules
362 outside of the standard X11 source code tree. Developers writing video
363 drivers, input drivers, or other X modules should install this package.
364
365
366 %package source
367 Summary: Xserver source code required to build VNC server (Xvnc)
368 Group: Development/X11
369 License: MIT
370 BuildArch: noarch
371
372 %description source
373 Xserver source code needed to build VNC server (Xvnc)
374
375
376 %prep
377 %autosetup -N -n %{pkgname}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
378 rm -rf .git
379 cp %{SOURCE1} .gitignore
380 # ick
381 %global __scm git
382 %{expand:%__scm_setup_git -q}
383 %autopatch
384
385 # check the ABI in the source against what we expect.
386 getmajor() {
387 grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
388 tr '(),' ' ' | awk '{ print $4 }'
389 }
390
391 getminor() {
392 grep -i ^#define.ABI.$1_VERSION hw/xfree86/common/xf86Module.h |
393 tr '(),' ' ' | awk '{ print $5 }'
394 }
395
396 test `getmajor ansic` == %{ansic_major}
397 test `getminor ansic` == %{ansic_minor}
398 test `getmajor videodrv` == %{videodrv_major}
399 test `getminor videodrv` == %{videodrv_minor}
400 test `getmajor xinput` == %{xinput_major}
401 test `getminor xinput` == %{xinput_minor}
402 test `getmajor extension` == %{extension_major}
403 test `getminor extension` == %{extension_minor}
404
405
406 %build
407
408 %global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
409
410 %global dri_flags --enable-dri2 --enable-dri3 --enable-suid-wrapper --enable-glamor
411
412 %global bodhi_flags --with-vendor-name="%_vendor"
413
414 %global wayland --enable-xwayland
415
416 %if %with debug
417 CFLAGS='-DBUILDDEBUG -O0 -g3' \
418 %endif
419 autoreconf -f -v --install || exit 1
420 %configure2_5x %{xservers} \
421 --with-log-dir=%{_logdir} \
422 --enable-dependency-tracking \
423 %{?no_int10} --with-int10=x86emu \
424 --with-default-font-path=%{default_font_path} \
425 --with-module-dir=%{moduledir} \
426 --with-vendor-web="https://bugs.mageia.org" \
427 %if %{with debug}
428 --enable-debug \
429 %else
430 --disable-debug \
431 %endif
432 --with-builderstring="Build ID: %{name} %{version}-%{release}" \
433 --with-os-name="$(hostname -s) $(uname -r)" \
434 --without-dtrace \
435 --disable-xselinux --enable-record --enable-present \
436 --enable-config-udev \
437 --disable-strict-compilation \
438 --enable-dpms \
439 --disable-install-setuid \
440 --enable-secure-rpc \
441 --enable-pam \
442 --enable-dmx \
443 %{?wayland} \
444 %{dri_flags} %{?bodhi_flags} \
445 --with-sha1=libcrypto \
446
447 pushd include && make xorg-server.h dix-config.h xorg-config.h && popd
448 %make
449
450 %install
451 %make_install moduledir=%{moduledir}
452
453 mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
454
455 mkdir -p %{buildroot}%{_sysconfdir}/X11/
456 ln -s %{_bindir}/Xorg %{buildroot}%{_sysconfdir}/X11/X
457 ln -sf %{_libexecdir}/Xorg.wrap %{buildroot}%{_bindir}/X
458
459 mkdir -p %{buildroot}%{_sysconfdir}/pam.d
460 install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
461 mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
462 touch %{buildroot}%{_sysconfdir}/security/console.apps/xserver
463
464 mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
465 install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
466
467 # make sure the (empty) /etc/X11/xorg.conf.d is there, system-setup-keyboard
468 # relies on it more or less.
469 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
470
471 mkdir -p %{buildroot}%{_sysconfdir}/X11/app-defaults
472 mkdir -p %{buildroot}%{_sysconfdir}/X11/fontpath.d
473
474 # move README.compiled outside compiled/ dir, so there won't be any problem with x11-data-xkbdata
475 mv -f %{buildroot}%{_datadir}/X11/xkb/compiled/README.compiled %{buildroot}%{_datadir}/X11/xkb/
476
477 # (anssi) manage proprietary drivers
478 install -d -m755 %{buildroot}%{_sysconfdir}/ld.so.conf.d/GL
479 cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/GL/standard.conf << EOF
480 # This file is knowingly empty since the libraries are in standard search
481 # path. Please do not remove this file.
482 EOF
483 touch %{buildroot}%{_sysconfdir}/ld.so.conf.d/GL.conf
484
485 mkdir -p %{buildroot}/sbin
486 mkdir -p %{buildroot}/lib/udev/rules.d/
487 install -m 0755 %{SOURCE5} %{buildroot}/sbin/mageia-setup-keyboard
488 install -m 0644 %{SOURCE6} %{buildroot}/lib/udev/rules.d
489
490 install -m 755 %{SOURCE30} $RPM_BUILD_ROOT%{_bindir}/xserver-sdk-abi-requires
491
492 # Make the source package
493 %global xserver_source_dir %{_datadir}/x11-server-source
494 %global inst_srcdir %{buildroot}/%{xserver_source_dir}
495 mkdir -p %{inst_srcdir}/{Xext,xkb,GL,hw/{xquartz/bundle,xfree86/common}}
496 mkdir -p %{inst_srcdir}/{hw/dmx/doc,man,doc,hw/dmx/doxygen}
497 cp {,%{inst_srcdir}/}hw/xquartz/bundle/cpprules.in
498 cp {,%{inst_srcdir}/}man/Xserver.man
499 cp {,%{inst_srcdir}/}doc/smartsched
500 cp {,%{inst_srcdir}/}hw/dmx/doxygen/doxygen.conf.in
501 cp {,%{inst_srcdir}/}xserver.ent.in
502 cp {,%{inst_srcdir}/}hw/xfree86/Xorg.sh.in
503 cp xkb/README.compiled %{inst_srcdir}/xkb
504 cp hw/xfree86/xorgconf.cpp %{inst_srcdir}/hw/xfree86
505
506 install -m 0755 %{SOURCE20} $RPM_BUILD_ROOT%{_bindir}/xvfb-run
507 install -m 0755 %{SOURCE21} $RPM_BUILD_ROOT%{_mandir}/man1/xvfb-run.1
508 install -m 0644 %{SOURCE90} $RPM_BUILD_ROOT/usr/share/X11/xorg.conf.d/
509
510 find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' |
511 xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
512 # SLEDGEHAMMER
513 find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
514
515 # Remove unwanted files/dirs
516 {
517 rm -f $RPM_BUILD_ROOT%{_libdir}/X11/Options
518 rm -f $RPM_BUILD_ROOT%{_bindir}/in?
519 rm -f $RPM_BUILD_ROOT%{_bindir}/ioport
520 rm -f $RPM_BUILD_ROOT%{_bindir}/out?
521 rm -f $RPM_BUILD_ROOT%{_bindir}/pcitweak
522 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pcitweak.1*
523 find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
524 # wtf
525 %ifnarch %{ix86} x86_64
526 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/lib{int10,vbe}.so
527 %endif
528 }
529
530 %post common
531 %{_sbindir}/update-alternatives \
532 --install %{_sysconfdir}/ld.so.conf.d/GL.conf gl_conf %{_sysconfdir}/ld.so.conf.d/GL/standard.conf %{priority}
533
534 # (anssi)
535 %triggerun common -- %{name}-common < 1.3.0.0-17
536 [ $1 -eq 2 ] || exit 0 # do not run if downgrading
537 current_glconf="$(readlink -e %{_sysconfdir}/ld.so.conf.d/GL.conf)"
538 if [ "${current_glconf#*mesa}" == "gl1.conf" ]; then
539 # This an upgrade of a system with no proprietary drivers enabled, update
540 # the link to point to the new standard.conf instead of libmesagl1.conf (2008.0 change).
541 %{_sbindir}/update-alternatives --set gl_conf %{_sysconfdir}/ld.so.conf.d/GL/standard.conf
542 else
543 # XFdrake did not set symlink to manual mode before 2008.0, so we ensure it here.
544 %{_sbindir}/update-alternatives --set gl_conf "${current_glconf}"
545 fi
546 true
547
548 %postun common
549 if [ ! -f %{_sysconfdir}/ld.so.conf.d/GL/standard.conf ]; then
550 /usr/sbin/update-alternatives --remove gl_conf %{_sysconfdir}/ld.so.conf.d/GL/standard.conf
551 fi
552
553 %files
554
555 %files common
556 %dir %{_libdir}/xorg/modules
557 %dir %{_sysconfdir}/X11
558 %dir %{_sysconfdir}/X11/app-defaults
559 %dir %{_sysconfdir}/X11/fontpath.d
560 %dir %{_sysconfdir}/ld.so.conf.d/GL
561 %dir %{_sysconfdir}/X11/xorg.conf.d
562 %ghost %{_sysconfdir}/ld.so.conf.d/GL.conf
563 %{_sysconfdir}/ld.so.conf.d/GL/standard.conf
564 %{_bindir}/gtf
565 %{_bindir}/cvt
566 /sbin/mageia-setup-keyboard
567 /lib/udev/rules.d/61-x11-input.rules
568 %{_bindir}/vdltodmx
569 %{_libdir}/xorg/modules/*
570 %{_libdir}/xorg/protocol.txt
571 %{_datadir}/X11/xkb/README.compiled
572 %{_mandir}/man1/gtf.*
573 %{_mandir}/man1/cvt.*
574 %{_mandir}/man1/vdltodmx.*
575 %{_mandir}/man4/*
576
577 %global Xorgperms %attr(4755, root, root)
578
579 %files xorg
580 %{_bindir}/X
581 %{_bindir}/Xorg
582 %{_libexecdir}/Xorg
583 %{Xorgperms} %{_libexecdir}/Xorg.wrap
584 %attr(4755,root,root)%{_bindir}/Xwrapper
585 %{_sysconfdir}/X11/X
586 %{_sysconfdir}/pam.d/xserver
587 %{_sysconfdir}/security/console.apps/xserver
588 %{_mandir}/man1/Xorg.1*
589 %{_mandir}/man1/Xorg.wrap.1*
590 %{_mandir}/man1/Xserver.1*
591 %{_mandir}/man5/Xwrapper.config.5*
592 %{_mandir}/man5/xorg.conf.5*
593 %{_mandir}/man5/xorg.conf.d.5*
594 %{_datadir}/X11/xorg.conf.d/00-modules.conf
595 %{_datadir}/X11/xorg.conf.d/10-quirks.conf
596
597 %files xnest
598 %{_bindir}/Xnest
599 %{_mandir}/man1/Xnest.1*
600
601 %files xdmx
602 %{_bindir}/Xdmx
603 %{_bindir}/dmx*
604 %{_bindir}/xdmx*
605 %{_mandir}/man1/Xdmx.1*
606 %{_mandir}/man1/dmxtodmx.1*
607 %{_mandir}/man1/xdmxconfig.1*
608
609 %files xvfb
610 %{_bindir}/Xvfb
611 %{_bindir}/xvfb-run
612 %{_mandir}/man1/Xvfb.1*
613 %{_mandir}/man1/xvfb-run.1*
614
615 %files xephyr
616 %{_bindir}/Xephyr
617 %{_mandir}/man1/Xephyr.1*
618
619 %files xwayland
620 %{_bindir}/Xwayland
621
622 %files devel
623 %{_bindir}/xserver-sdk-abi-requires
624 %{_libdir}/pkgconfig/xorg-server.pc
625 %dir %{_includedir}/xorg
626 %{sdkdir}/*.h
627 %{_datadir}/aclocal/xorg-server.m4
628
629 %files source
630 %{xserver_source_dir}

  ViewVC Help
Powered by ViewVC 1.1.30