+#
+# Conditional build:
+%bcond_with multigl # package libglx.so in a way allowing concurrent install with nvidia/fglrx drivers
+%bcond_without dri2 # DRI2 support
+%bcond_without dbus # D-BUS support
+%bcond_without hal # HAL support
+%bcond_without dmx # DMX support
+%bcond_with record # RECORD extension
+#
+# ABI versions, see hw/xfree86/common/xf86Module.h
+%define xorg_xserver_server_ansic_abi 0.4
+%define xorg_xserver_server_extension_abi 2.0
+%define xorg_xserver_server_font_abi 0.6
+%define xorg_xserver_server_videodrv_abi 5.0
+%define xorg_xserver_server_xinput_abi 4.0
+
Summary: X.org server
Summary(pl.UTF-8): Serwer X.org
Name: xorg-xserver-server
-Version: 1.4
-Release: 0.1
+Version: 1.6.1
+Release: 1%{?with_multigl:.mgl}
License: MIT
Group: X11/Servers
Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
-# Source0-md5: a06d9fe4f9f1d459ae02657f9ce64220
-%define mesa_version 7.0.1
-Source1: http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
-# Source1-md5: c056abd763e899114bf745c9eedbf9ad
+# Source0-md5: ed0878bf32a24d4948c3b8a122a39eff
Source2: xserver.pamd
-Patch0: %{name}-ncurses.patch
-Patch1: %{name}-xwrapper.patch
-# nasty hack for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052
-Patch2: %{name}-gcc-x86_64-workaround.patch
-Patch3: %{name}-link.patch
+Patch0: %{name}-xwrapper.patch
+Patch1: %{name}-pic-libxf86config.patch
+Patch2: %{name}-fb-size.patch
+Patch3: %{name}-exa.patch
+Patch4: %{name}-xinerama-bug20557.patch
+Patch5: %{name}-xinerama-cursors.patch
+Patch6: %{name}-less-acpi-brokenness.patch
URL: http://xorg.freedesktop.org/
+BuildRequires: Mesa-libGL-devel >= 7.3
# for glx headers
BuildRequires: OpenGL-GLX-devel
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: cpp
+%if %{with hal} || %{with dbus}
BuildRequires: dbus-devel
-BuildRequires: hal-devel
-BuildRequires: libdrm-devel >= 2.3.0
+%endif
+%{?with_hal:BuildRequires: hal-devel}
+BuildRequires: libdrm-devel >= 2.4.5
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pam-devel
BuildRequires: perl-base
-BuildRequires: pixman-devel >= 0.9.5
+BuildRequires: pixman-devel >= 0.14.0
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: xorg-app-mkfontscale
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXdmcp-devel
BuildRequires: xorg-lib-libXext-devel
BuildRequires: xorg-lib-libXfont-devel
-BuildRequires: xorg-lib-libXi-devel
+BuildRequires: xorg-lib-libXi-devel >= 1.2
BuildRequires: xorg-lib-libXmu-devel
BuildRequires: xorg-lib-libXpm-devel
BuildRequires: xorg-lib-libXrender-devel
BuildRequires: xorg-lib-libXres-devel
BuildRequires: xorg-lib-libXt-devel >= 1.0.0
BuildRequires: xorg-lib-libXtst-devel
+BuildRequires: xorg-lib-libXv-devel
BuildRequires: xorg-lib-libXxf86dga-devel
BuildRequires: xorg-lib-libXxf86misc-devel
BuildRequires: xorg-lib-libXxf86vm-devel
-BuildRequires: xorg-lib-libdmx-devel
+%{?with_dmx:BuildRequires: xorg-lib-libdmx-devel}
BuildRequires: xorg-lib-libfontenc-devel
-BuildRequires: xorg-lib-liblbxutil-devel
+BuildRequires: xorg-lib-libpciaccess-devel
BuildRequires: xorg-lib-libxkbfile-devel
BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
-BuildRequires: xorg-lib-xtrans-devel
+BuildRequires: xorg-lib-xtrans-devel >= 1.2.2
BuildRequires: xorg-proto-bigreqsproto-devel
-BuildRequires: xorg-proto-compositeproto-devel >= 0.3
+BuildRequires: xorg-proto-compositeproto-devel >= 0.4
BuildRequires: xorg-proto-damageproto-devel >= 1.1
-BuildRequires: xorg-proto-dmxproto-devel
+%{?with_dmx:BuildRequires: xorg-proto-dmxproto-devel}
+%{?with_dri2:BuildRequires: xorg-proto-dri2proto-devel >= 1.99.3}
BuildRequires: xorg-proto-evieext-devel
BuildRequires: xorg-proto-fixesproto-devel >= 4.0
BuildRequires: xorg-proto-fontcacheproto-devel
BuildRequires: xorg-proto-fontsproto-devel
BuildRequires: xorg-proto-glproto-devel >= 1.4.8
-BuildRequires: xorg-proto-inputproto-devel >= 1.4.2
+BuildRequires: xorg-proto-inputproto-devel >= 1.5.0
BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
BuildRequires: xorg-proto-printproto-devel
-BuildRequires: xorg-proto-randrproto-devel >= 1.2
-BuildRequires: xorg-proto-recordproto-devel
+BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3
+%{?with_record:BuildRequires: xorg-proto-recordproto-devel}
BuildRequires: xorg-proto-renderproto-devel >= 0.9.3
BuildRequires: xorg-proto-resourceproto-devel
BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
-BuildRequires: xorg-proto-trapproto-devel
BuildRequires: xorg-proto-videoproto-devel
BuildRequires: xorg-proto-xcmiscproto-devel
-BuildRequires: xorg-proto-xextproto-devel
+BuildRequires: xorg-proto-xextproto-devel >= 7.0.3
BuildRequires: xorg-proto-xf86bigfontproto-devel
BuildRequires: xorg-proto-xf86dgaproto-devel
-BuildRequires: xorg-proto-xf86driproto-devel
+BuildRequires: xorg-proto-xf86driproto-devel >= 2.0.4
BuildRequires: xorg-proto-xf86miscproto-devel
BuildRequires: xorg-proto-xf86vidmodeproto-devel
BuildRequires: xorg-proto-xineramaproto-devel
-BuildRequires: xorg-proto-xproto-devel >= 7.0.9
+BuildRequires: xorg-proto-xproto-devel >= 7.0.13
BuildRequires: xorg-util-util-macros >= 0.99.2
-# xcalibrateproto, tslib (for KDRIVE only)
+#BR: xcalibrateproto, tslib (for KDRIVE only)
+#BR: glitz-devel >= 0.4.3 (for XGL and EGL only)
+Requires(triggerpostun): sed >= 4.0
+Requires: pixman >= 0.14.0
Requires: xkeyboard-config
-# glitz-devel >= 0.4.3 (for XGL and EGL only)
# for rgb.txt
Requires: xorg-app-rgb >= 0.99.3
Requires: xorg-app-xkbcomp
-# just for %{_includedir}/bitmaps dir
-Requires: xorg-data-xbitmaps
# xserver requires fixed and cursor fonts
Requires: xorg-font-font-alias
Requires: xorg-font-font-cursor-misc
Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
-# for new app-defaults location
-Requires: xorg-lib-libXt >= 1.0.0
-# see hw/xfree86/common/xf86Module.h
+Suggests: xkeyboard-config
Provides: xorg-xserver-server(ansic-abi) = %{xorg_xserver_server_ansic_abi}
Provides: xorg-xserver-server(extension-abi) = %{xorg_xserver_server_extension_abi}
Provides: xorg-xserver-server(font-abi) = %{xorg_xserver_server_font_abi}
Obsoletes: XFree86-modules < 1:7.0.0
Obsoletes: XFree86-setup < 1:7.0.0
Obsoletes: Xserver
+Obsoletes: xorg-xserver-server-xorgcfg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# avoid self-dependencies on included modules
для Xnest в той час, як Xnest керує вікнами та графічними запитами для
своїх власних клієнтів.
-%package -n xorg-xserver-Xprt
-Summary: Xprt - Xprint server for X
-Summary(pl.UTF-8): Xprt - serwer Xprint dla X
+%package -n xorg-xserver-Xephyr
+Summary: Xephyr - nested X server
+Summary(pl.UTF-8): Xephyr - zagnieżdżony serwer X
Group: X11/Servers
-Obsoletes: X11-Xprt < 1:7.0.0
-Obsoletes: XFree86-Xprt < 1:7.0.0
-%description -n xorg-xserver-Xprt
-Xprt is the Xprint print server for X Window System for non display
-devices such as printers and fax machines.
+%description -n xorg-xserver-Xephyr
+Xephyr is a a kdrive server that outputs to a window on a pre-existing
+'host' X display. Think Xnest but with support for modern extensions
+like composite, damage and randr.
+
+Unlike Xnest which is an X proxy, i.e. limited to the
+capabilities of the host X server, Xephyr is a real X server which
+uses the host X server window as "framebuffer" via fast SHM XImages.
-%description -n xorg-xserver-Xprt -l pl.UTF-8
-Xprt to serwer wydruków Xprint dla X Window System dla urządzeń nie
-wyświetlających, takich jak drukarki czy faksy.
+It also has support for 'visually' debugging what the server is
+painting.
+
+%description -n xorg-xserver-Xephyr -l pl.UTF-8
+Xephyr jest serwerem opartym na kdrive wyświetlającym w oknie na
+istniejącym ekranie X. Można o nim myśleć jako o Xnest ze wsparciem
+do wspólczesnych rozszerzeń jak composite, damage i randr.
+
+%package -n xorg-xserver-Xfbdev
+Summary: Xfbdev - Linux framebuffer device X server
+Summary(pl.UTF-8): Xfbdev - serwer X dla framebuffera
+Group: X11/Servers
+
+%description -n xorg-xserver-Xfbdev
+Xfbdev is a Linux framebuffer device X server based on the
+kdrive X server.
+
+%description -n xorg-xserver-Xfbdev -l pl.UTF-8
+Xfbdev jest serwerem X dla framebuffera opartym na kdrive.
%package -n xorg-xserver-Xvfb
Summary: Xvfb - virtual framebuffer X server
Summary: Header files for X.org server
Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
Group: X11/Development/Libraries
-Requires: libdrm-devel >= 2.3.0
-Requires: pixman-devel >= 0.9.5
+Requires: libdrm-devel >= 2.4.5
+Requires: pixman-devel >= 0.14.0
+Requires: xorg-lib-libpciaccess-devel
+Requires: xorg-lib-libxkbfile-devel
+Requires: xorg-proto-dri2proto-devel
Requires: xorg-proto-fontsproto-devel
Requires: xorg-proto-renderproto-devel >= 0.9.3
Requires: xorg-proto-videoproto-devel
%description devel -l pl.UTF-8
Pliki nagłówkowe dla serwera X.org.
+%package -n xorg-xserver-libdri
+Summary: DRI extension library for X.org server
+Summary(pl.UTF-8): Biblioteka rozszerzenia DRI dla serwera X.org
+Group: X11/Servers
+Requires: %{name} = %{version}-%{release}
+Provides: xorg-xserver-module(dri)
+%if %{without multigl}
+Conflicts: xorg-driver-video-nvidia
+Conflicts: xorg-driver-video-fglrx-libdri
+%endif
+
+%description -n xorg-xserver-libdri
+DRI extension library for X.org server.
+
+%description -n xorg-xserver-libdri -l pl.UTF-8
+Biblioteka rozszerzenia DRI dla serwera X.org.
+
%package -n xorg-xserver-libglx
-Summary: GLX extension library fo X.org server
+Summary: GLX extension library for X.org server
Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
Group: X11/Servers
Requires: %{name} = %{version}-%{release}
-Provides: xorg-xserver-libglx(glapi) = %{mesa_version}
-Provides: xorg-xserver-modules-libglx
+Requires: xorg-xserver-libdri = %{version}-%{release}
+# Mesa version glapi tables in glx/ dir come from
+Provides: xorg-xserver-libglx(glapi) = 7.1.0
+Provides: xorg-xserver-module(glx)
Obsoletes: X11-OpenGL-core < 1:7.0.0
Obsoletes: XFree86-OpenGL-core < 1:7.0.0
+%if %{without multigl}
Conflicts: xorg-driver-video-nvidia
+Conflicts: xorg-driver-video-fglrx-libglx
+%endif
%description -n xorg-xserver-libglx
-GLX extension library fo X.org server.
+GLX extension library for X.org server.
%description -n xorg-xserver-libglx -l pl.UTF-8
Biblioteka rozszerzenia GLX dla serwera X.org.
-%define xorg_xserver_server_ansic_abi 0.3
-%define xorg_xserver_server_extension_abi 0.3
-%define xorg_xserver_server_font_abi 0.5
-%define xorg_xserver_server_videodrv_abi 2.0
-%define xorg_xserver_server_xinput_abi 2.0
-
%prep
-%setup -q -a1 -n xorg-server-%{version}
-%patch0 -p1
-%patch1 -p0
-%ifarch %{x8664} i486
+%setup -q -n xorg-server-%{version}
+%patch0 -p0
+%patch1 -p1
%patch2 -p1
-%endif
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
# xserver uses pixman-1 API/ABI so put that explictly here
sed -i -e 's#<pixman\.h#<pixman-1/pixman.h#g' ./fb/fb.h ./include/miscstruct.h ./render/picture.h
%build
-if API=$(awk '/#define ABI_ANSIC_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) && \
- [ $API != %{xorg_xserver_server_ansic_abi} ]; then
- echo "Set %%define xorg_xserver_server_ansic_abi to $API and rerun."
- exit 1
+API=$(awk '/#define ABI_ANSIC_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
+if [ $API != %{xorg_xserver_server_ansic_abi} ]; then
+ echo "Set %%define xorg_xserver_server_ansic_abi to $API and rerun."
+ exit 1
fi
-if API=$(awk '/#define ABI_EXTENSION_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) && \
- [ $API != %{xorg_xserver_server_extension_abi} ]; then
- echo "Set %%define xorg_xserver_server_extension_abi to $API and rerun."
- exit 1
+API=$(awk '/#define ABI_EXTENSION_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
+if [ $API != %{xorg_xserver_server_extension_abi} ]; then
+ echo "Set %%define xorg_xserver_server_extension_abi to $API and rerun."
+ exit 1
fi
-if API=$(awk '/#define ABI_FONT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) && \
- [ $API != %{xorg_xserver_server_font_abi} ]; then
- echo "Set %%define xorg_xserver_server_font_abi to $API and rerun."
- exit 1
+API=$(awk '/#define ABI_FONT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
+if [ $API != %{xorg_xserver_server_font_abi} ]; then
+ echo "Set %%define xorg_xserver_server_font_abi to $API and rerun."
+ exit 1
fi
-if API=$(awk '/#define ABI_VIDEODRV_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) && \
- [ $API != %{xorg_xserver_server_videodrv_abi} ]; then
- echo "Set %%define xorg_xserver_server_videodrv_abi to $API and rerun."
- exit 1
+API=$(awk '/#define ABI_VIDEODRV_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
+if [ $API != %{xorg_xserver_server_videodrv_abi} ]; then
+ echo "Set %%define xorg_xserver_server_videodrv_abi to $API and rerun."
+ exit 1
fi
-if API=$(awk '/#define ABI_XINPUT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) && \
- [ $API != %{xorg_xserver_server_xinput_abi} ]; then
- echo "Set %%define xorg_xserver_server_xinput_abi to $API and rerun."
- exit 1
+API=$(awk '/#define ABI_XINPUT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
+if [ $API != %{xorg_xserver_server_xinput_abi} ]; then
+ echo "Set %%define xorg_xserver_server_xinput_abi to $API and rerun."
+ exit 1
fi
-
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%configure \
--with-os-name="PLD/Linux" \
--with-os-vendor="PLD/Team" \
+ --%{?with_dbus:en}%{!?with_dbus:dis}able-config-dbus \
+ %{!?with_hal:--disable-config-hal} \
--enable-aiglx \
--enable-builddocs \
--enable-dga \
- --enable-dmx \
+ %{?with_dmx:--enable-dmx} \
--enable-glx-tls \
- --enable-lbx \
- --enable-xevie \
- --enable-xprint \
+ --enable-install-libxf86config \
+ %{?with_record:--enable-record} \
+ --enable-kdrive \
+ --enable-xephyr \
+ --enable-xfbdev \
+ --disable-xsdl \
+ --disable-xfake \
+ --enable-secure-rpc \
+ --%{?with_dri2:en}%{!?with_dri2:dis}able-dri2 \
--with-dri-driver-path=%{_libdir}/xorg/modules/dri \
--with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
- --with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
--with-xkb-output=/var/lib/xkb
%{__make}
install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
install -d $RPM_BUILD_ROOT/etc/security/console.apps
install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
-install hw/xfree86/parser/xf86Parser.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Parser.h
-install hw/xfree86/parser/xf86Optrec.h $RPM_BUILD_ROOT%{_includedir}/xorg/xf86Optrec.h
-install hw/xfree86/parser/libxf86config.a $RPM_BUILD_ROOT%{_libdir}/libxf86config.a
:> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
:> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
+%if %{with multigl}
+cd $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
+mv -f libglx.so libglx.so.%{version}
+ln -sf libglx.so.%{version} libglx.so
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
+%if %{with multigl}
+%post -n xorg-xserver-libglx
+if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
+ ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
+fi
+%endif
+
+%triggerpostun -- xorg-xserver-server < 1.5.0
+if [ -f /etc/X11/xorg.conf ]; then
+ sed -i -e 's/^\s*RgbPath.*$/#& # obsolete option/' /etc/X11/xorg.conf
+ sed -i -e 's/^\s*Load\s*"type1".*$/#& # obsolete module/' /etc/X11/xorg.conf
+%if %{without record}
+ sed -i -e 's/^\s*Load\s*"record".*$/#& # module disabled in this build/' /etc/X11/xorg.conf
+%endif
+ sed -i -e 's/^\s*Load\s*"xtrap".*$/#& # obsolete module/' /etc/X11/xorg.conf
+fi
+
%files
%defattr(644,root,root,755)
-%doc COPYING
+%doc COPYING ChangeLog
%attr(755,root,root) %{_bindir}/X
%attr(755,root,root) %{_bindir}/Xorg
%attr(4755,root,root) %{_bindir}/Xwrapper
%attr(755,root,root) %{_bindir}/cvt
%attr(755,root,root) %{_bindir}/gtf
-%attr(755,root,root) %{_bindir}/in[bwl]
-%attr(755,root,root) %{_bindir}/ioport
-%attr(755,root,root) %{_bindir}/out[bwl]
-%attr(755,root,root) %{_bindir}/pcitweak
-%attr(755,root,root) %{_bindir}/scanpci
-%attr(755,root,root) %{_bindir}/xorgconfig
-%{_libdir}/X11/Cards
%{_libdir}/X11/Options
%dir %{_libdir}/xorg
+%{_libdir}/xorg/protocol.txt
%dir %{_libdir}/xorg/modules
%dir %{_libdir}/xorg/modules/dri
%dir %{_libdir}/xorg/modules/drivers
%dir %{_libdir}/xorg/modules/extensions
-%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libGLcore.so
%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
-%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
+%{?with_dri2:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri2.so}
%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
-%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so
-%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libxtrap.so
-%dir %{_libdir}/xorg/modules/fonts
-%attr(755,root,root) %{_libdir}/xorg/modules/fonts/lib*.so
+%{?with_record:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so}
%dir %{_libdir}/xorg/modules/input
%dir %{_libdir}/xorg/modules/linux
%attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
%dir %{_libdir}/xorg/modules/multimedia
%attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
%attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
-%dir %{_libdir}/xserver
-%{_libdir}/xserver/SecurityPolicy
%dir /var/lib/xkb
/var/lib/xkb/README.compiled
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
%config(missingok) /etc/security/console.apps/xserver
+%{?with_dbus:%{_sysconfdir}/dbus-1/system.d/xorg-server.conf}
%{_mandir}/man1/Xorg.1x*
%{_mandir}/man1/Xserver.1x*
%{_mandir}/man1/cvt.1*
%{_mandir}/man1/gtf.1x*
-%{_mandir}/man1/pcitweak.1x*
-%{_mandir}/man1/scanpci.1x*
-%{_mandir}/man1/xorgconfig.1*
%{_mandir}/man4/exa.4*
%{_mandir}/man4/fbdevhw.4*
%{_mandir}/man5/xorg.conf.5x*
-%{_mandir}/man5/SecurityPolicy.5x*
+%if %{with dmx}
%files -n xorg-xserver-Xdmx
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/Xdmx
%{_mandir}/man1/dmxtodmx.1x*
%{_mandir}/man1/vdltodmx.1x*
%{_mandir}/man1/xdmxconfig.1x*
+%endif
%files -n xorg-xserver-Xnest
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/Xnest
%{_mandir}/man1/Xnest.1x*
-%files -n xorg-xserver-Xprt
+%files -n xorg-xserver-Xephyr
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/Xephyr
+%{_mandir}/man1/Xephyr.1x*
+
+%files -n xorg-xserver-Xfbdev
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/Xprt
-%{_libdir}/X11/xserver
-%{_mandir}/man1/Xprt.1x*
+%attr(755,root,root) %{_bindir}/Xfbdev
%files -n xorg-xserver-Xvfb
%defattr(644,root,root,755)
%{_aclocaldir}/xorg-server.m4
%{_pkgconfigdir}/xorg-server.pc
+%files -n xorg-xserver-libdri
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
+
%files -n xorg-xserver-libglx
%defattr(644,root,root,755)
+%if %{with multigl}
+%ghost %{_libdir}/xorg/modules/extensions/libglx.so
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.%{version}
+%else
%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
+%endif