]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blame - xorg-xserver-server.spec
- from fc
[packages/xorg-xserver-server.git] / xorg-xserver-server.spec
CommitLineData
bbcc87fb
JB
1#
2# Conditional build:
bbcc87fb 3%bcond_with multigl # package libglx.so in a way allowing concurrent install with nvidia/fglrx drivers
e53b8c11 4%bcond_without dri2 # DRI2 support
6d8f95e3 5%bcond_without dbus # D-BUS support
beadaf42 6%bcond_without hal # HAL support
8b73c5c3 7%bcond_without dmx # DMX support
5438c31a 8%bcond_with record # RECORD extension
bbcc87fb 9#
2d8f5fc8 10# ABI versions, see hw/xfree86/common/xf86Module.h
f54375a7 11%define xorg_xserver_server_ansic_abi 0.4
8405354a 12%define xorg_xserver_server_extension_abi 2.0
f54375a7 13%define xorg_xserver_server_font_abi 0.6
8405354a
AM
14%define xorg_xserver_server_videodrv_abi 5.0
15%define xorg_xserver_server_xinput_abi 4.0
2d8f5fc8 16
ef5a4e65 17Summary: X.org server
46c7e5bc 18Summary(pl.UTF-8): Serwer X.org
ef5a4e65 19Name: xorg-xserver-server
1082f031 20Version: 1.6.0
6a6e8cee 21Release: 5%{?with_multigl:.mgl}
ef5a4e65 22License: MIT
5cd265ab 23Group: X11/Servers
8b7817a0 24Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2
1082f031 25# Source0-md5: aafe73f5807ce8bb534727ecb72467c7
3edafdd8 26Source2: xserver.pamd
8405354a
AM
27Patch0: %{name}-xwrapper.patch
28Patch1: %{name}-pic-libxf86config.patch
29Patch2: %{name}-fb-size.patch
145c0cc1 30Patch3: %{name}-exa.patch
513bba00 31Patch4: %{name}-xinerama-bug20557.patch
ef5a4e65 32URL: http://xorg.freedesktop.org/
0066c397 33BuildRequires: Mesa-libGL-devel >= 7.3
ce1773fa 34# for glx headers
f6f4cf9a 35BuildRequires: OpenGL-GLX-devel
ff624999 36BuildRequires: autoconf >= 2.57
ef5a4e65 37BuildRequires: automake
ff624999 38BuildRequires: cpp
6d8f95e3 39%if %{with hal} || %{with dbus}
4f09ffe5 40BuildRequires: dbus-devel
a780f2e4 41%endif
6d8f95e3 42%{?with_hal:BuildRequires: hal-devel}
1082f031 43BuildRequires: libdrm-devel >= 2.4.5
ff624999 44BuildRequires: libtool
ec5b0b88 45BuildRequires: ncurses-devel
934be85d 46BuildRequires: pam-devel
ff624999 47BuildRequires: perl-base
2aaf5aca 48BuildRequires: pixman-devel >= 0.14.0
e768ee3c 49BuildRequires: pkgconfig >= 1:0.19
c8331d8e 50BuildRequires: xorg-app-mkfontscale
30a17203 51BuildRequires: xorg-lib-libX11-devel
ef5a4e65 52BuildRequires: xorg-lib-libXau-devel
53BuildRequires: xorg-lib-libXaw-devel
ff624999 54BuildRequires: xorg-lib-libXdmcp-devel
30a17203 55BuildRequires: xorg-lib-libXext-devel
ef5a4e65 56BuildRequires: xorg-lib-libXfont-devel
8b73c5c3 57BuildRequires: xorg-lib-libXi-devel >= 1.2
88e91f7d
JB
58BuildRequires: xorg-lib-libXmu-devel
59BuildRequires: xorg-lib-libXpm-devel
30a17203 60BuildRequires: xorg-lib-libXrender-devel
ff624999 61BuildRequires: xorg-lib-libXres-devel
62bc11ce 62BuildRequires: xorg-lib-libXt-devel >= 1.0.0
ff624999 63BuildRequires: xorg-lib-libXtst-devel
6a6e8cee 64BuildRequires: xorg-lib-libXv-devel
ef5a4e65 65BuildRequires: xorg-lib-libXxf86dga-devel
66BuildRequires: xorg-lib-libXxf86misc-devel
67BuildRequires: xorg-lib-libXxf86vm-devel
8b73c5c3 68%{?with_dmx:BuildRequires: xorg-lib-libdmx-devel}
ff624999 69BuildRequires: xorg-lib-libfontenc-devel
deeabb4c 70BuildRequires: xorg-lib-libpciaccess-devel
ef5a4e65 71BuildRequires: xorg-lib-libxkbfile-devel
88e91f7d 72BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
8405354a 73BuildRequires: xorg-lib-xtrans-devel >= 1.2.2
ef5a4e65 74BuildRequires: xorg-proto-bigreqsproto-devel
779e221e 75BuildRequires: xorg-proto-compositeproto-devel >= 0.4
2ce56491 76BuildRequires: xorg-proto-damageproto-devel >= 1.1
8b73c5c3 77%{?with_dmx:BuildRequires: xorg-proto-dmxproto-devel}
37311ef2 78%{?with_dri2:BuildRequires: xorg-proto-dri2proto-devel >= 1.99.3}
ff624999 79BuildRequires: xorg-proto-evieext-devel
d6914b6b 80BuildRequires: xorg-proto-fixesproto-devel >= 4.0
14d9b23d 81BuildRequires: xorg-proto-fontcacheproto-devel
ef5a4e65 82BuildRequires: xorg-proto-fontsproto-devel
f161e7b1 83BuildRequires: xorg-proto-glproto-devel >= 1.4.8
e53b8c11 84BuildRequires: xorg-proto-inputproto-devel >= 1.5.0
88e91f7d 85BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
ff624999 86BuildRequires: xorg-proto-printproto-devel
65c7d32a 87BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3
5438c31a 88%{?with_record:BuildRequires: xorg-proto-recordproto-devel}
ea15f388 89BuildRequires: xorg-proto-renderproto-devel >= 0.9.3
ef5a4e65 90BuildRequires: xorg-proto-resourceproto-devel
507f68f4 91BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
ef5a4e65 92BuildRequires: xorg-proto-videoproto-devel
93BuildRequires: xorg-proto-xcmiscproto-devel
8405354a 94BuildRequires: xorg-proto-xextproto-devel >= 7.0.3
ef5a4e65 95BuildRequires: xorg-proto-xf86bigfontproto-devel
ff624999 96BuildRequires: xorg-proto-xf86dgaproto-devel
a1e1d009 97BuildRequires: xorg-proto-xf86driproto-devel >= 2.0.4
ef5a4e65 98BuildRequires: xorg-proto-xf86miscproto-devel
99BuildRequires: xorg-proto-xf86vidmodeproto-devel
100BuildRequires: xorg-proto-xineramaproto-devel
8405354a 101BuildRequires: xorg-proto-xproto-devel >= 7.0.13
30a17203 102BuildRequires: xorg-util-util-macros >= 0.99.2
755588c8
JB
103#BR: xcalibrateproto, tslib (for KDRIVE only)
104#BR: glitz-devel >= 0.4.3 (for XGL and EGL only)
94cbcc0b 105Requires(triggerpostun): sed >= 4.0
2aaf5aca 106Requires: pixman >= 0.14.0
4f014ff9 107Requires: xkeyboard-config
ceb929ad 108# for rgb.txt
b7331c94 109Requires: xorg-app-rgb >= 0.99.3
72a92456 110Requires: xorg-app-xkbcomp
121316a6 111# xserver requires fixed and cursor fonts
0e75ca25
PS
112Requires: xorg-font-font-alias
113Requires: xorg-font-font-cursor-misc
9d193532 114Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
7d452154 115Suggests: xkeyboard-config
4f014ff9
JB
116Provides: xorg-xserver-server(ansic-abi) = %{xorg_xserver_server_ansic_abi}
117Provides: xorg-xserver-server(extension-abi) = %{xorg_xserver_server_extension_abi}
118Provides: xorg-xserver-server(font-abi) = %{xorg_xserver_server_font_abi}
119Provides: xorg-xserver-server(videodrv-abi) = %{xorg_xserver_server_videodrv_abi}
120Provides: xorg-xserver-server(xinput-abi) = %{xorg_xserver_server_xinput_abi}
765b36a9 121Obsoletes: X11-Xserver < 1:7.0.0
48cfc6a7 122Obsoletes: X11-driver-i2c < 1:7.0.0
765b36a9 123Obsoletes: X11-modules < 1:7.0.0
8be992d1 124Obsoletes: X11-setup < 1:7.0.0
765b36a9
AM
125Obsoletes: XFree86-Xserver < 1:7.0.0
126Obsoletes: XFree86-modules < 1:7.0.0
8be992d1 127Obsoletes: XFree86-setup < 1:7.0.0
236ed19c 128Obsoletes: Xserver
e53b8c11 129Obsoletes: xorg-xserver-server-xorgcfg
ef5a4e65 130BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
131
855976cb
JB
132# avoid self-dependencies on included modules
133%define _noautoreq libscanpci.so libxf1bpp.so
134
ef5a4e65 135%description
5cd265ab
JB
136Xorg server is a generally used X server which uses display hardware.
137It requires proper driver for your display hardware.
ef5a4e65 138
60cc86be
JR
139%description -l pl.UTF-8
140Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie
141graficznej. Do działania wymaga odpowiedniego sterownika.
5cd265ab
JB
142
143%package -n xorg-xserver-Xdmx
144Summary: Xdmx - distributed multi-head X server
46c7e5bc 145Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X
5cd265ab
JB
146Group: X11/Servers
147
148%description -n xorg-xserver-Xdmx
149Xdmx - distributed multi-head X server.
150
60cc86be 151%description -n xorg-xserver-Xdmx -l pl.UTF-8
5cd265ab
JB
152Xdmx - rozproszony, wielomonitorowy serwer X.
153
154%package -n xorg-xserver-Xnest
155Summary: Xnest - nested X server
46c7e5bc 156Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X
5cd265ab 157Group: X11/Servers
765b36a9
AM
158Obsoletes: X11-Xnest < 1:7.0.0
159Obsoletes: XFree86-Xnest < 1:7.0.0
236ed19c 160Obsoletes: Xserver-Xnest
5cd265ab
JB
161
162%description -n xorg-xserver-Xnest
163Xnest is an X Window System server which runs in an X window. Xnest is
164a 'nested' window server, actually a client of the real X server,
165which manages windows and graphics requests for Xnest, while Xnest
166manages the windows and graphics requests for its own clients.
167
60cc86be 168%description -n xorg-xserver-Xnest -l pl.UTF-8
5cd265ab 169Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest
60cc86be
JR
170zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak
171serwer X dla własnych klientów.
5cd265ab 172
60cc86be
JR
173%description -n xorg-xserver-Xnest -l ru.UTF-8
174Xnest - это сервер X Window System, который работает в окне X. На
175самом деле это клиент реального X-сервера, который управляет окнами и
176графическими запросами для Xnest в то время, как Xnest управляет
177окнами и графическими запросами для своих собственных клиентов.
5cd265ab 178
60cc86be
JR
179%description -n xorg-xserver-Xnest -l uk.UTF-8
180Xnest - це сервер X Window System, який працює у вікні X. Фактично це
181клієнт реального X-сервера, який керує вікнами та графічними запитами
182для Xnest в той час, як Xnest керує вікнами та графічними запитами для
183своїх власних клієнтів.
5cd265ab 184
6d8f95e3
JR
185%package -n xorg-xserver-Xephyr
186Summary: Xephyr - nested X server
187Summary(pl.UTF-8): Xephyr - zagnieżdżony serwer X
5cd265ab 188Group: X11/Servers
5cd265ab 189
6d8f95e3
JR
190%description -n xorg-xserver-Xephyr
191Xephyr is a a kdrive server that outputs to a window on a pre-existing
192'host' X display. Think Xnest but with support for modern extensions
193like composite, damage and randr.
5cd265ab 194
6d8f95e3
JR
195Unlike Xnest which is an X proxy, i.e. limited to the
196capabilities of the host X server, Xephyr is a real X server which
197uses the host X server window as "framebuffer" via fast SHM XImages.
198
199It also has support for 'visually' debugging what the server is
200painting.
201
202%description -n xorg-xserver-Xephyr -l pl.UTF-8
203Xephyr jest serwerem opartym na kdrive wyświetlającym w oknie na
204istniejącym ekranie X. Można o nim myśleć jako o Xnest ze wsparciem
205do wspólczesnych rozszerzeń jak composite, damage i randr.
206
207%package -n xorg-xserver-Xfbdev
208Summary: Xfbdev - Linux framebuffer device X server
209Summary(pl.UTF-8): Xfbdev - serwer X dla framebuffera
210Group: X11/Servers
211
212%description -n xorg-xserver-Xfbdev
213Xfbdev is a Linux framebuffer device X server based on the
214kdrive X server.
215
216%description -n xorg-xserver-Xfbdev -l pl.UTF-8
217Xfbdev jest serwerem X dla framebuffera opartym na kdrive.
5cd265ab
JB
218
219%package -n xorg-xserver-Xvfb
220Summary: Xvfb - virtual framebuffer X server
46c7e5bc 221Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem
5cd265ab 222Group: X11/Servers
121316a6
JB
223# requires fixed and cursor fonts
224Requires: xorg-font-font-alias
225Requires: xorg-font-font-cursor-misc
226Requires: xorg-font-font-misc-misc-base >= 1.0.0-0.3
765b36a9
AM
227Obsoletes: X11-Xvfb < 1:7.0.0
228Obsoletes: XFree86-Xvfb < 1:7.0.0
5cd265ab
JB
229
230%description -n xorg-xserver-Xvfb
231Xvfb (X Virtual Frame Buffer) is an X Window System server that is
232capable of running on machines with no display hardware and no
233physical input devices. Xvfb emulates a dumb framebuffer using virtual
234memory. Xvfb doesn't open any devices, but behaves otherwise as an X
235display. Xvfb is normally used for testing servers. Using Xvfb, the
236mfb or cfb code for any depth can be exercised without using real
237hardware that supports the desired depths. Xvfb has also been used to
238test X clients against unusual depths and screen configurations, to do
239batch processing with Xvfb as a background rendering engine, to do
240load testing, to help with porting an X server to a new platform, and
241to provide an unobtrusive way of running applications which really
242don't need an X server but insist on having one.
243
60cc86be
JR
244%description -n xorg-xserver-Xvfb -l pl.UTF-8
245Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać
246na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń
247wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest
248używany do testowania serwerów X, może też być używany do testowania
249klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć
250Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają
251serwera X, ale odmawiają uruchomienia bez niego.
ef5a4e65 252
0796e6da 253%package devel
254Summary: Header files for X.org server
46c7e5bc 255Summary(pl.UTF-8): Pliki nagłówkowe dla servera X.org
0796e6da 256Group: X11/Development/Libraries
1082f031 257Requires: libdrm-devel >= 2.4.5
2aaf5aca 258Requires: pixman-devel >= 0.14.0
f03f355d 259Requires: xorg-lib-libxkbfile-devel
7cab8652 260Requires: xorg-proto-fontsproto-devel
fce86aea 261Requires: xorg-proto-renderproto-devel >= 0.9.3
7cab8652
JB
262Requires: xorg-proto-videoproto-devel
263Requires: xorg-proto-xextproto-devel
fce86aea 264Requires: xorg-proto-xproto-devel >= 7.0.9
765b36a9 265Obsoletes: X11-Xserver-devel < 1:7.0.0
855976cb 266Obsoletes: XFree86-Xserver-devel < 1:7.0.0
0796e6da 267
268%description devel
269Header files for X.org server.
270
60cc86be
JR
271%description devel -l pl.UTF-8
272Pliki nagłówkowe dla serwera X.org.
0796e6da 273
87c08961 274%package -n xorg-xserver-libdri
0da6b14d 275Summary: DRI extension library for X.org server
87c08961
PG
276Summary(pl.UTF-8): Biblioteka rozszerzenia DRI dla serwera X.org
277Group: X11/Servers
278Requires: %{name} = %{version}-%{release}
7a411c00 279Provides: xorg-xserver-module(dri)
87c08961
PG
280%if %{without multigl}
281Conflicts: xorg-driver-video-nvidia
282Conflicts: xorg-driver-video-fglrx-libdri
283%endif
284
285%description -n xorg-xserver-libdri
0da6b14d 286DRI extension library for X.org server.
87c08961
PG
287
288%description -n xorg-xserver-libdri -l pl.UTF-8
289Biblioteka rozszerzenia DRI dla serwera X.org.
290
f6f4cf9a 291%package -n xorg-xserver-libglx
0da6b14d 292Summary: GLX extension library for X.org server
46c7e5bc 293Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org
f6f4cf9a 294Group: X11/Servers
927af2d7 295Requires: %{name} = %{version}-%{release}
68092a9e 296Requires: xorg-xserver-libdri = %{version}-%{release}
88fe49de
JB
297# Mesa version glapi tables in glx/ dir come from
298Provides: xorg-xserver-libglx(glapi) = 7.1.0
7a411c00 299Provides: xorg-xserver-module(glx)
855976cb
JB
300Obsoletes: X11-OpenGL-core < 1:7.0.0
301Obsoletes: XFree86-OpenGL-core < 1:7.0.0
16097b2e 302%if %{without multigl}
c0f85cf0 303Conflicts: xorg-driver-video-nvidia
87c08961 304Conflicts: xorg-driver-video-fglrx-libglx
6494c988 305%endif
f6f4cf9a
PS
306
307%description -n xorg-xserver-libglx
0da6b14d 308GLX extension library for X.org server.
f6f4cf9a 309
60cc86be 310%description -n xorg-xserver-libglx -l pl.UTF-8
f6f4cf9a
PS
311Biblioteka rozszerzenia GLX dla serwera X.org.
312
ef5a4e65 313%prep
f54375a7 314%setup -q -n xorg-server-%{version}
8405354a
AM
315%patch0 -p0
316%patch1 -p1
d0315416 317%patch2 -p1
145c0cc1 318%patch3 -p1
513bba00 319%patch4 -p1
ef5a4e65 320
762073cc
AM
321# xserver uses pixman-1 API/ABI so put that explictly here
322sed -i -e 's#<pixman\.h#<pixman-1/pixman.h#g' ./fb/fb.h ./include/miscstruct.h ./render/picture.h
323
ef5a4e65 324%build
16097b2e
ER
325API=$(awk '/#define ABI_ANSIC_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
326if [ $API != %{xorg_xserver_server_ansic_abi} ]; then
327 echo "Set %%define xorg_xserver_server_ansic_abi to $API and rerun."
328 exit 1
0345b66a
AM
329fi
330
16097b2e
ER
331API=$(awk '/#define ABI_EXTENSION_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
332if [ $API != %{xorg_xserver_server_extension_abi} ]; then
333 echo "Set %%define xorg_xserver_server_extension_abi to $API and rerun."
334 exit 1
0345b66a
AM
335fi
336
16097b2e
ER
337API=$(awk '/#define ABI_FONT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
338if [ $API != %{xorg_xserver_server_font_abi} ]; then
339 echo "Set %%define xorg_xserver_server_font_abi to $API and rerun."
340 exit 1
0345b66a 341fi
16097b2e
ER
342API=$(awk '/#define ABI_VIDEODRV_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
343if [ $API != %{xorg_xserver_server_videodrv_abi} ]; then
344 echo "Set %%define xorg_xserver_server_videodrv_abi to $API and rerun."
345 exit 1
0345b66a 346fi
16097b2e
ER
347API=$(awk '/#define ABI_XINPUT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h)
348if [ $API != %{xorg_xserver_server_xinput_abi} ]; then
349 echo "Set %%define xorg_xserver_server_xinput_abi to $API and rerun."
350 exit 1
0345b66a
AM
351fi
352
ff624999 353%{__libtoolize}
ef5a4e65 354%{__aclocal}
355%{__autoconf}
356%{__autoheader}
357%{__automake}
358%configure \
06015eac
AM
359 --with-os-name="PLD/Linux" \
360 --with-os-vendor="PLD/Team" \
6d8f95e3 361 --%{?with_dbus:en}%{!?with_dbus:dis}able-config-dbus \
5438c31a 362 %{!?with_hal:--disable-config-hal} \
6118b827 363 --enable-aiglx \
da97cb2c 364 --enable-builddocs \
4f014ff9 365 --enable-dga \
8b73c5c3 366 %{?with_dmx:--enable-dmx} \
4f014ff9 367 --enable-glx-tls \
da5d13b0 368 --enable-install-libxf86config \
5438c31a 369 %{?with_record:--enable-record} \
6d8f95e3
JR
370 --enable-kdrive \
371 --enable-xephyr \
372 --enable-xfbdev \
373 --disable-xsdl \
374 --disable-xfake \
a1e1d009 375 --enable-secure-rpc \
f815c9e0 376 --%{?with_dri2:en}%{!?with_dri2:dis}able-dri2 \
8d40fd8d 377 --with-dri-driver-path=%{_libdir}/xorg/modules/dri \
f161e7b1 378 --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
27d22b31 379 --with-xkb-output=/var/lib/xkb
be25dd56 380
ef5a4e65 381%{__make}
382
383%install
384rm -rf $RPM_BUILD_ROOT
385
386%{__make} install \
30a17203 387 DESTDIR=$RPM_BUILD_ROOT
ef5a4e65 388
3edafdd8
JB
389install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver
390install -d $RPM_BUILD_ROOT/etc/security/console.apps
a15a709b 391install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input}
3edafdd8
JB
392:> $RPM_BUILD_ROOT/etc/security/console.apps/xserver
393:> $RPM_BUILD_ROOT/etc/security/blacklist.xserver
394
944f790e 395rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.{la,a}
0796e6da 396
e8fc790d
JR
397%if %{with multigl}
398cd $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
399mv -f libglx.so libglx.so.%{version}
400ln -sf libglx.so.%{version} libglx.so
401%endif
402
ef5a4e65 403%clean
404rm -rf $RPM_BUILD_ROOT
405
8b8de5c8
JR
406%if %{with multigl}
407%post -n xorg-xserver-libglx
408if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
409 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
410fi
411%endif
412
94cbcc0b
JB
413%triggerpostun -- xorg-xserver-server < 1.5.0
414if [ -f /etc/X11/xorg.conf ]; then
415 sed -i -e 's/^\s*RgbPath.*$/#& # obsolete option/' /etc/X11/xorg.conf
416 sed -i -e 's/^\s*Load\s*"type1".*$/#& # obsolete module/' /etc/X11/xorg.conf
417%if %{without record}
418 sed -i -e 's/^\s*Load\s*"record".*$/#& # module disabled in this build/' /etc/X11/xorg.conf
419%endif
47cbce9c 420 sed -i -e 's/^\s*Load\s*"xtrap".*$/#& # obsolete module/' /etc/X11/xorg.conf
94cbcc0b
JB
421fi
422
ef5a4e65 423%files
424%defattr(644,root,root,755)
afd3ce25 425%doc COPYING ChangeLog
5cd265ab 426%attr(755,root,root) %{_bindir}/X
934be85d
PS
427%attr(755,root,root) %{_bindir}/Xorg
428%attr(4755,root,root) %{_bindir}/Xwrapper
507f68f4 429%attr(755,root,root) %{_bindir}/cvt
5cd265ab 430%attr(755,root,root) %{_bindir}/gtf
62bc11ce 431%{_libdir}/X11/Options
944f790e 432%dir %{_libdir}/xorg
a1e1d009 433%{_libdir}/xorg/protocol.txt
944f790e 434%dir %{_libdir}/xorg/modules
a15a709b 435%dir %{_libdir}/xorg/modules/dri
79e47f41 436%dir %{_libdir}/xorg/modules/drivers
944f790e 437%dir %{_libdir}/xorg/modules/extensions
30a17203 438%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdbe.so
f815c9e0 439%{?with_dri2:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri2.so}
30a17203 440%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libextmod.so
5438c31a 441%{?with_record:%attr(755,root,root) %{_libdir}/xorg/modules/extensions/librecord.so}
79e47f41 442%dir %{_libdir}/xorg/modules/input
944f790e 443%dir %{_libdir}/xorg/modules/linux
30a17203 444%attr(755,root,root) %{_libdir}/xorg/modules/linux/libfbdevhw.so
944f790e
JB
445%dir %{_libdir}/xorg/modules/multimedia
446%attr(755,root,root) %{_libdir}/xorg/modules/multimedia/*.so
79e47f41 447%attr(755,root,root) %{_libdir}/xorg/modules/lib*.so
27d22b31
JB
448%dir /var/lib/xkb
449/var/lib/xkb/README.compiled
3edafdd8
JB
450%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver
451%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver
452%config(missingok) /etc/security/console.apps/xserver
6d8f95e3 453%{?with_dbus:%{_sysconfdir}/dbus-1/system.d/xorg-server.conf}
30a17203 454%{_mandir}/man1/Xorg.1x*
5cd265ab 455%{_mandir}/man1/Xserver.1x*
507f68f4 456%{_mandir}/man1/cvt.1*
30a17203 457%{_mandir}/man1/gtf.1x*
88e91f7d 458%{_mandir}/man4/exa.4*
30a17203 459%{_mandir}/man4/fbdevhw.4*
5cd265ab
JB
460%{_mandir}/man5/xorg.conf.5x*
461
8b73c5c3 462%if %{with dmx}
5cd265ab
JB
463%files -n xorg-xserver-Xdmx
464%defattr(644,root,root,755)
465%attr(755,root,root) %{_bindir}/Xdmx
466%attr(755,root,root) %{_bindir}/dmxaddinput
467%attr(755,root,root) %{_bindir}/dmxaddscreen
468%attr(755,root,root) %{_bindir}/dmxreconfig
469%attr(755,root,root) %{_bindir}/dmxresize
470%attr(755,root,root) %{_bindir}/dmxrminput
471%attr(755,root,root) %{_bindir}/dmxrmscreen
472%attr(755,root,root) %{_bindir}/dmxtodmx
473%attr(755,root,root) %{_bindir}/dmxwininfo
474%attr(755,root,root) %{_bindir}/vdltodmx
475%attr(755,root,root) %{_bindir}/xdmx
476%attr(755,root,root) %{_bindir}/xdmxconfig
30a17203
JB
477%{_mandir}/man1/Xdmx.1x*
478%{_mandir}/man1/dmxtodmx.1x*
479%{_mandir}/man1/vdltodmx.1x*
480%{_mandir}/man1/xdmxconfig.1x*
8b73c5c3 481%endif
5cd265ab
JB
482
483%files -n xorg-xserver-Xnest
484%defattr(644,root,root,755)
485%attr(755,root,root) %{_bindir}/Xnest
30a17203 486%{_mandir}/man1/Xnest.1x*
5cd265ab 487
6d8f95e3
JR
488%files -n xorg-xserver-Xephyr
489%defattr(644,root,root,755)
490%attr(755,root,root) %{_bindir}/Xephyr
491%{_mandir}/man1/Xephyr.1x*
492
493%files -n xorg-xserver-Xfbdev
494%defattr(644,root,root,755)
495%attr(755,root,root) %{_bindir}/Xfbdev
496
5cd265ab
JB
497%files -n xorg-xserver-Xvfb
498%defattr(644,root,root,755)
499%attr(755,root,root) %{_bindir}/Xvfb
30a17203 500%{_mandir}/man1/Xvfb.1x*
0796e6da 501
502%files devel
503%defattr(644,root,root,755)
504%{_includedir}/xorg
e27e2be3 505%{_libdir}/libxf86config.a
565bbfd3 506%{_aclocaldir}/xorg-server.m4
0796e6da 507%{_pkgconfigdir}/xorg-server.pc
f6f4cf9a 508
87c08961
PG
509%files -n xorg-xserver-libdri
510%defattr(644,root,root,755)
511%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
512
f6f4cf9a 513%files -n xorg-xserver-libglx
0a2e6c9d 514%defattr(644,root,root,755)
e8fc790d
JR
515%if %{with multigl}
516%ghost %{_libdir}/xorg/modules/extensions/libglx.so
517%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.%{version}
518%else
f6f4cf9a 519%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
e8fc790d 520%endif
This page took 0.122807 seconds and 4 git commands to generate.