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