]>
Commit | Line | Data |
---|---|---|
8fe9672d | 1 | # TODO |
887adac8 | 2 | # - consider XSELINUX by default |
8fe9672d | 3 | # - Xvfb initscript runs Xvfb as root! add user there! |
bbcc87fb JB |
4 | # |
5 | # Conditional build: | |
623aff58 JB |
6 | %bcond_with dbus # D-BUS support for configuration (if no udev) |
7 | %bcond_with hal # HAL support for configuration (if no udev) | |
8 | %bcond_without udev # UDEV support for configuration | |
eccd867f | 9 | %bcond_without dri2 # DRI2 extension |
f2dfad6a | 10 | %bcond_without dri3 # DRI3 extension |
623aff58 JB |
11 | %bcond_without record # RECORD extension |
12 | %bcond_with xcsecurity # XC-SECURITY extension (deprecated) | |
13 | %bcond_with xf86bigfont # XF86BigFont extension | |
14 | %bcond_with xselinux # SELinux extension | |
887adac8 JB |
15 | %bcond_without dmx # DMX DDX (Xdmx server) |
16 | %bcond_without wayland # Wayland DDX (Xwayland server) | |
17 | %bcond_without glamor # glamor dix module | |
18 | %bcond_without systemtap # systemtap/dtrace probes | |
2c00f60d | 19 | %bcond_without libunwind # use libunwind for backtracing |
bbcc87fb | 20 | # |
2d8f5fc8 | 21 | # ABI versions, see hw/xfree86/common/xf86Module.h |
f54375a7 | 22 | %define xorg_xserver_server_ansic_abi 0.4 |
8fe92ee4 | 23 | %define xorg_xserver_server_extension_abi 10.0 |
f54375a7 | 24 | %define xorg_xserver_server_font_abi 0.6 |
8fe92ee4 AM |
25 | %define xorg_xserver_server_videodrv_abi 23.0 |
26 | %define xorg_xserver_server_xinput_abi 24.1 | |
8fe9672d | 27 | |
ac811b82 | 28 | %define pixman_ver 0.30.0 |
2d8f5fc8 | 29 | |
2c00f60d JR |
30 | %ifarch x32 |
31 | %undefine with_libunwind | |
32 | %endif | |
33 | ||
ef5a4e65 | 34 | Summary: X.org server |
46c7e5bc | 35 | Summary(pl.UTF-8): Serwer X.org |
ef5a4e65 | 36 | Name: xorg-xserver-server |
8fe92ee4 | 37 | Version: 1.19.0 |
cfed5982 | 38 | Release: 1 |
ef5a4e65 | 39 | License: MIT |
5cd265ab | 40 | Group: X11/Servers |
8b7817a0 | 41 | Source0: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-%{version}.tar.bz2 |
8fe92ee4 | 42 | # Source0-md5: 6a4d01e4e5047ab8f556960424ba1fa9 |
841de661 | 43 | Source1: 10-quirks.conf |
3edafdd8 | 44 | Source2: xserver.pamd |
c3f56cd8 | 45 | Source10: %{name}-Xvfb.init |
46 | Source11: %{name}-Xvfb.sysconfig | |
542e9210 | 47 | Source12: xvfb-run.sh |
ca47a6d2 | 48 | Patch1: %{name}-xwrapper-pam.patch |
facf0042 | 49 | Patch2: dtrace-link.patch |
b02f7441 | 50 | |
1bbb6133 | 51 | Patch4: %{name}-builtin-SHA1.patch |
f75b822f | 52 | |
1ce4cc3d | 53 | Patch6: 110_nvidia_slowdow_fix.patch |
ef5a4e65 | 54 | URL: http://xorg.freedesktop.org/ |
0f34aee7 | 55 | BuildRequires: Mesa-libGL-devel >= 7.8.1 |
887adac8 JB |
56 | %{?with_dri2:BuildRequires: Mesa-libGL-devel >= 9.2.0} |
57 | %{?with_glamor:BuildRequires: Mesa-libgbm-devel >= 10.2.0} | |
ce1773fa | 58 | # for glx headers |
f6f4cf9a | 59 | BuildRequires: OpenGL-GLX-devel |
623aff58 | 60 | %{?with_xselinux:BuildRequires: audit-libs-devel} |
bacc2406 | 61 | BuildRequires: autoconf >= 2.60 |
ef5a4e65 | 62 | BuildRequires: automake |
ff624999 | 63 | BuildRequires: cpp |
7f08e7c0 | 64 | BuildRequires: docbook-dtd43-xml |
0e90bd5c | 65 | #BuildRequires: doxygen >= 1.6.1 |
6d8f95e3 | 66 | %if %{with hal} || %{with dbus} |
17e710cb | 67 | BuildRequires: dbus-devel >= 1.0 |
a780f2e4 | 68 | %endif |
6d8f95e3 | 69 | %{?with_hal:BuildRequires: hal-devel} |
8cec3bb4 | 70 | BuildRequires: libdrm-devel >= 2.4.46 |
887adac8 | 71 | %if %{with glamor} || %{with wayland} |
8edf202a | 72 | BuildRequires: libepoxy-devel |
887adac8 | 73 | %endif |
623aff58 | 74 | %{?with_xselinux:BuildRequires: libselinux-devel >= 2.0.86} |
887adac8 | 75 | BuildRequires: libtool >= 2:2.2 |
2c00f60d | 76 | %{?with_libunwind:BuildRequires: libunwind-devel} |
7c986742 | 77 | BuildRequires: libxcb-devel >= 1.6 |
934be85d | 78 | BuildRequires: pam-devel |
ff624999 | 79 | BuildRequires: perl-base |
e410c9f5 | 80 | BuildRequires: pixman-devel >= %{pixman_ver} |
e768ee3c | 81 | BuildRequires: pkgconfig >= 1:0.19 |
eccd867f | 82 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
8fe92ee4 | 83 | BuildRequires: systemd-devel >= 209 |
17e710cb | 84 | BuildRequires: udev-devel >= 1:143 |
887adac8 JB |
85 | # wayland-client |
86 | %{?with_wayland:BuildRequires: wayland-devel >= 1.3.0} | |
44c12f24 | 87 | %{?with_wayland:BuildRequires: wayland-protocols >= 1.1} |
7c986742 JB |
88 | BuildRequires: xcb-util-devel |
89 | BuildRequires: xcb-util-image-devel | |
90 | BuildRequires: xcb-util-keysyms-devel | |
b12ef85f | 91 | BuildRequires: xcb-util-renderutil-devel |
485c1146 | 92 | BuildRequires: xcb-util-wm-devel |
17e710cb | 93 | BuildRequires: xmlto >= 0.0.20 |
c8331d8e | 94 | BuildRequires: xorg-app-mkfontscale |
34cafe42 | 95 | BuildRequires: xorg-font-font-util >= 1.1 |
7c986742 | 96 | BuildRequires: xorg-lib-libX11-devel >= 1.6 |
ef5a4e65 | 97 | BuildRequires: xorg-lib-libXau-devel |
887adac8 | 98 | %{?with_dmx:BuildRequires: xorg-lib-libXaw-devel} |
a439cdb6 | 99 | BuildRequires: xorg-lib-libXdamage-devel |
ff624999 | 100 | BuildRequires: xorg-lib-libXdmcp-devel |
17e710cb | 101 | BuildRequires: xorg-lib-libXext-devel >= 1.0.99.4 |
7c986742 | 102 | BuildRequires: xorg-lib-libXfixes-devel |
44c12f24 | 103 | BuildRequires: xorg-lib-libXfont2-devel >= 2.0.0 |
17e710cb | 104 | BuildRequires: xorg-lib-libXi-devel >= 1.2.99.1 |
887adac8 JB |
105 | %{?with_dmx:BuildRequires: xorg-lib-libXmu-devel} |
106 | %{?with_dmx:BuildRequires: xorg-lib-libXpm-devel} | |
30a17203 | 107 | BuildRequires: xorg-lib-libXrender-devel |
ff624999 | 108 | BuildRequires: xorg-lib-libXres-devel |
887adac8 | 109 | %{?with_dmx:BuildRequires: xorg-lib-libXt-devel >= 1.0.0} |
fe717025 | 110 | BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.2 |
6a6e8cee | 111 | BuildRequires: xorg-lib-libXv-devel |
ef5a4e65 | 112 | BuildRequires: xorg-lib-libXxf86dga-devel |
113 | BuildRequires: xorg-lib-libXxf86misc-devel | |
114 | BuildRequires: xorg-lib-libXxf86vm-devel | |
fe717025 | 115 | %{?with_dmx:BuildRequires: xorg-lib-libdmx-devel >= 1.0.99.1} |
ff624999 | 116 | BuildRequires: xorg-lib-libfontenc-devel |
f3d1597c | 117 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.12.901 |
ef5a4e65 | 118 | BuildRequires: xorg-lib-libxkbfile-devel |
7c986742 | 119 | BuildRequires: xorg-lib-libxshmfence-devel >= 1.1 |
8cec3bb4 | 120 | BuildRequires: xorg-lib-xtrans-devel >= 1.3.5 |
7282d6e2 | 121 | BuildRequires: xorg-proto-bigreqsproto-devel >= 1.1.0 |
779e221e | 122 | BuildRequires: xorg-proto-compositeproto-devel >= 0.4 |
2ce56491 | 123 | BuildRequires: xorg-proto-damageproto-devel >= 1.1 |
17e710cb | 124 | %{?with_dmx:BuildRequires: xorg-proto-dmxproto-devel >= 2.2.99.1} |
625eb32f | 125 | %{?with_dri2:BuildRequires: xorg-proto-dri2proto-devel >= 2.8} |
7c986742 | 126 | BuildRequires: xorg-proto-dri3proto-devel >= 1.0 |
f7f29637 | 127 | BuildRequires: xorg-proto-fixesproto-devel >= 5.0 |
14d9b23d | 128 | BuildRequires: xorg-proto-fontcacheproto-devel |
887adac8 | 129 | BuildRequires: xorg-proto-fontsproto-devel >= 2.1.3 |
7c986742 | 130 | BuildRequires: xorg-proto-glproto-devel >= 1.4.17 |
c9e134cd | 131 | BuildRequires: xorg-proto-inputproto-devel >= 2.3 |
88e91f7d | 132 | BuildRequires: xorg-proto-kbproto-devel >= 1.0.3 |
485c1146 | 133 | BuildRequires: xorg-proto-presentproto-devel >= 1.0 |
ff624999 | 134 | BuildRequires: xorg-proto-printproto-devel |
34cafe42 | 135 | BuildRequires: xorg-proto-randrproto-devel >= 1.5.0 |
17e710cb | 136 | %{?with_record:BuildRequires: xorg-proto-recordproto-devel >= 1.13.99.1} |
7282d6e2 | 137 | BuildRequires: xorg-proto-renderproto-devel >= 0.11 |
2bd168d8 | 138 | BuildRequires: xorg-proto-resourceproto-devel >= 1.2.0 |
d3b3c9c3 | 139 | BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1 |
ef5a4e65 | 140 | BuildRequires: xorg-proto-videoproto-devel |
7282d6e2 | 141 | BuildRequires: xorg-proto-xcmiscproto-devel >= 1.2.0 |
485c1146 | 142 | BuildRequires: xorg-proto-xextproto-devel >= 1:7.3.0 |
623aff58 | 143 | %{?with_xf86bigfont:BuildRequires: xorg-proto-xf86bigfontproto-devel >= 1.2.0} |
17e710cb JB |
144 | BuildRequires: xorg-proto-xf86dgaproto-devel >= 2.0.99.1 |
145 | BuildRequires: xorg-proto-xf86driproto-devel >= 2.1.0 | |
ef5a4e65 | 146 | BuildRequires: xorg-proto-xf86miscproto-devel |
17e710cb | 147 | BuildRequires: xorg-proto-xf86vidmodeproto-devel >= 2.2.99.1 |
ef5a4e65 | 148 | BuildRequires: xorg-proto-xineramaproto-devel |
44c12f24 | 149 | BuildRequires: xorg-proto-xproto-devel >= 7.0.31 |
f7f29637 JB |
150 | BuildRequires: xorg-sgml-doctools >= 1.8 |
151 | BuildRequires: xorg-util-util-macros >= 1.14 | |
f3d1597c | 152 | #BR: tslib (for KDRIVE only) |
94cbcc0b | 153 | Requires(triggerpostun): sed >= 4.0 |
887adac8 | 154 | %{?with_glamor:Requires: Mesa-libgbm >= 10.2.0} |
8cec3bb4 | 155 | Requires: libdrm >= 2.4.46 |
e410c9f5 | 156 | Requires: pixman >= %{pixman_ver} |
7c986742 | 157 | Requires: udev-libs >= 1:143 |
4f014ff9 | 158 | Requires: xkeyboard-config |
ceb929ad | 159 | # for rgb.txt |
b7331c94 | 160 | Requires: xorg-app-rgb >= 0.99.3 |
72a92456 | 161 | Requires: xorg-app-xkbcomp |
44c12f24 | 162 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
7c986742 JB |
163 | Requires: xorg-lib-libpciaccess >= 0.12.901 |
164 | Requires: xorg-lib-libxshmfence >= 1.1 | |
623aff58 | 165 | Suggests: dbus-x11 >= 1.0 |
7c986742 JB |
166 | %{?with_hal:Suggests: hal} |
167 | Suggests: udev-acl >= 1:143 | |
168 | %{?with_udev:Suggests: udev-core >= 1:143} | |
7d452154 | 169 | Suggests: xkeyboard-config |
44c12f24 | 170 | Suggests: xorg-driver-input-libinput |
b8f0d045 | 171 | # Usual desktop setups need least one video driver to run, see xorg.log which one exactly |
f88328c9 | 172 | Suggests: xorg-driver-video |
d4d07677 | 173 | Provides: xorg-driver-video-modesetting |
8c56722d ER |
174 | Provides: xorg-xserver-libdri = %{version}-%{release} |
175 | Provides: xorg-xserver-module(dri) | |
4f014ff9 JB |
176 | Provides: xorg-xserver-server(ansic-abi) = %{xorg_xserver_server_ansic_abi} |
177 | Provides: xorg-xserver-server(extension-abi) = %{xorg_xserver_server_extension_abi} | |
178 | Provides: xorg-xserver-server(font-abi) = %{xorg_xserver_server_font_abi} | |
179 | Provides: xorg-xserver-server(videodrv-abi) = %{xorg_xserver_server_videodrv_abi} | |
180 | Provides: xorg-xserver-server(xinput-abi) = %{xorg_xserver_server_xinput_abi} | |
765b36a9 | 181 | Obsoletes: X11-Xserver < 1:7.0.0 |
48cfc6a7 | 182 | Obsoletes: X11-driver-i2c < 1:7.0.0 |
765b36a9 | 183 | Obsoletes: X11-modules < 1:7.0.0 |
8be992d1 | 184 | Obsoletes: X11-setup < 1:7.0.0 |
765b36a9 AM |
185 | Obsoletes: XFree86-Xserver < 1:7.0.0 |
186 | Obsoletes: XFree86-modules < 1:7.0.0 | |
8be992d1 | 187 | Obsoletes: XFree86-setup < 1:7.0.0 |
236ed19c | 188 | Obsoletes: Xserver |
887adac8 | 189 | %{?with_glamor:Obsoletes: glamor} |
c113a98d | 190 | Obsoletes: xorg-xserver-libdri |
8c56722d | 191 | Obsoletes: xorg-xserver-server-xorgcfg |
fc866b7f | 192 | Obsoletes: xorg-driver-video-modesetting |
ef5a4e65 | 193 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
194 | ||
195 | %description | |
5cd265ab JB |
196 | Xorg server is a generally used X server which uses display hardware. |
197 | It requires proper driver for your display hardware. | |
ef5a4e65 | 198 | |
60cc86be JR |
199 | %description -l pl.UTF-8 |
200 | Serwer Xorg to podstawowy serwer X wyświetlający obraz na karcie | |
201 | graficznej. Do działania wymaga odpowiedniego sterownika. | |
5cd265ab JB |
202 | |
203 | %package -n xorg-xserver-Xdmx | |
204 | Summary: Xdmx - distributed multi-head X server | |
46c7e5bc | 205 | Summary(pl.UTF-8): Xdmx - rozproszony, wielomonitorowy serwer X |
5cd265ab | 206 | Group: X11/Servers |
7c986742 JB |
207 | Requires: pixman >= %{pixman_ver} |
208 | Requires: xorg-lib-libX11 >= 1.6 | |
209 | Requires: xorg-lib-libXext >= 1.0.99.4 | |
44c12f24 | 210 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
7c986742 JB |
211 | Requires: xorg-lib-libXi >= 1.2.99.1 |
212 | Requires: xorg-lib-libdmx >= 1.0.99.1 | |
5cd265ab JB |
213 | |
214 | %description -n xorg-xserver-Xdmx | |
215 | Xdmx - distributed multi-head X server. | |
216 | ||
60cc86be | 217 | %description -n xorg-xserver-Xdmx -l pl.UTF-8 |
5cd265ab JB |
218 | Xdmx - rozproszony, wielomonitorowy serwer X. |
219 | ||
220 | %package -n xorg-xserver-Xnest | |
221 | Summary: Xnest - nested X server | |
46c7e5bc | 222 | Summary(pl.UTF-8): Xnest - zagnieżdżony serwer X |
5cd265ab | 223 | Group: X11/Servers |
7c986742 JB |
224 | Requires: pixman >= %{pixman_ver} |
225 | Requires: xorg-lib-libXext >= 1.0.99.4 | |
44c12f24 | 226 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
765b36a9 AM |
227 | Obsoletes: X11-Xnest < 1:7.0.0 |
228 | Obsoletes: XFree86-Xnest < 1:7.0.0 | |
236ed19c | 229 | Obsoletes: Xserver-Xnest |
5cd265ab JB |
230 | |
231 | %description -n xorg-xserver-Xnest | |
232 | Xnest is an X Window System server which runs in an X window. Xnest is | |
233 | a 'nested' window server, actually a client of the real X server, | |
234 | which manages windows and graphics requests for Xnest, while Xnest | |
235 | manages the windows and graphics requests for its own clients. | |
236 | ||
60cc86be | 237 | %description -n xorg-xserver-Xnest -l pl.UTF-8 |
5cd265ab | 238 | Xnest jest serwerem X uruchamianym w okienku innego serwera X. Xnest |
60cc86be JR |
239 | zachowuje się jak klient X w stosunku do prawdziwego serwera X, a jak |
240 | serwer X dla własnych klientów. | |
5cd265ab | 241 | |
60cc86be JR |
242 | %description -n xorg-xserver-Xnest -l ru.UTF-8 |
243 | Xnest - это сервер X Window System, который работает в окне X. На | |
244 | самом деле это клиент реального X-сервера, который управляет окнами и | |
245 | графическими запросами для Xnest в то время, как Xnest управляет | |
246 | окнами и графическими запросами для своих собственных клиентов. | |
5cd265ab | 247 | |
60cc86be JR |
248 | %description -n xorg-xserver-Xnest -l uk.UTF-8 |
249 | Xnest - це сервер X Window System, який працює у вікні X. Фактично це | |
250 | клієнт реального X-сервера, який керує вікнами та графічними запитами | |
251 | для Xnest в той час, як Xnest керує вікнами та графічними запитами для | |
252 | своїх власних клієнтів. | |
5cd265ab | 253 | |
6d8f95e3 JR |
254 | %package -n xorg-xserver-Xephyr |
255 | Summary: Xephyr - nested X server | |
256 | Summary(pl.UTF-8): Xephyr - zagnieżdżony serwer X | |
5cd265ab | 257 | Group: X11/Servers |
7c986742 JB |
258 | Requires: Mesa-libGL >= 7.1.0 |
259 | Requires: libxcb >= 1.6 | |
e410c9f5 | 260 | Requires: pixman >= %{pixman_ver} |
44c12f24 | 261 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
5cd265ab | 262 | |
6d8f95e3 | 263 | %description -n xorg-xserver-Xephyr |
887adac8 | 264 | Xephyr is a kdrive server that outputs to a window on a pre-existing |
6d8f95e3 JR |
265 | 'host' X display. Think Xnest but with support for modern extensions |
266 | like composite, damage and randr. | |
5cd265ab | 267 | |
ffe418a4 ER |
268 | Unlike Xnest which is an X proxy, i.e. limited to the capabilities of |
269 | the host X server, Xephyr is a real X server which uses the host X | |
270 | server window as "framebuffer" via fast SHM XImages. | |
6d8f95e3 JR |
271 | |
272 | It also has support for 'visually' debugging what the server is | |
273 | painting. | |
274 | ||
275 | %description -n xorg-xserver-Xephyr -l pl.UTF-8 | |
276 | Xephyr jest serwerem opartym na kdrive wyświetlającym w oknie na | |
ffe418a4 ER |
277 | istniejącym ekranie X. Można o nim myśleć jako o Xnest ze wsparciem do |
278 | wspólczesnych rozszerzeń jak composite, damage i randr. | |
6d8f95e3 JR |
279 | |
280 | %package -n xorg-xserver-Xfbdev | |
281 | Summary: Xfbdev - Linux framebuffer device X server | |
282 | Summary(pl.UTF-8): Xfbdev - serwer X dla framebuffera | |
283 | Group: X11/Servers | |
7c986742 | 284 | Requires: pixman >= %{pixman_ver} |
44c12f24 | 285 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
6d8f95e3 JR |
286 | |
287 | %description -n xorg-xserver-Xfbdev | |
ffe418a4 ER |
288 | Xfbdev is a Linux framebuffer device X server based on the kdrive X |
289 | server. | |
6d8f95e3 JR |
290 | |
291 | %description -n xorg-xserver-Xfbdev -l pl.UTF-8 | |
292 | Xfbdev jest serwerem X dla framebuffera opartym na kdrive. | |
5cd265ab JB |
293 | |
294 | %package -n xorg-xserver-Xvfb | |
295 | Summary: Xvfb - virtual framebuffer X server | |
46c7e5bc | 296 | Summary(pl.UTF-8): Xvfb - serwer X z wirtualnym framebufferem |
5cd265ab | 297 | Group: X11/Servers |
7c986742 | 298 | Requires: Mesa-libGL >= 7.1.0 |
81ae70c4 | 299 | Requires: mktemp |
7c986742 | 300 | Requires: pixman >= %{pixman_ver} |
81ae70c4 ER |
301 | Requires: util-linux |
302 | Requires: which | |
8fe9672d | 303 | Requires: xkeyboard-config |
81ae70c4 | 304 | Requires: xorg-app-xauth |
8edf202a | 305 | Requires: xorg-app-xkbcomp |
44c12f24 | 306 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
765b36a9 AM |
307 | Obsoletes: X11-Xvfb < 1:7.0.0 |
308 | Obsoletes: XFree86-Xvfb < 1:7.0.0 | |
5cd265ab JB |
309 | |
310 | %description -n xorg-xserver-Xvfb | |
311 | Xvfb (X Virtual Frame Buffer) is an X Window System server that is | |
312 | capable of running on machines with no display hardware and no | |
313 | physical input devices. Xvfb emulates a dumb framebuffer using virtual | |
314 | memory. Xvfb doesn't open any devices, but behaves otherwise as an X | |
315 | display. Xvfb is normally used for testing servers. Using Xvfb, the | |
316 | mfb or cfb code for any depth can be exercised without using real | |
317 | hardware that supports the desired depths. Xvfb has also been used to | |
318 | test X clients against unusual depths and screen configurations, to do | |
319 | batch processing with Xvfb as a background rendering engine, to do | |
320 | load testing, to help with porting an X server to a new platform, and | |
321 | to provide an unobtrusive way of running applications which really | |
322 | don't need an X server but insist on having one. | |
323 | ||
60cc86be JR |
324 | %description -n xorg-xserver-Xvfb -l pl.UTF-8 |
325 | Xvfb (X Virtual Frame Buffer) jest serwerem X, który można uruchamiać | |
326 | na maszynach bez urządzeń wyświetlających ani fizycznych urządzeń | |
327 | wejściowych. Xvfb emuluje prosty framebuffer w pamięci. Zwykle jest | |
328 | używany do testowania serwerów X, może też być używany do testowania | |
329 | klientów X w rzadko używanych konfiguracjach ekranu. Można też użyć | |
330 | Xvfb do uruchomienia aplikacji, które w rzeczywistości nie wymagają | |
331 | serwera X, ale odmawiają uruchomienia bez niego. | |
ef5a4e65 | 332 | |
c3f56cd8 | 333 | %package -n xorg-xserver-Xvfb-init |
334 | Summary: Init scripts for Xvfb | |
335 | Summary(pl.UTF-8): Skrypty startowe dla Xvfb | |
336 | Group: X11/Servers | |
337 | Requires: xorg-xserver-Xvfb | |
338 | ||
339 | %description -n xorg-xserver-Xvfb-init | |
340 | This package contains init scripts for Xvfb and registers Xvfb as | |
341 | system service. | |
342 | ||
343 | %description -n xorg-xserver-Xvfb-init -l pl.UTF-8 | |
344 | Ten pakiet zawiera skrypty startowe dla Xvfb oraz rejestruje Xvfb jako | |
345 | usługę systemową. | |
346 | ||
8edf202a AM |
347 | %package -n xorg-xserver-Xwayland |
348 | Summary: Xwayland - X server integrated into a Wayland window system | |
349 | Summary(pl.UTF-8): Xwayland - serwer X integrowalny w Wayland | |
350 | Group: X11/Servers | |
351 | Requires: pixman >= %{pixman_ver} | |
352 | Requires: xorg-lib-libX11 >= 1.6 | |
353 | Requires: xorg-lib-libXext >= 1.0.99.4 | |
44c12f24 | 354 | Requires: xorg-lib-libXfont2 >= 2.0.0 |
8edf202a AM |
355 | Requires: xorg-lib-libXi >= 1.2.99.1 |
356 | ||
357 | %description -n xorg-xserver-Xwayland | |
358 | Xwayland - server integrated into a Wayland window system. | |
359 | ||
360 | %description -n xorg-xserver-Xwayland -l pl.UTF-8 | |
361 | Xwayland - serwer X integrowalny w Wayland. | |
362 | ||
0796e6da | 363 | %package devel |
364 | Summary: Header files for X.org server | |
598a8139 | 365 | Summary(pl.UTF-8): Pliki nagłówkowe dla serwera X.org |
0796e6da | 366 | Group: X11/Development/Libraries |
7c986742 | 367 | Requires: Mesa-libGL-devel >= 7.8.0 |
8cec3bb4 | 368 | Requires: libdrm-devel >= 2.4.46 |
e410c9f5 | 369 | Requires: pixman-devel >= %{pixman_ver} |
44c12f24 | 370 | Requires: xorg-lib-libXfont2-devel >= 2.0.0 |
f3d1597c | 371 | Requires: xorg-lib-libpciaccess-devel >= 0.12.901 |
f03f355d | 372 | Requires: xorg-lib-libxkbfile-devel |
2bd168d8 | 373 | %{?with_dri2:Requires: xorg-proto-dri2proto-devel >= 2.8} |
b8d14a59 | 374 | %{?with_dri3:Requires: xorg-proto-dri3proto-devel >= 1.0} |
7c986742 | 375 | Requires: xorg-proto-dri3proto-devel >= 1.0 |
887adac8 | 376 | Requires: xorg-proto-fontsproto-devel >= 2.1.3 |
7c986742 | 377 | Requires: xorg-proto-glproto-devel >= 1.4.17 |
c9e134cd | 378 | Requires: xorg-proto-inputproto-devel >= 2.3 |
17e710cb | 379 | Requires: xorg-proto-kbproto-devel >= 1.0.3 |
7c986742 | 380 | Requires: xorg-proto-presentproto-devel >= 1.0 |
34cafe42 | 381 | Requires: xorg-proto-randrproto-devel >= 1.5.0 |
17e710cb | 382 | Requires: xorg-proto-renderproto-devel >= 0.11 |
2bd168d8 JB |
383 | Requires: xorg-proto-resourceproto-devel >= 1.2.0 |
384 | Requires: xorg-proto-scrnsaverproto-devel >= 1.1 | |
7cab8652 | 385 | Requires: xorg-proto-videoproto-devel |
7c986742 | 386 | Requires: xorg-proto-xextproto-devel >= 1:7.3.0 |
b8d2c3ee | 387 | Requires: xorg-proto-xf86driproto-devel >= 2.1.0 |
3e754325 | 388 | Requires: xorg-proto-xineramaproto-devel |
44c12f24 | 389 | Requires: xorg-proto-xproto-devel >= 7.0.31 |
765b36a9 | 390 | Obsoletes: X11-Xserver-devel < 1:7.0.0 |
855976cb | 391 | Obsoletes: XFree86-Xserver-devel < 1:7.0.0 |
887adac8 | 392 | %{?with_glamor:Obsoletes: glamor-devel} |
0796e6da | 393 | |
394 | %description devel | |
395 | Header files for X.org server. | |
396 | ||
60cc86be JR |
397 | %description devel -l pl.UTF-8 |
398 | Pliki nagłówkowe dla serwera X.org. | |
0796e6da | 399 | |
63af4daa JR |
400 | %package source |
401 | Summary: X.org server source code | |
402 | Summary(pl.UTF-8): Pliki źródłowe dla serwera X.org | |
403 | Group: X11/Development/Libraries | |
404 | ||
405 | %description source | |
406 | X.org server source code. | |
407 | ||
408 | %description source -l pl.UTF-8 | |
409 | Pliki źródłowe dla serwera X.org. | |
410 | ||
f6f4cf9a | 411 | %package -n xorg-xserver-libglx |
0da6b14d | 412 | Summary: GLX extension library for X.org server |
46c7e5bc | 413 | Summary(pl.UTF-8): Biblioteka rozszerzenia GLX dla serwera X.org |
f6f4cf9a | 414 | Group: X11/Servers |
927af2d7 | 415 | Requires: %{name} = %{version}-%{release} |
7c986742 | 416 | Requires: Mesa-libGL >= 7.1.0 |
887adac8 | 417 | %{?with_dri2:Requires: Mesa-libGL >= 9.2.0} |
88fe49de JB |
418 | # Mesa version glapi tables in glx/ dir come from |
419 | Provides: xorg-xserver-libglx(glapi) = 7.1.0 | |
7a411c00 | 420 | Provides: xorg-xserver-module(glx) |
855976cb JB |
421 | Obsoletes: X11-OpenGL-core < 1:7.0.0 |
422 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
f6f4cf9a PS |
423 | |
424 | %description -n xorg-xserver-libglx | |
0da6b14d | 425 | GLX extension library for X.org server. |
f6f4cf9a | 426 | |
60cc86be | 427 | %description -n xorg-xserver-libglx -l pl.UTF-8 |
f6f4cf9a PS |
428 | Biblioteka rozszerzenia GLX dla serwera X.org. |
429 | ||
ef5a4e65 | 430 | %prep |
f54375a7 | 431 | %setup -q -n xorg-server-%{version} |
ca47a6d2 | 432 | %patch1 -p1 |
facf0042 | 433 | %patch2 -p1 |
b02f7441 | 434 | |
c3a4ef53 | 435 | %patch4 -p1 |
f75b822f | 436 | |
0c36d11c | 437 | %patch6 -p1 |
ef5a4e65 | 438 | |
762073cc AM |
439 | # xserver uses pixman-1 API/ABI so put that explictly here |
440 | sed -i -e 's#<pixman\.h#<pixman-1/pixman.h#g' ./fb/fb.h ./include/miscstruct.h ./render/picture.h | |
441 | ||
be38bc52 JB |
442 | # support __filemansuffix__ with "x" suffix (per FHS 2.3) |
443 | %{__sed} -i -e 's,\.so man__filemansuffix__/,.so man5/,' hw/xfree86/man/*.man | |
444 | ||
ef5a4e65 | 445 | %build |
16097b2e ER |
446 | API=$(awk '/#define ABI_ANSIC_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) |
447 | if [ $API != %{xorg_xserver_server_ansic_abi} ]; then | |
448 | echo "Set %%define xorg_xserver_server_ansic_abi to $API and rerun." | |
449 | exit 1 | |
0345b66a AM |
450 | fi |
451 | ||
16097b2e ER |
452 | API=$(awk '/#define ABI_EXTENSION_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) |
453 | if [ $API != %{xorg_xserver_server_extension_abi} ]; then | |
454 | echo "Set %%define xorg_xserver_server_extension_abi to $API and rerun." | |
455 | exit 1 | |
0345b66a AM |
456 | fi |
457 | ||
16097b2e ER |
458 | API=$(awk '/#define ABI_FONT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) |
459 | if [ $API != %{xorg_xserver_server_font_abi} ]; then | |
460 | echo "Set %%define xorg_xserver_server_font_abi to $API and rerun." | |
461 | exit 1 | |
0345b66a | 462 | fi |
16097b2e ER |
463 | API=$(awk '/#define ABI_VIDEODRV_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) |
464 | if [ $API != %{xorg_xserver_server_videodrv_abi} ]; then | |
465 | echo "Set %%define xorg_xserver_server_videodrv_abi to $API and rerun." | |
466 | exit 1 | |
0345b66a | 467 | fi |
16097b2e ER |
468 | API=$(awk '/#define ABI_XINPUT_VERSION/ { split($0,A,/[(,)]/); printf("%d.%d",A[2], A[3]); }' hw/xfree86/common/xf86Module.h) |
469 | if [ $API != %{xorg_xserver_server_xinput_abi} ]; then | |
470 | echo "Set %%define xorg_xserver_server_xinput_abi to $API and rerun." | |
471 | exit 1 | |
0345b66a AM |
472 | fi |
473 | ||
ff624999 | 474 | %{__libtoolize} |
7282d6e2 | 475 | %{__aclocal} -I m4 |
ef5a4e65 | 476 | %{__autoconf} |
477 | %{__autoheader} | |
478 | %{__automake} | |
479 | %configure \ | |
daf93c5d | 480 | --libexecdir=%{_libdir}/xorg \ |
06015eac AM |
481 | --with-os-name="PLD/Linux" \ |
482 | --with-os-vendor="PLD/Team" \ | |
be38bc52 JB |
483 | --with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \ |
484 | --with-xkb-output=/var/lib/xkb \ | |
485c1146 AM |
485 | --disable-linux-acpi \ |
486 | --disable-linux-apm \ | |
be38bc52 | 487 | --enable-aiglx \ |
623aff58 JB |
488 | %{?with_dbus:--enable-config-dbus} \ |
489 | --enable-config-hal%{!?with_hal:=no} \ | |
490 | --enable-config-udev%{!?with_udev:=no} \ | |
4f014ff9 | 491 | --enable-dga \ |
8b73c5c3 | 492 | %{?with_dmx:--enable-dmx} \ |
be38bc52 | 493 | --enable-dri2%{!?with_dri2:=no} \ |
f2dfad6a | 494 | --enable-dri3%{!?with_dri3:=no} \ |
887adac8 | 495 | %{?with_glamor:--enable-glamor} \ |
6d8f95e3 | 496 | --enable-kdrive \ |
2c00f60d | 497 | %{?with_libunwind:--enable-libunwind} \ |
be38bc52 JB |
498 | %{?with_record:--enable-record} \ |
499 | --enable-secure-rpc \ | |
623aff58 | 500 | %{?with_xcsecurity:--enable-xcsecurity} \ |
6d8f95e3 | 501 | --enable-xephyr \ |
623aff58 | 502 | %{?with_xf86bigfont:--enable-xf86bigfont} \ |
6d8f95e3 | 503 | --disable-xfake \ |
be38bc52 | 504 | --enable-xfbdev \ |
887adac8 JB |
505 | %{?with_xselinux:--enable-xselinux} \ |
506 | %{?with_wayland:--enable-xwayland} \ | |
507 | %{!?with_systemtap:--without-dtrace} \ | |
508 | --without-fop \ | |
daf93c5d | 509 | --enable-suid-wrapper \ |
887adac8 | 510 | --with-systemd-daemon |
be25dd56 | 511 | |
d8eedd60 | 512 | %{__make} -j1 |
ef5a4e65 | 513 | |
514 | %install | |
515 | rm -rf $RPM_BUILD_ROOT | |
516 | ||
55802b22 JK |
517 | %if "%{_libdir}" != "%{_exec_prefix}/lib" |
518 | install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/xorg/modules/dri | |
519 | %endif | |
520 | ||
ef5a4e65 | 521 | %{__make} install \ |
30a17203 | 522 | DESTDIR=$RPM_BUILD_ROOT |
ef5a4e65 | 523 | |
e349fe9e | 524 | install -Dp %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xserver |
feb53d4a | 525 | install -d $RPM_BUILD_ROOT/etc/{security/console.apps,X11/xorg.conf.d} |
a15a709b | 526 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{dri,drivers,input} |
3d2be38e | 527 | install -d $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d |
542e9210 | 528 | install -p %{SOURCE12} $RPM_BUILD_ROOT%{_bindir}/xvfb-run |
3d2be38e | 529 | |
3edafdd8 JB |
530 | :> $RPM_BUILD_ROOT/etc/security/console.apps/xserver |
531 | :> $RPM_BUILD_ROOT/etc/security/blacklist.xserver | |
532 | ||
be38bc52 | 533 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{*,*/*}.la |
0796e6da | 534 | |
e349fe9e | 535 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/10-quirks.conf |
40be6fd2 | 536 | |
c3f56cd8 | 537 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
538 | install -d $RPM_BUILD_ROOT/etc/sysconfig | |
e349fe9e ER |
539 | install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/Xvfb |
540 | cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/sysconfig/Xvfb | |
c3f56cd8 | 541 | |
ca47a6d2 JB |
542 | # Xorg.wrap config |
543 | cat >$RPM_BUILD_ROOT/etc/X11/Xwrapper.config <<EOF | |
544 | # allowed values: rootonly console anybody pam | |
545 | allowed_users = pam | |
546 | ||
547 | # set to yes if hardware or console access requires root rights (and Xwrapper fails to detect it) | |
548 | #needs_root_rights = yes | |
549 | EOF | |
550 | ||
daf93c5d | 551 | # compatibility with old xwrapper |
5284be3c | 552 | ln -s %{_libdir}/xorg/Xorg.wrap $RPM_BUILD_ROOT%{_bindir}/Xwrapper |
daf93c5d | 553 | |
3b863f89 | 554 | # prepare source package |
63af4daa JR |
555 | install -d $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version} |
556 | cp -a * $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version} | |
557 | cd $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version} | |
558 | %{__make} distclean | |
559 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
4a108bd7 | 560 | find -name '*.h' | xargs chmod a-x |
63af4daa | 561 | |
3b863f89 JB |
562 | %if %{with systemtap} |
563 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/xorg-server/Xserver-DTrace.* | |
564 | %endif | |
565 | ||
ef5a4e65 | 566 | %clean |
567 | rm -rf $RPM_BUILD_ROOT | |
568 | ||
94cbcc0b JB |
569 | %triggerpostun -- xorg-xserver-server < 1.5.0 |
570 | if [ -f /etc/X11/xorg.conf ]; then | |
571 | sed -i -e 's/^\s*RgbPath.*$/#& # obsolete option/' /etc/X11/xorg.conf | |
572 | sed -i -e 's/^\s*Load\s*"type1".*$/#& # obsolete module/' /etc/X11/xorg.conf | |
573 | %if %{without record} | |
574 | sed -i -e 's/^\s*Load\s*"record".*$/#& # module disabled in this build/' /etc/X11/xorg.conf | |
575 | %endif | |
47cbce9c | 576 | sed -i -e 's/^\s*Load\s*"xtrap".*$/#& # obsolete module/' /etc/X11/xorg.conf |
94cbcc0b JB |
577 | fi |
578 | ||
c3f56cd8 | 579 | %post -n xorg-xserver-Xvfb-init |
580 | /sbin/chkconfig --add Xvfb | |
581 | %service Xvfb restart | |
582 | ||
583 | %preun -n xorg-xserver-Xvfb-init | |
584 | if [ "$1" = "0" ]; then | |
585 | %service -q Xvfb stop | |
586 | /sbin/chkconfig --del Xvfb | |
587 | fi | |
588 | ||
ef5a4e65 | 589 | %files |
590 | %defattr(644,root,root,755) | |
17e710cb | 591 | %doc COPYING ChangeLog README |
5cd265ab | 592 | %attr(755,root,root) %{_bindir}/X |
934be85d PS |
593 | %attr(755,root,root) %{_bindir}/Xorg |
594 | %attr(4755,root,root) %{_bindir}/Xwrapper | |
507f68f4 | 595 | %attr(755,root,root) %{_bindir}/cvt |
5cd265ab | 596 | %attr(755,root,root) %{_bindir}/gtf |
944f790e | 597 | %dir %{_libdir}/xorg |
a1e1d009 | 598 | %{_libdir}/xorg/protocol.txt |
daf93c5d AM |
599 | %attr(755,root,root) %{_libdir}/xorg/Xorg |
600 | %attr(4755,root,root) %{_libdir}/xorg/Xorg.wrap | |
944f790e | 601 | %dir %{_libdir}/xorg/modules |
887adac8 JB |
602 | %attr(755,root,root) %{_libdir}/xorg/modules/libexa.so |
603 | %attr(755,root,root) %{_libdir}/xorg/modules/libfb.so | |
604 | %attr(755,root,root) %{_libdir}/xorg/modules/libfbdevhw.so | |
605 | %{?with_glamor:%attr(755,root,root) %{_libdir}/xorg/modules/libglamoregl.so} | |
606 | %attr(755,root,root) %{_libdir}/xorg/modules/libint10.so | |
607 | %attr(755,root,root) %{_libdir}/xorg/modules/libshadow.so | |
608 | %attr(755,root,root) %{_libdir}/xorg/modules/libshadowfb.so | |
609 | %attr(755,root,root) %{_libdir}/xorg/modules/libvbe.so | |
610 | %attr(755,root,root) %{_libdir}/xorg/modules/libvgahw.so | |
611 | %attr(755,root,root) %{_libdir}/xorg/modules/libwfb.so | |
a15a709b | 612 | %dir %{_libdir}/xorg/modules/dri |
79e47f41 | 613 | %dir %{_libdir}/xorg/modules/drivers |
fc866b7f | 614 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/modesetting_drv.so |
944f790e | 615 | %dir %{_libdir}/xorg/modules/extensions |
79e47f41 | 616 | %dir %{_libdir}/xorg/modules/input |
55802b22 JK |
617 | %if "%{_libdir}" != "%{_exec_prefix}/lib" |
618 | %dir %{_exec_prefix}/lib/xorg | |
619 | %dir %{_exec_prefix}/lib/xorg/modules | |
620 | %dir %{_exec_prefix}/lib/xorg/modules/dri | |
621 | %endif | |
27d22b31 JB |
622 | %dir /var/lib/xkb |
623 | /var/lib/xkb/README.compiled | |
3edafdd8 JB |
624 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xserver |
625 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.xserver | |
626 | %config(missingok) /etc/security/console.apps/xserver | |
ffe418a4 | 627 | %{?with_dbus:/etc/dbus-1/system.d/xorg-server.conf} |
feb53d4a | 628 | %dir /etc/X11/xorg.conf.d |
ca47a6d2 | 629 | %config(noreplace) %verify(not md5 mtime size) /etc/X11/Xwrapper.config |
3d2be38e AM |
630 | %dir %{_datadir}/X11/xorg.conf.d |
631 | # overwrite these settings with local configs in /etc/X11/xorg.conf.d | |
887adac8 | 632 | %verify(not md5 mtime size) %{_datadir}/X11/xorg.conf.d/10-quirks.conf |
f354c11f | 633 | %{_mandir}/man1/Xorg.1* |
daf93c5d | 634 | %{_mandir}/man1/Xorg.wrap.1* |
f354c11f | 635 | %{_mandir}/man1/Xserver.1* |
507f68f4 | 636 | %{_mandir}/man1/cvt.1* |
f354c11f | 637 | %{_mandir}/man1/gtf.1* |
88e91f7d | 638 | %{_mandir}/man4/exa.4* |
30a17203 | 639 | %{_mandir}/man4/fbdevhw.4* |
fc866b7f | 640 | %{_mandir}/man4/modesetting.4* |
daf93c5d | 641 | %{_mandir}/man5/Xwrapper.config.5* |
f354c11f | 642 | %{_mandir}/man5/xorg.conf.5* |
be38bc52 | 643 | %{_mandir}/man5/xorg.conf.d.5* |
5cd265ab | 644 | |
8b73c5c3 | 645 | %if %{with dmx} |
5cd265ab JB |
646 | %files -n xorg-xserver-Xdmx |
647 | %defattr(644,root,root,755) | |
648 | %attr(755,root,root) %{_bindir}/Xdmx | |
649 | %attr(755,root,root) %{_bindir}/dmxaddinput | |
650 | %attr(755,root,root) %{_bindir}/dmxaddscreen | |
858a8fe0 | 651 | %attr(755,root,root) %{_bindir}/dmxinfo |
5cd265ab JB |
652 | %attr(755,root,root) %{_bindir}/dmxreconfig |
653 | %attr(755,root,root) %{_bindir}/dmxresize | |
654 | %attr(755,root,root) %{_bindir}/dmxrminput | |
655 | %attr(755,root,root) %{_bindir}/dmxrmscreen | |
656 | %attr(755,root,root) %{_bindir}/dmxtodmx | |
657 | %attr(755,root,root) %{_bindir}/dmxwininfo | |
658 | %attr(755,root,root) %{_bindir}/vdltodmx | |
5cd265ab | 659 | %attr(755,root,root) %{_bindir}/xdmxconfig |
f354c11f AM |
660 | %{_mandir}/man1/Xdmx.1* |
661 | %{_mandir}/man1/dmxtodmx.1* | |
662 | %{_mandir}/man1/vdltodmx.1* | |
663 | %{_mandir}/man1/xdmxconfig.1* | |
8b73c5c3 | 664 | %endif |
5cd265ab JB |
665 | |
666 | %files -n xorg-xserver-Xnest | |
667 | %defattr(644,root,root,755) | |
668 | %attr(755,root,root) %{_bindir}/Xnest | |
f354c11f | 669 | %{_mandir}/man1/Xnest.1* |
5cd265ab | 670 | |
6d8f95e3 JR |
671 | %files -n xorg-xserver-Xephyr |
672 | %defattr(644,root,root,755) | |
673 | %attr(755,root,root) %{_bindir}/Xephyr | |
f354c11f | 674 | %{_mandir}/man1/Xephyr.1* |
6d8f95e3 JR |
675 | |
676 | %files -n xorg-xserver-Xfbdev | |
677 | %defattr(644,root,root,755) | |
678 | %attr(755,root,root) %{_bindir}/Xfbdev | |
679 | ||
5cd265ab JB |
680 | %files -n xorg-xserver-Xvfb |
681 | %defattr(644,root,root,755) | |
682 | %attr(755,root,root) %{_bindir}/Xvfb | |
542e9210 | 683 | %attr(755,root,root) %{_bindir}/xvfb-run |
f354c11f | 684 | %{_mandir}/man1/Xvfb.1* |
0796e6da | 685 | |
c3f56cd8 | 686 | %files -n xorg-xserver-Xvfb-init |
687 | %defattr(644,root,root,755) | |
688 | %attr(754,root,root) /etc/rc.d/init.d/Xvfb | |
689 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/Xvfb | |
690 | ||
887adac8 | 691 | %if %{with wayland} |
8edf202a AM |
692 | %files -n xorg-xserver-Xwayland |
693 | %defattr(644,root,root,755) | |
694 | %attr(755,root,root) %{_bindir}/Xwayland | |
887adac8 | 695 | %endif |
8edf202a | 696 | |
0796e6da | 697 | %files devel |
698 | %defattr(644,root,root,755) | |
eccd867f | 699 | %doc doc/{Xinput,Xserver-spec}.html %{?with_systemtap:doc/dtrace/Xserver-DTrace.html} |
0796e6da | 700 | %{_includedir}/xorg |
565bbfd3 | 701 | %{_aclocaldir}/xorg-server.m4 |
0796e6da | 702 | %{_pkgconfigdir}/xorg-server.pc |
f6f4cf9a | 703 | |
63af4daa | 704 | %files source |
14b28b85 ER |
705 | %defattr(644,root,root,755) |
706 | # keep file perms from install time, but have default defattr to keep adapter happy | |
90e45216 | 707 | %defattr(-,root,root,755) |
63af4daa JR |
708 | %{_usrsrc}/%{name}-%{version} |
709 | ||
f6f4cf9a | 710 | %files -n xorg-xserver-libglx |
0a2e6c9d | 711 | %defattr(644,root,root,755) |
f6f4cf9a | 712 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so |