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