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