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