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