]>
Commit | Line | Data |
---|---|---|
e1833810 | 1 | # |
0cb33a09 | 2 | # TODO: |
0e4c97b7 | 3 | # - subpackage with non-dri libGL for use with X-servers with missing GLX extension? |
59f12de8 | 4 | # - resurrect static if it's useful |
0cb33a09 | 5 | # |
6299b3cd | 6 | # Conditional build: |
bb686270 AM |
7 | %bcond_without egl # build egl |
8 | %bcond_without gallium # don't build gallium | |
be7de8ed JB |
9 | %bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX) |
10 | %bcond_with gallium_radeon # gallium radeon driver | |
11 | %bcond_without gallium_nouveau # gallium nouveau driver | |
bb686270 AM |
12 | %bcond_without motif # build static libGLw without Motif interface |
13 | %bcond_with multigl # package libGL in a way allowing concurrent install with nvidia/fglrx drivers | |
14 | %bcond_without osmesa # don't build osmesa | |
be7de8ed | 15 | %bcond_with static # static libraries |
d70abe90 JB |
16 | # |
17 | # minimal supported xserver version | |
18 | %define xserver_ver 1.5.0 | |
19 | # glapi version (glapi tables in dri drivers and libglx must be in sync); | |
20 | # set to current Mesa version on ABI break, when xserver tables get regenerated | |
21 | # (until they start to be somehow versioned themselves) | |
57ae29d5 | 22 | %define glapi_ver 7.1.0 |
797c6091 | 23 | # |
05ac5e31 | 24 | %define libdrm_ver 2.4.23 |
54147717 | 25 | %define dri2proto_ver 2.1 |
b8e51e7a | 26 | %define glproto_ver 1.4.11 |
41aca213 | 27 | # |
e1833810 | 28 | Summary: Free OpenGL implementation |
54181d82 | 29 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL |
e9b3ff7a | 30 | Name: Mesa |
68d11e7f | 31 | Version: 7.10.1 |
c5b99643 | 32 | Release: 1%{?with_multigl:.mgl} |
f4a8c5f6 | 33 | License: MIT (core), SGI (GLU,libGLw) and others - see license.html file |
e9b3ff7a | 34 | Group: X11/Libraries |
17c01040 | 35 | Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2 |
68d11e7f | 36 | # Source0-md5: efe8da4d80c2a5d32a800770b8ce5dfa |
6f53c8ab | 37 | Patch0: %{name}-realclean.patch |
bb686270 | 38 | Patch1: %{name}-selinux.patch |
9caf779f | 39 | Patch2: %{name}-git.patch |
fd8b2a98 JR |
40 | Patch3: %{name}-nouveau-updates.patch |
41 | Patch4: %{name}-nouveau-revert.patch | |
42 | Patch5: %{name}-nouveau-classic-libdrm.patch | |
50e22bbf | 43 | URL: http://www.mesa3d.org/ |
54147717 | 44 | BuildRequires: autoconf >= 2.59 |
a6c5fc6c | 45 | BuildRequires: automake |
0cb33a09 | 46 | BuildRequires: expat-devel |
41aca213 | 47 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
59f12de8 | 48 | BuildRequires: libselinux-devel |
3c26b076 | 49 | BuildRequires: libstdc++-devel >= 5:3.3.0 |
54147717 | 50 | BuildRequires: libtalloc-devel >= 2:2.0.1 |
6b372055 | 51 | BuildRequires: libtool >= 2:1.4d |
276baaf9 | 52 | %{?with_motif:BuildRequires: motif-devel} |
f35aa06e | 53 | BuildRequires: pixman-devel |
a6c5fc6c | 54 | BuildRequires: pkgconfig |
7eda8496 | 55 | BuildRequires: python |
d9fd49b8 | 56 | BuildRequires: python-modules |
f6afd89c | 57 | BuildRequires: rpmbuild(macros) >= 1.470 |
7cbe00f8 | 58 | BuildRequires: sed >= 4.0 |
cd8f367a | 59 | BuildRequires: xorg-lib-libXdamage-devel |
994fa6a5 | 60 | BuildRequires: xorg-lib-libXext-devel >= 1.0.5 |
1b597036 | 61 | BuildRequires: xorg-lib-libXt-devel |
9850656e | 62 | BuildRequires: xorg-lib-libXxf86vm-devel |
41aca213 | 63 | BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} |
b8e51e7a | 64 | BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver} |
9850656e | 65 | BuildRequires: xorg-util-makedepend |
bb686270 | 66 | BuildRequires: xorg-xserver-server-devel |
54147717 JB |
67 | %if %{with egl} |
68 | BuildRequires: libxcb-devel | |
69 | BuildRequires: udev-devel >= 150 | |
70 | %endif | |
71 | %if %{with gallium} | |
72 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 | |
73 | BuildRequires: xorg-xserver-server-devel >= 1.6.0 | |
74 | %endif | |
ddde5931 | 75 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a0b2836a | 76 | |
8060076f AM |
77 | %if %{without gallium} |
78 | %undefine with_gallium_intel | |
0563bcdf | 79 | %undefine with_gallium_radeon |
8060076f AM |
80 | %endif |
81 | ||
a0b2836a | 82 | %description |
a70fde83 | 83 | Mesa is a 3-D graphics library with an API which is very similar to |
a5e5e963 | 84 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command |
a70fde83 | 85 | syntax or state machine, it is being used with authorization from |
a5e5e963 JB |
86 | Silicon Graphics, Inc. However, the author does not possess an OpenGL |
87 | license from SGI, and makes no claim that Mesa is in any way a | |
88 | compatible replacement for OpenGL or associated with SGI. | |
a0b2836a | 89 | |
f77f03b8 JR |
90 | %description -l pl.UTF-8 |
91 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
92 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
93 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
94 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
95 | OpenGL ani powiązana z SGI. | |
a0b2836a | 96 | |
bb686270 AM |
97 | %package libEGL |
98 | Summary: SGI implementation of libEGL OpenGL library | |
99 | Summary(pl.UTF-8): Implementacja SGI biblioteki libEGL ze standardu OpenGL | |
100 | License: SGI Free Software License B v2.0 (MIT-like) | |
101 | Group: Libraries | |
102 | Requires: OpenGL >= 1.2 | |
54147717 | 103 | Requires: udev-libs >= 150 |
bb686270 AM |
104 | Provides: OpenGL-EGL = 1.0 |
105 | ||
106 | %description libEGL | |
107 | SGI implementation of libEGL OpenGL library. | |
108 | ||
109 | %description libEGL -l pl.UTF-8 | |
110 | Implementacja SGI biblioteki libEGL ze standardu OpenGL. | |
111 | ||
112 | %package libEGL-devel | |
113 | Summary: Header files for SGI libEGL library | |
114 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libEGL | |
115 | License: SGI Free Software License B v2.0 (MIT-like) | |
116 | Group: Development/Libraries | |
117 | Requires: %{name}-libEGL = %{version}-%{release} | |
118 | Requires: OpenGL-devel >= 1.2 | |
119 | Requires: libstdc++-devel | |
120 | Provides: OpenGL-EGL-devel = 1.0 | |
121 | ||
122 | %description libEGL-devel | |
123 | Header files for SGI libEGL library. | |
124 | ||
125 | %description libEGL-devel -l pl.UTF-8 | |
126 | Pliki nagłówkowe biblioteki SGI libEGL. | |
127 | ||
128 | %package libEGL-static | |
129 | Summary: Static SGI libEGL library | |
130 | Summary(pl.UTF-8): Statyczna biblioteka SGI libEGL | |
131 | License: SGI Free Software License B v2.0 (MIT-like) | |
132 | Group: Development/Libraries | |
133 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
134 | Provides: OpenGL-EGL-static = 1.0 | |
135 | ||
136 | %description libEGL-static | |
137 | Static SGI libEGL library. | |
138 | ||
139 | %description libEGL-static -l pl.UTF-8 | |
140 | Statyczna biblioteka SGI libEGL. | |
141 | ||
f445ed6c JB |
142 | %package libGL |
143 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
54181d82 | 144 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL |
f445ed6c JB |
145 | License: MIT |
146 | Group: X11/Libraries | |
38a2434c | 147 | Requires: libdrm >= %{libdrm_ver} |
237cb2a3 | 148 | Provides: OpenGL = 2.1 |
f445ed6c JB |
149 | # reports version 1.3, but supports glXGetProcAddress() from 1.4 |
150 | Provides: OpenGL-GLX = 1.4 | |
b7a76370 | 151 | Obsoletes: Mesa |
884f6d35 | 152 | Obsoletes: Mesa-dri |
b18f0f46 AM |
153 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 |
154 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
f445ed6c JB |
155 | |
156 | %description libGL | |
157 | Mesa is a 3-D graphics library with an API which is very similar to | |
158 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
159 | syntax or state machine, it is being used with authorization from | |
160 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
161 | license from SGI, and makes no claim that Mesa is in any way a | |
162 | compatible replacement for OpenGL or associated with SGI. | |
163 | ||
164 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
165 | specifications. It uses DRI for rendering. | |
166 | ||
f77f03b8 JR |
167 | %description libGL -l pl.UTF-8 |
168 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
169 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
170 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
171 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
172 | OpenGL ani powiązana z SGI. | |
f445ed6c | 173 | |
f77f03b8 JR |
174 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz |
175 | GLX 1.4. Używa DRI do renderowania. | |
f445ed6c JB |
176 | |
177 | %package libGL-devel | |
178 | Summary: Header files for Mesa3D libGL library | |
54181d82 | 179 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D |
f445ed6c JB |
180 | License: MIT |
181 | Group: X11/Development/Libraries | |
182 | # loose dependency on libGL to use with other libGL binaries | |
183 | Requires: OpenGL >= 1.5 | |
41aca213 | 184 | Requires: libdrm-devel >= %{libdrm_ver} |
875da849 | 185 | Requires: xorg-lib-libX11-devel |
9489410a | 186 | Requires: xorg-lib-libXdamage-devel |
187 | Requires: xorg-lib-libXext-devel | |
41aca213 | 188 | Requires: xorg-lib-libXxf86vm-devel |
189 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
b8e51e7a | 190 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} |
e261c0c1 | 191 | Suggests: OpenGL-doc-man |
6299b3cd | 192 | Provides: OpenGL-GLX-devel = 1.4 |
3e88bc92 | 193 | Provides: OpenGL-devel = 2.1 |
f445ed6c | 194 | Obsoletes: Mesa-devel |
b18f0f46 AM |
195 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 |
196 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
197 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
198 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
a0b2836a | 199 | |
f445ed6c JB |
200 | %description libGL-devel |
201 | Header files for Mesa3D libGL library. | |
a0b2836a | 202 | |
f77f03b8 JR |
203 | %description libGL-devel -l pl.UTF-8 |
204 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
e31e9d24 | 205 | |
f445ed6c JB |
206 | %package libGL-static |
207 | Summary: Static Mesa3D libGL library | |
54181d82 | 208 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D |
f445ed6c JB |
209 | License: MIT |
210 | Group: X11/Development/Libraries | |
211 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
237cb2a3 | 212 | Provides: OpenGL-static = 2.1 |
f445ed6c | 213 | Obsoletes: Mesa-static |
b18f0f46 AM |
214 | Obsoletes: X11-OpenGL-static < 1:7.0.0 |
215 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
f445ed6c JB |
216 | |
217 | %description libGL-static | |
218 | Static Mesa3D libGL library. It uses software renderer. | |
219 | ||
f77f03b8 JR |
220 | %description libGL-static -l pl.UTF-8 |
221 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
f445ed6c JB |
222 | renderingu. |
223 | ||
224 | %package libGLU | |
225 | Summary: SGI implementation of libGLU OpenGL library | |
54181d82 | 226 | Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL |
9ae30a4c | 227 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
228 | Group: Libraries |
229 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
230 | Requires: OpenGL >= 1.2 | |
231 | Provides: OpenGL-GLU = 1.3 | |
232 | Obsoletes: Mesa-devel | |
b18f0f46 AM |
233 | Obsoletes: X11-OpenGL-libs < 1:7.0.0 |
234 | Obsoletes: XFree86-OpenGL-libs < 1:7.0.0 | |
f445ed6c JB |
235 | |
236 | %description libGLU | |
237 | SGI implementation of libGLU OpenGL library. It implements OpenGL GLU | |
238 | 1.3 specifications. | |
239 | ||
f77f03b8 | 240 | %description libGLU -l pl.UTF-8 |
f445ed6c | 241 | Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje |
f77f03b8 | 242 | specyfikację OpenGL GLU 1.3. |
f445ed6c JB |
243 | |
244 | %package libGLU-devel | |
245 | Summary: Header files for SGI libGLU library | |
54181d82 | 246 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU |
9ae30a4c | 247 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
248 | Group: Development/Libraries |
249 | Requires: %{name}-libGLU = %{version}-%{release} | |
250 | Requires: OpenGL-devel >= 1.2 | |
251 | Requires: libstdc++-devel | |
252 | Provides: OpenGL-GLU-devel = 1.3 | |
253 | ||
254 | %description libGLU-devel | |
255 | Header files for SGI libGLU library. | |
256 | ||
f77f03b8 JR |
257 | %description libGLU-devel -l pl.UTF-8 |
258 | Pliki nagłówkowe biblioteki SGI libGLU. | |
f445ed6c JB |
259 | |
260 | %package libGLU-static | |
261 | Summary: Static SGI libGLU library | |
54181d82 | 262 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU |
9ae30a4c | 263 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
264 | Group: Development/Libraries |
265 | Requires: %{name}-libGLU-devel = %{version}-%{release} | |
6299b3cd | 266 | Provides: OpenGL-GLU-static = 1.3 |
e31e9d24 | 267 | |
f445ed6c JB |
268 | %description libGLU-static |
269 | Static SGI libGLU library. | |
270 | ||
f77f03b8 | 271 | %description libGLU-static -l pl.UTF-8 |
f445ed6c JB |
272 | Statyczna biblioteka SGI libGLU. |
273 | ||
274 | %package libGLw | |
275 | Summary: SGI OpenGL Xt widgets library | |
54181d82 | 276 | Summary(pl.UTF-8): Biblioteka SGI widgetów Xt dla OpenGL-a |
f445ed6c JB |
277 | License: SGI MIT-like |
278 | Group: Libraries | |
279 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
280 | Requires: OpenGL >= 1.1 | |
281 | Provides: OpenGL-GLw | |
282 | ||
283 | %description libGLw | |
284 | SGI OpenGL Xt widgets library. | |
285 | ||
e094f07e | 286 | %description libGLw -l pl.UTF-8 |
f77f03b8 | 287 | Biblioteka SGI widgetów Xt dla OpenGL-a. |
f445ed6c JB |
288 | |
289 | %package libGLw-devel | |
290 | Summary: Header files for SGI libGLw library | |
54181d82 | 291 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLw |
f4a8c5f6 | 292 | License: SGI MIT-like |
f445ed6c JB |
293 | Group: Development/Libraries |
294 | Requires: %{name}-libGLw = %{version}-%{release} | |
295 | Requires: OpenGL-devel >= 1.2 | |
296 | Provides: OpenGL-GLw-devel | |
297 | ||
298 | %description libGLw-devel | |
299 | Header files for SGI libGLw library. | |
300 | ||
f77f03b8 JR |
301 | %description libGLw-devel -l pl.UTF-8 |
302 | Pliki nagłówkowe biblioteki SGI libGLw. | |
f445ed6c JB |
303 | |
304 | %package libGLw-static | |
305 | Summary: Static SGI libGLw library | |
54181d82 | 306 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLw |
f4a8c5f6 | 307 | License: SGI MIT-like |
f445ed6c JB |
308 | Group: Development/Libraries |
309 | Requires: %{name}-libGLw-devel = %{version}-%{release} | |
310 | Provides: OpenGL-GLw-static | |
e31e9d24 | 311 | |
f445ed6c JB |
312 | %description libGLw-static |
313 | Static SGI libGLw library. | |
314 | ||
f77f03b8 | 315 | %description libGLw-static -l pl.UTF-8 |
f445ed6c JB |
316 | Statyczna biblioteka SGI libGLw. |
317 | ||
f4a8c5f6 JB |
318 | %package libOSMesa |
319 | Summary: OSMesa (off-screen renderer) library | |
320 | Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci) | |
321 | License: MIT | |
322 | Group: Libraries | |
323 | # doesn't require base | |
324 | ||
325 | %description libOSMesa | |
326 | OSMesa (off-screen renderer) library. | |
327 | ||
328 | %description libOSMesa -l pl.UTF-8 | |
329 | Biblioteka OSMesa (renderująca bitmapy w pamięci). | |
330 | ||
331 | %package libOSMesa-devel | |
332 | Summary: Header file for OSMesa (off-screen renderer) library | |
333 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci) | |
334 | License: MIT | |
335 | Group: Development/Libraries | |
336 | Requires: %{name}-libOSMesa = %{version}-%{release} | |
337 | # for <GL/gl.h> only | |
338 | Requires: OpenGL-devel | |
339 | ||
340 | %description libOSMesa-devel | |
341 | Header file for OSMesa (off-screen renderer) library. | |
342 | ||
343 | %description libOSMesa-devel -l pl.UTF-8 | |
344 | Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci). | |
345 | ||
346 | %package libOSMesa-static | |
347 | Summary: Static OSMesa (off-screen renderer) library | |
348 | Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci) | |
349 | License: MIT | |
350 | Group: Development/Libraries | |
351 | Requires: %{name}-libOSMesa-devel = %{version}-%{release} | |
352 | # this static build of OSMesa needs static non-dri Mesa implementation | |
353 | Requires: %{name}-libGL-static = %{version}-%{release} | |
354 | ||
355 | %description libOSMesa-static | |
356 | Static OSMesa (off-screen renderer) library. | |
357 | ||
358 | %description libOSMesa-static -l pl.UTF-8 | |
359 | Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci). | |
360 | ||
f445ed6c JB |
361 | %package utils |
362 | Summary: OpenGL utilities from Mesa3D | |
54181d82 | 363 | Summary(pl.UTF-8): Programy narzędziowe OpenGL z projektu Mesa3D |
f4a8c5f6 | 364 | License: MIT |
1a039c9a | 365 | Group: X11/Applications/Graphics |
f445ed6c JB |
366 | # loose deps on libGL/libGLU |
367 | ||
368 | %description utils | |
369 | OpenGL utilities from Mesa3D: glxgears and glxinfo. | |
370 | ||
f77f03b8 JR |
371 | %description utils -l pl.UTF-8 |
372 | Programy narzędziowe OpenGL z projektu Mesa3D: glxgears i glxinfo. | |
a0b2836a | 373 | |
afe33c03 | 374 | %package dri-driver-ati-mach64 |
362c6f99 JB |
375 | Summary: X.org DRI driver for ATI Mach64 card family |
376 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Mach64 | |
f4a8c5f6 | 377 | License: MIT |
18da5046 | 378 | Group: X11/Libraries |
d70abe90 JB |
379 | Requires: xorg-driver-video-mach64 |
380 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
381 | Requires: xorg-xserver-server >= %{xserver_ver} | |
875da849 | 382 | |
afe33c03 | 383 | %description dri-driver-ati-mach64 |
362c6f99 | 384 | X.org DRI driver for ATI Mach64 card family. |
875da849 | 385 | |
f77f03b8 | 386 | %description dri-driver-ati-mach64 -l pl.UTF-8 |
362c6f99 | 387 | Sterownik X.org DRI dla rodziny kart ATI Mach64. |
875da849 | 388 | |
afe33c03 | 389 | %package dri-driver-ati-radeon-R100 |
362c6f99 JB |
390 | Summary: X.org DRI driver for ATI R100 card family |
391 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
f4a8c5f6 | 392 | License: MIT |
18da5046 | 393 | Group: X11/Libraries |
83c21438 | 394 | Requires: xorg-driver-video-ati |
d70abe90 JB |
395 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
396 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 397 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 398 | |
399 | %description dri-driver-ati-radeon-R100 | |
362c6f99 | 400 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). |
afe33c03 | 401 | |
f77f03b8 | 402 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 |
362c6f99 | 403 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). |
afe33c03 | 404 | |
405 | %package dri-driver-ati-radeon-R200 | |
362c6f99 JB |
406 | Summary: X.org DRI driver for ATI R200 card family |
407 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
f4a8c5f6 | 408 | License: MIT |
18da5046 | 409 | Group: X11/Libraries |
83c21438 | 410 | Requires: xorg-driver-video-ati |
d70abe90 JB |
411 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
412 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 413 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 414 | |
415 | %description dri-driver-ati-radeon-R200 | |
362c6f99 | 416 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) |
afe33c03 | 417 | |
f77f03b8 | 418 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
362c6f99 | 419 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
afe33c03 | 420 | |
421 | %package dri-driver-ati-radeon-R300 | |
362c6f99 JB |
422 | Summary: X.org DRI driver for ATI R300 card family |
423 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
f4a8c5f6 | 424 | License: MIT |
18da5046 | 425 | Group: X11/Libraries |
83c21438 | 426 | Requires: xorg-driver-video-ati |
d70abe90 JB |
427 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
428 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 429 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 430 | |
431 | %description dri-driver-ati-radeon-R300 | |
362c6f99 | 432 | X.org DRI driver for ATI R300 card family. |
afe33c03 | 433 | |
f77f03b8 | 434 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
362c6f99 | 435 | Sterownik X.org DRI dla rodziny kart ATI R300. |
afe33c03 | 436 | |
e68936d0 AM |
437 | %package dri-driver-ati-radeon-R600 |
438 | Summary: X.org DRI driver for ATI R600 card family | |
439 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
440 | License: MIT | |
441 | Group: X11/Libraries | |
442 | Requires: radeon-ucode | |
443 | Requires: xorg-driver-video-ati | |
444 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
445 | Requires: xorg-xserver-server >= %{xserver_ver} | |
446 | ||
447 | %description dri-driver-ati-radeon-R600 | |
448 | X.org DRI driver for ATI R600 card family. | |
449 | ||
450 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
451 | Sterownik X.org DRI dla rodziny kart ATI R600. | |
452 | ||
afe33c03 | 453 | %package dri-driver-ati-rage128 |
362c6f99 JB |
454 | Summary: X.org DRI driver for ATI Rage128 card family |
455 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Rage128 | |
f4a8c5f6 | 456 | License: MIT |
18da5046 | 457 | Group: X11/Libraries |
d70abe90 JB |
458 | Requires: xorg-driver-video-r128 |
459 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
460 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 461 | Obsoletes: X11-driver-r128-dri < 1:7.0.0 |
afe33c03 | 462 | |
463 | %description dri-driver-ati-rage128 | |
362c6f99 | 464 | X.org DRI driver for ATI Rage128 card family. |
afe33c03 | 465 | |
f77f03b8 | 466 | %description dri-driver-ati-rage128 -l pl.UTF-8 |
362c6f99 | 467 | Sterownik X.org DRI dla rodziny kart ATI Rage128. |
afe33c03 | 468 | |
469 | %package dri-driver-ffb | |
362c6f99 JB |
470 | Summary: X.org DRI driver for Sun FFB card family |
471 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Sun FFB | |
f4a8c5f6 | 472 | License: MIT |
18da5046 | 473 | Group: X11/Libraries |
83c21438 | 474 | Requires: xorg-driver-video-sunffb |
d70abe90 JB |
475 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
476 | Requires: xorg-xserver-server >= %{xserver_ver} | |
afe33c03 | 477 | |
478 | %description dri-driver-ffb | |
362c6f99 | 479 | X.org DRI driver for SUN Creator3D and Elite3D card family. |
afe33c03 | 480 | |
f77f03b8 | 481 | %description dri-driver-ffb -l pl.UTF-8 |
362c6f99 | 482 | Sterownik X.org DRI dla rodziny kart SUN Creator3D i Elite3D. |
afe33c03 | 483 | |
484 | %package dri-driver-glint | |
362c6f99 JB |
485 | Summary: X.org DRI driver for GLINT/Permedia card family |
486 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart GLINT/Permedia | |
f4a8c5f6 | 487 | License: MIT |
18da5046 | 488 | Group: X11/Libraries |
83c21438 | 489 | Requires: xorg-driver-video-glint |
d70abe90 JB |
490 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
491 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 492 | Obsoletes: X11-driver-glint-dri < 1:7.0.0 |
afe33c03 | 493 | |
494 | %description dri-driver-glint | |
362c6f99 | 495 | X.org DRI driver for GLINT/Permedia card family. |
afe33c03 | 496 | |
f77f03b8 | 497 | %description dri-driver-glint -l pl.UTF-8 |
362c6f99 | 498 | Sterownik X.org DRI dla rodziny kart GLINT/Permedia. |
afe33c03 | 499 | |
500 | %package dri-driver-intel-i810 | |
362c6f99 JB |
501 | Summary: X.org DRI driver for Intel i810 card family |
502 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i810 | |
f4a8c5f6 | 503 | License: MIT |
18da5046 | 504 | Group: X11/Libraries |
d70abe90 JB |
505 | Requires: xorg-driver-video-intel |
506 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
507 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 508 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 509 | |
510 | %description dri-driver-intel-i810 | |
362c6f99 | 511 | X.org DRI driver for Intel i810 card family. |
afe33c03 | 512 | |
f77f03b8 | 513 | %description dri-driver-intel-i810 -l pl.UTF-8 |
362c6f99 | 514 | Sterownik X.org DRI dla rodziny kart Intel i810. |
afe33c03 | 515 | |
afe33c03 | 516 | %package dri-driver-intel-i915 |
362c6f99 JB |
517 | Summary: X.org DRI driver for Intel i915 card family |
518 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
f4a8c5f6 | 519 | License: MIT |
18da5046 | 520 | Group: X11/Libraries |
d70abe90 JB |
521 | Requires: xorg-driver-video-intel |
522 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
523 | Requires: xorg-xserver-server >= %{xserver_ver} | |
2db432a2 | 524 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 525 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 526 | |
527 | %description dri-driver-intel-i915 | |
362c6f99 | 528 | X.org DRI driver for Intel i915 card family. |
afe33c03 | 529 | |
f77f03b8 | 530 | %description dri-driver-intel-i915 -l pl.UTF-8 |
362c6f99 | 531 | Sterownik X.org DRI dla rodziny kart Intel i915. |
afe33c03 | 532 | |
b360f4f6 | 533 | %package dri-driver-intel-i965 |
362c6f99 JB |
534 | Summary: X.org DRI driver for Intel i965 card family |
535 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
f4a8c5f6 | 536 | License: MIT |
b360f4f6 | 537 | Group: X11/Libraries |
d70abe90 JB |
538 | Requires: xorg-driver-video-intel |
539 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
540 | Requires: xorg-xserver-server >= %{xserver_ver} | |
b360f4f6 | 541 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 542 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 543 | |
544 | %description dri-driver-intel-i965 | |
362c6f99 | 545 | X.org DRI driver for Intel i965 card family. |
b360f4f6 | 546 | |
f77f03b8 | 547 | %description dri-driver-intel-i965 -l pl.UTF-8 |
362c6f99 | 548 | Sterownik X.org DRI dla rodziny kart Intel i965. |
b360f4f6 | 549 | |
afe33c03 | 550 | %package dri-driver-matrox |
362c6f99 JB |
551 | Summary: X.org DRI driver for Matrox G card family |
552 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Matrox G | |
f4a8c5f6 | 553 | License: MIT |
18da5046 | 554 | Group: X11/Libraries |
83c21438 | 555 | Requires: xorg-driver-video-mga |
d70abe90 JB |
556 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
557 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 558 | Obsoletes: X11-driver-mga-dri < 1:7.0.0 |
afe33c03 | 559 | |
560 | %description dri-driver-matrox | |
561 | X.org DRI drivers for Matrox G card family. | |
562 | ||
f77f03b8 | 563 | %description dri-driver-matrox -l pl.UTF-8 |
afe33c03 | 564 | Sterowniki X.org DRI dla rodziny kart Matrox G. |
565 | ||
3e88bc92 AM |
566 | %package dri-driver-nouveau |
567 | Summary: X.org DRI driver for NVIDIA card family | |
568 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
569 | License: MIT | |
570 | Group: X11/Libraries | |
571 | Requires: xorg-driver-video-nouveau | |
572 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
573 | Requires: xorg-xserver-server >= %{xserver_ver} | |
574 | ||
575 | %description dri-driver-nouveau | |
576 | X.org DRI drivers for NVIDIA card family. | |
577 | ||
578 | %description dri-driver-nouveau -l pl.UTF-8 | |
579 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
580 | ||
afe33c03 | 581 | %package dri-driver-savage |
362c6f99 JB |
582 | Summary: X.org DRI driver for S3 Savage card family |
583 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart S3 Savage | |
f4a8c5f6 | 584 | License: MIT |
18da5046 | 585 | Group: X11/Libraries |
83c21438 | 586 | Requires: xorg-driver-video-savage |
d70abe90 JB |
587 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
588 | Requires: xorg-xserver-server >= %{xserver_ver} | |
afe33c03 | 589 | |
590 | %description dri-driver-savage | |
362c6f99 | 591 | X.org DRI driver for S3 Savage card family. |
afe33c03 | 592 | |
f77f03b8 | 593 | %description dri-driver-savage -l pl.UTF-8 |
362c6f99 | 594 | Sterownik X.org DRI dla rodziny kart S3 Savage. |
afe33c03 | 595 | |
596 | %package dri-driver-sis | |
362c6f99 JB |
597 | Summary: X.org DRI driver for SiS card family |
598 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart SiS | |
f4a8c5f6 | 599 | License: MIT |
18da5046 | 600 | Group: X11/Libraries |
83c21438 | 601 | Requires: xorg-driver-video-sis |
d70abe90 JB |
602 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
603 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 604 | Obsoletes: X11-driver-sis-dri < 1:7.0.0 |
afe33c03 | 605 | |
606 | %description dri-driver-sis | |
362c6f99 | 607 | X.org DRI driver for SiS card family. |
afe33c03 | 608 | |
f77f03b8 | 609 | %description dri-driver-sis -l pl.UTF-8 |
362c6f99 | 610 | Sterownik X.org DRI dla rodziny kart SiS. |
afe33c03 | 611 | |
f3606317 | 612 | %package dri-driver-swrast |
362c6f99 JB |
613 | Summary: X.org DRI software rasterizer driver |
614 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
f3606317 AM |
615 | License: MIT |
616 | Group: X11/Libraries | |
d70abe90 JB |
617 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
618 | Requires: xorg-xserver-server >= %{xserver_ver} | |
f3606317 AM |
619 | |
620 | %description dri-driver-swrast | |
362c6f99 | 621 | X.org DRI software rasterizer driver. |
f3606317 AM |
622 | |
623 | %description dri-driver-swrast -l pl.UTF-8 | |
362c6f99 | 624 | Sterownik X.org DRI obsługujący rysowanie programowe. |
f3606317 | 625 | |
afe33c03 | 626 | %package dri-driver-tdfx |
362c6f99 JB |
627 | Summary: X.org DRI driver for 3DFX Voodoo card family |
628 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart 3DFX Voodoo | |
f4a8c5f6 | 629 | License: MIT |
18da5046 | 630 | Group: X11/Libraries |
10fb2f64 | 631 | Requires: Glide3-DRI |
83c21438 | 632 | Requires: xorg-driver-video-tdfx |
d70abe90 JB |
633 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
634 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 635 | Obsoletes: X11-driver-tdfx-dri < 1:7.0.0 |
afe33c03 | 636 | |
637 | %description dri-driver-tdfx | |
362c6f99 | 638 | X.org DRI driver for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee |
afe33c03 | 639 | and Velocity 100/200). |
640 | ||
f77f03b8 | 641 | %description dri-driver-tdfx -l pl.UTF-8 |
362c6f99 JB |
642 | Sterownik X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5, |
643 | Banshee i Velocity 100/200). | |
afe33c03 | 644 | |
23e685d3 | 645 | %package dri-driver-via-unichrome |
646 | Summary: X.org DRI driver for VIA Unichrome card family | |
647 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart VIA Unichrome | |
648 | License: MIT | |
649 | Group: X11/Libraries | |
650 | Requires: xorg-driver-video-openchrome | |
651 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
652 | Requires: xorg-xserver-server >= %{xserver_ver} | |
653 | ||
654 | %description dri-driver-via-unichrome | |
655 | X.org DRI driver for VIA Unichrome card family. | |
656 | ||
657 | %description dri-driver-via-unichrome -l pl.UTF-8 | |
658 | Sterownik X.org DRI dla rodziny kart VIA Unichrome. | |
659 | ||
e68936d0 AM |
660 | %package dri-driver-vmwgfx |
661 | Summary: X.org DRI driver for VMware | |
662 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
663 | License: MIT | |
664 | Group: X11/Libraries | |
665 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
666 | Requires: xorg-xserver-server >= %{xserver_ver} | |
667 | ||
668 | %description dri-driver-vmwgfx | |
669 | X.org DRI driver for VMWare. | |
670 | ||
671 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
672 | Sterownik X.org DRI dla VMware. | |
673 | ||
a0b2836a | 674 | %prep |
bb686270 | 675 | %setup -q |
6f53c8ab | 676 | %patch0 -p0 |
be7de8ed | 677 | %patch1 -p1 |
68d11e7f | 678 | #patch2 -p1 |
fd8b2a98 JR |
679 | %patch3 -p1 |
680 | %patch4 -p1 | |
681 | %patch5 -p1 | |
a0b2836a | 682 | |
683 | %build | |
bb686270 AM |
684 | %{__aclocal} |
685 | %{__autoconf} | |
a5afae62 | 686 | |
0563bcdf AM |
687 | dri_drivers="i810 i965 mach64 mga r128 \ |
688 | %if %{without gallium_radeon} | |
689 | r200 r300 r600 radeon \ | |
690 | %endif | |
691 | savage \ | |
8060076f | 692 | %if %{without gallium_intel} |
a5afae62 AM |
693 | i915 \ |
694 | %endif | |
59f12de8 AM |
695 | %ifarch sparc sparcv9 sparc64 |
696 | ffb \ | |
6299b3cd | 697 | %endif |
59f12de8 AM |
698 | %ifarch %{ix86} %{x8664} |
699 | sis \ | |
31a772c7 | 700 | %endif |
59f12de8 AM |
701 | swrast tdfx unichrome" |
702 | ||
703 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
704 | ||
705 | common_flags="\ | |
706 | --enable-shared \ | |
707 | --enable-selinux \ | |
5f574b4b | 708 | --enable-pic \ |
b4a5c074 | 709 | --enable-glx-tls \ |
74a7a0e1 AM |
710 | --disable-glut \ |
711 | --disable-os-mesa \ | |
bb686270 | 712 | --%{?with_egl:en}%{!?with_egl:dis}able-egl" |
59f12de8 | 713 | |
74a7a0e1 | 714 | osmesa_common_flags="\ |
59f12de8 AM |
715 | --with-driver=osmesa \ |
716 | --disable-asm \ | |
74a7a0e1 AM |
717 | --disable-glu" |
718 | ||
719 | %if %{with osmesa} | |
720 | # osmesa variants | |
721 | %configure $common_flags $osmesa_common_flags \ | |
59f12de8 | 722 | --with-osmesa-bits=8 |
74a7a0e1 | 723 | %{__make} |
59f12de8 AM |
724 | mv %{_lib} osmesa8 |
725 | %{__make} clean | |
726 | ||
74a7a0e1 | 727 | %configure $common_flags $osmesa_common_flags \ |
59f12de8 | 728 | --with-osmesa-bits=16 |
74a7a0e1 | 729 | %{__make} |
59f12de8 AM |
730 | mv %{_lib} osmesa16 |
731 | %{__make} clean | |
732 | ||
74a7a0e1 | 733 | %configure $common_flags $osmesa_common_flags \ |
59f12de8 | 734 | --with-osmesa-bits=32 |
74a7a0e1 | 735 | %{__make} |
59f12de8 AM |
736 | mv %{_lib} osmesa32 |
737 | %{__make} clean | |
cb97a1c3 | 738 | %endif |
59f12de8 AM |
739 | |
740 | %configure $common_flags \ | |
5f574b4b AM |
741 | %if %{with gallium} |
742 | --enable-gallium \ | |
8060076f | 743 | --%{?with_gallium_intel:en}%{!?with_gallium_intel:dis}able-gallium-intel \ |
0563bcdf | 744 | --%{?with_gallium_radeon:en}%{!?with_gallium_radeon:dis}able-gallium-radeon \ |
b1c69d57 | 745 | --enable-gallium-svga \ |
54147717 | 746 | %{?with_gallium_nouveau:--enable-gallium-nouveau} \ |
bb686270 | 747 | --with-state-trackers=dri,glx \ |
5f574b4b AM |
748 | %else |
749 | --disable-gallium \ | |
750 | %endif | |
59f12de8 AM |
751 | --with-driver=dri \ |
752 | --with-dri-drivers=${dri_drivers} \ | |
753 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
754 | ||
755 | %{__make} | |
59f12de8 | 756 | |
a0b2836a | 757 | %install |
f5543b17 | 758 | rm -rf $RPM_BUILD_ROOT |
ddde5931 | 759 | |
bb686270 | 760 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
59f12de8 AM |
761 | |
762 | # libs without drivers | |
763 | %{__make} install \ | |
764 | DESTDIR=$RPM_BUILD_ROOT | |
ddde5931 | 765 | |
cb97a1c3 | 766 | %if %{with osmesa} |
bb686270 | 767 | install osmesa*/*OSMesa* $RPM_BUILD_ROOT%{_libdir} |
cb97a1c3 | 768 | %endif |
f4a8c5f6 | 769 | |
0cb33a09 | 770 | rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}} |
a0b2836a | 771 | |
59f12de8 AM |
772 | # strip out undesirable headers |
773 | olddir=$(pwd) | |
3e88bc92 | 774 | cd $RPM_BUILD_ROOT%{_includedir}/GL |
3496fa2b | 775 | rm [a-fh-np-wyz]*.h glf*.h |
a5afae62 | 776 | cd $RPM_BUILD_ROOT%{_libdir} |
59f12de8 AM |
777 | cd $olddir |
778 | ||
5818e6f7 JR |
779 | %if %{with multigl} |
780 | install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_sysconfdir}/ld.so.conf.d} | |
781 | ||
782 | mv -f $RPM_BUILD_ROOT%{_libdir}/libGL.so.* $RPM_BUILD_ROOT%{_libdir}/Mesa | |
783 | ln -sf Mesa/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
784 | ||
785 | echo %{_libdir}/Mesa >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
786 | %endif | |
787 | ||
abc9e15f JB |
788 | %clean |
789 | rm -rf $RPM_BUILD_ROOT | |
790 | ||
bb686270 AM |
791 | %post libEGL -p /sbin/ldconfig |
792 | %postun libEGL -p /sbin/ldconfig | |
793 | ||
f445ed6c JB |
794 | %post libGL -p /sbin/ldconfig |
795 | %postun libGL -p /sbin/ldconfig | |
796 | ||
797 | %post libGLU -p /sbin/ldconfig | |
798 | %postun libGLU -p /sbin/ldconfig | |
799 | ||
800 | %post libGLw -p /sbin/ldconfig | |
801 | %postun libGLw -p /sbin/ldconfig | |
a0b2836a | 802 | |
bb686270 AM |
803 | %if %{with egl} |
804 | %files libEGL | |
805 | %defattr(644,root,root,755) | |
806 | %attr(755,root,root) %{_libdir}/libEGL.so.*.* | |
c794b508 | 807 | %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1 |
bb686270 AM |
808 | %dir %{_libdir}/egl |
809 | %attr(755,root,root) %{_libdir}/egl/egl_dri2.so | |
810 | %attr(755,root,root) %{_libdir}/egl/egl_glx.so | |
811 | ||
812 | %files libEGL-devel | |
813 | %defattr(644,root,root,755) | |
814 | %attr(755,root,root) %{_libdir}/libEGL.so | |
bb686270 AM |
815 | %dir %{_includedir}/EGL |
816 | %{_includedir}/EGL/egl.h | |
817 | %{_includedir}/EGL/eglext.h | |
818 | %{_includedir}/EGL/eglplatform.h | |
819 | %dir %{_includedir}/KHR | |
820 | %{_includedir}/KHR/khrplatform.h | |
821 | %{_pkgconfigdir}/egl.pc | |
822 | ||
823 | %if %{with static} | |
824 | %files libEGL-static | |
825 | %defattr(644,root,root,755) | |
826 | %{_libdir}/libEGL.a | |
827 | %endif | |
828 | %endif | |
829 | ||
f445ed6c | 830 | %files libGL |
e9b3ff7a | 831 | %defattr(644,root,root,755) |
47e56dff | 832 | %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS},RELNOTES*} |
5818e6f7 JR |
833 | %if %{with multigl} |
834 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
835 | %dir %{_libdir}/Mesa | |
836 | %attr(755,root,root) %{_libdir}/Mesa/libGL.so.*.* | |
837 | %attr(755,root,root) %ghost %{_libdir}/Mesa/libGL.so.1 | |
838 | %else | |
9b0e6ebb JB |
839 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
840 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
0cb33a09 JB |
841 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
842 | # (and dlopen libGL.so instead of libGL.so.1) | |
843 | %attr(755,root,root) %{_libdir}/libGL.so | |
5818e6f7 | 844 | %endif |
a0b2836a | 845 | |
f445ed6c | 846 | %files libGL-devel |
e9b3ff7a | 847 | %defattr(644,root,root,755) |
ddde5931 | 848 | %doc docs/*.spec |
f4a8c5f6 JB |
849 | %if %{with multigl} |
850 | %attr(755,root,root) %{_libdir}/libGL.so | |
851 | %endif | |
debcd977 | 852 | %dir %{_includedir}/GL |
d3dd48bf | 853 | %{_includedir}/GL/gl.h |
e1833810 | 854 | %{_includedir}/GL/glext.h |
d3dd48bf | 855 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 856 | %{_includedir}/GL/glx.h |
abc9e15f | 857 | %{_includedir}/GL/glxext.h |
d3dd48bf | 858 | %{_includedir}/GL/glx_mangle.h |
1ec0796e AM |
859 | %dir %{_includedir}/GL/internal |
860 | %{_includedir}/GL/internal/dri_interface.h | |
59f12de8 | 861 | %{_pkgconfigdir}/dri.pc |
f4a8c5f6 | 862 | %{_pkgconfigdir}/gl.pc |
a0b2836a | 863 | |
59f12de8 | 864 | %if %{with static} |
f445ed6c | 865 | %files libGL-static |
3855c435 | 866 | %defattr(644,root,root,755) |
11062ced | 867 | %{_libdir}/libGL.a |
59f12de8 | 868 | %endif |
f445ed6c JB |
869 | |
870 | %files libGLU | |
871 | %defattr(644,root,root,755) | |
9b0e6ebb | 872 | %attr(755,root,root) %{_libdir}/libGLU.so.*.* |
c794b508 | 873 | %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1 |
f445ed6c JB |
874 | |
875 | %files libGLU-devel | |
876 | %defattr(644,root,root,755) | |
877 | %attr(755,root,root) %{_libdir}/libGLU.so | |
878 | %{_includedir}/GL/glu.h | |
879 | %{_includedir}/GL/glu_mangle.h | |
f4a8c5f6 | 880 | %{_pkgconfigdir}/glu.pc |
f445ed6c | 881 | |
59f12de8 | 882 | %if %{with static} |
f445ed6c JB |
883 | %files libGLU-static |
884 | %defattr(644,root,root,755) | |
11062ced | 885 | %{_libdir}/libGLU.a |
59f12de8 | 886 | %endif |
f445ed6c JB |
887 | |
888 | %files libGLw | |
889 | %defattr(644,root,root,755) | |
9b0e6ebb | 890 | %attr(755,root,root) %{_libdir}/libGLw.so.*.* |
c794b508 | 891 | %attr(755,root,root) %ghost %{_libdir}/libGLw.so.1 |
f445ed6c JB |
892 | |
893 | %files libGLw-devel | |
894 | %defattr(644,root,root,755) | |
895 | %attr(755,root,root) %{_libdir}/libGLw.so | |
896 | %{_includedir}/GL/GLwDrawA.h | |
897 | %{_includedir}/GL/GLwDrawAP.h | |
898 | %{_includedir}/GL/GLwMDrawA.h | |
899 | %{_includedir}/GL/GLwMDrawAP.h | |
336eb747 | 900 | %{_pkgconfigdir}/glw.pc |
f445ed6c | 901 | |
59f12de8 | 902 | %if %{with static} |
f445ed6c JB |
903 | %files libGLw-static |
904 | %defattr(644,root,root,755) | |
0cb33a09 | 905 | %{_libdir}/libGLw.a |
59f12de8 | 906 | %endif |
3855c435 | 907 | |
cb97a1c3 | 908 | %if %{with osmesa} |
f4a8c5f6 JB |
909 | %files libOSMesa |
910 | %defattr(644,root,root,755) | |
59f12de8 | 911 | %attr(755,root,root) %{_libdir}/libOSMesa*.so.*.* |
c794b508 | 912 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa*.so.7 |
f4a8c5f6 JB |
913 | |
914 | %files libOSMesa-devel | |
915 | %defattr(644,root,root,755) | |
59f12de8 | 916 | %attr(755,root,root) %{_libdir}/libOSMesa*.so |
f4a8c5f6 JB |
917 | %{_includedir}/GL/osmesa.h |
918 | ||
59f12de8 | 919 | %if %{with static} |
f4a8c5f6 JB |
920 | %files libOSMesa-static |
921 | %defattr(644,root,root,755) | |
59f12de8 AM |
922 | %{_libdir}/libOSMesa*.a |
923 | %endif | |
cb97a1c3 | 924 | %endif |
f4a8c5f6 | 925 | |
afe33c03 | 926 | %files dri-driver-ati-mach64 |
875da849 | 927 | %defattr(644,root,root,755) |
afe33c03 | 928 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so |
929 | ||
930 | %files dri-driver-ati-radeon-R100 | |
931 | %defattr(644,root,root,755) | |
932 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
933 | ||
934 | %files dri-driver-ati-radeon-R200 | |
935 | %defattr(644,root,root,755) | |
936 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
937 | ||
938 | %files dri-driver-ati-radeon-R300 | |
939 | %defattr(644,root,root,755) | |
940 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
941 | ||
e68936d0 AM |
942 | %files dri-driver-ati-radeon-R600 |
943 | %defattr(644,root,root,755) | |
944 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
945 | ||
afe33c03 | 946 | %files dri-driver-ati-rage128 |
947 | %defattr(644,root,root,755) | |
948 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so | |
949 | ||
f445ed6c | 950 | # sunffb (sparc only) |
afe33c03 | 951 | %ifarch sparc sparcv9 sparc64 |
952 | %files dri-driver-ffb | |
953 | %defattr(644,root,root,755) | |
f445ed6c JB |
954 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so |
955 | %endif | |
afe33c03 | 956 | |
957 | # glint (requires update) | |
958 | %if 0 | |
959 | %files dri-driver-glint | |
960 | %defattr(644,root,root,755) | |
961 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so | |
962 | %endif | |
963 | ||
964 | %files dri-driver-intel-i810 | |
965 | %defattr(644,root,root,755) | |
f445ed6c | 966 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so |
afe33c03 | 967 | |
afe33c03 | 968 | %files dri-driver-intel-i915 |
969 | %defattr(644,root,root,755) | |
5f574b4b | 970 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
afe33c03 | 971 | |
b360f4f6 | 972 | %files dri-driver-intel-i965 |
973 | %defattr(644,root,root,755) | |
974 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
975 | ||
afe33c03 | 976 | %files dri-driver-matrox |
977 | %defattr(644,root,root,755) | |
f445ed6c | 978 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so |
afe33c03 | 979 | |
a7a3223c | 980 | %if %{with gallium} |
a3697dc6 | 981 | %if %{with gallium_nouveau} |
3e88bc92 AM |
982 | %files dri-driver-nouveau |
983 | %defattr(644,root,root,755) | |
bb686270 | 984 | #%attr(755,root,root) %{_libdir}/xorg/modules/drivers/modesetting_drv.so |
3e88bc92 | 985 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so |
a7a3223c | 986 | %endif |
a3697dc6 | 987 | %endif |
3e88bc92 | 988 | |
afe33c03 | 989 | %files dri-driver-savage |
990 | %defattr(644,root,root,755) | |
f445ed6c | 991 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so |
afe33c03 | 992 | |
a71d2e77 | 993 | %ifarch %{ix86} %{x8664} |
afe33c03 | 994 | %files dri-driver-sis |
995 | %defattr(644,root,root,755) | |
f445ed6c | 996 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so |
5b105641 | 997 | %endif |
afe33c03 | 998 | |
f3606317 AM |
999 | %files dri-driver-swrast |
1000 | %defattr(644,root,root,755) | |
1001 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so | |
bb686270 | 1002 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrastg_dri.so |
f3606317 | 1003 | |
afe33c03 | 1004 | %files dri-driver-tdfx |
1005 | %defattr(644,root,root,755) | |
f445ed6c | 1006 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so |
afe33c03 | 1007 | |
23e685d3 | 1008 | %files dri-driver-via-unichrome |
1009 | %defattr(644,root,root,755) | |
1010 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so | |
1011 | ||
bb5f0825 | 1012 | %if %{with gallium} |
e68936d0 AM |
1013 | %files dri-driver-vmwgfx |
1014 | %defattr(644,root,root,755) | |
9c4e4073 | 1015 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so |
bb5f0825 | 1016 | %endif |