]>
Commit | Line | Data |
---|---|---|
e1833810 | 1 | # |
0cb33a09 | 2 | # TODO: |
bfc83643 | 3 | # - check if gallium_intel note is still valid, switch the bcond if not |
bf8d2f73 | 4 | # - consider: |
0e4c97b7 | 5 | # - subpackage with non-dri libGL for use with X-servers with missing GLX extension? |
67dbaca7 | 6 | # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static) |
0cb33a09 | 7 | # |
6299b3cd | 8 | # Conditional build: |
5eb992a8 | 9 | %bcond_without gallium # gallium drivers |
45991a71 | 10 | %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX) |
5b103bd4 | 11 | %bcond_without gallium_nouveau # gallium nouveau driver |
56313830 | 12 | %bcond_without gallium_radeon # gallium radeon drivers |
45991a71 | 13 | %bcond_without egl # EGL libraries |
ebff9a35 AM |
14 | # "Cannot enable OpenVG, because egl_gallium has been removed and |
15 | # OpenVG hasn't been integrated into standard libEGL yet" | |
16 | %bcond_with openvg # OpenVG | |
a651d613 | 17 | %bcond_without gbm # Graphics Buffer Manager |
ff879d59 | 18 | %bcond_without opencl # OpenCL support |
86a7645a | 19 | %bcond_without ocl_icd # OpenCL as ICD (installable client driver) |
4bacd84c | 20 | %bcond_without omx # OpenMAX (Bellagio OMXIL) support |
24b30bc6 | 21 | %bcond_without wayland # Wayland EGL |
40c26533 | 22 | %bcond_without xa # XA state tracker (for vmwgfx xorg driver) |
67dbaca7 | 23 | %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently] |
34f695f1 | 24 | %bcond_with tests # tests |
d70abe90 | 25 | # |
d70abe90 JB |
26 | # glapi version (glapi tables in dri drivers and libglx must be in sync); |
27 | # set to current Mesa version on ABI break, when xserver tables get regenerated | |
28 | # (until they start to be somehow versioned themselves) | |
c6305e3e | 29 | %define glapi_ver 7.1.0 |
e0e9f02c | 30 | # minimal supported xserver version |
c6305e3e | 31 | %define xserver_ver 1.5.0 |
e0e9f02c | 32 | # other packages |
c45391bc | 33 | %define libdrm_ver 2.4.56 |
c6305e3e JB |
34 | %define dri2proto_ver 2.6 |
35 | %define dri3proto_ver 1.0 | |
36 | %define glproto_ver 1.4.14 | |
37 | %define presentproto_ver 1.0 | |
2f1a1517 | 38 | |
e1833810 | 39 | Summary: Free OpenGL implementation |
54181d82 | 40 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL |
e9b3ff7a | 41 | Name: Mesa |
13724f5a | 42 | Version: 10.4.1 |
113f082e | 43 | Release: 1 |
3dc87f1a | 44 | License: MIT (core) and others - see license.html file |
e9b3ff7a | 45 | Group: X11/Libraries |
2186abf6 | 46 | Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2 |
13724f5a | 47 | # Source0-md5: 461ab299aa38937a679c57b401788a42 |
4db28b99 | 48 | Patch0: missing-type.patch |
50e22bbf | 49 | URL: http://www.mesa3d.org/ |
67d9a9ca | 50 | BuildRequires: autoconf >= 2.60 |
a6c5fc6c | 51 | BuildRequires: automake |
e5bc9334 | 52 | %{?with_opencl:BuildRequires: clang-devel >= 3.1} |
43f54f5a | 53 | BuildRequires: elfutils-devel |
0cb33a09 | 54 | BuildRequires: expat-devel |
686d3d0d | 55 | BuildRequires: gcc >= 5:3.3 |
c6305e3e | 56 | %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7} |
41aca213 | 57 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
59f12de8 | 58 | BuildRequires: libselinux-devel |
3c26b076 | 59 | BuildRequires: libstdc++-devel >= 5:3.3.0 |
54147717 | 60 | BuildRequires: libtalloc-devel >= 2:2.0.1 |
5853b3ab | 61 | BuildRequires: libtool >= 2:2.2 |
8eb275e9 | 62 | BuildRequires: libvdpau-devel >= 0.4.1 |
c6305e3e | 63 | BuildRequires: libxcb-devel >= 1.10 |
56313830 | 64 | %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2} |
bec14093 | 65 | %{?with_opencl:BuildRequires: llvm-libclc} |
ff879d59 | 66 | %{?with_ocl_icd:BuildRequires: ocl-icd-devel} |
4bacd84c | 67 | %{?with_omx:BuildRequires: libomxil-bellagio-devel} |
8d1858fe | 68 | BuildRequires: perl-base |
f35aa06e | 69 | BuildRequires: pixman-devel |
a6c5fc6c | 70 | BuildRequires: pkgconfig |
c1d2b5e2 | 71 | BuildRequires: pkgconfig(talloc) >= 2.0.1 |
c6305e3e JB |
72 | BuildRequires: pkgconfig(xcb-dri3) |
73 | BuildRequires: pkgconfig(xcb-present) | |
8d1858fe | 74 | BuildRequires: python >= 2 |
8d1858fe | 75 | BuildRequires: python-modules >= 2 |
f6afd89c | 76 | BuildRequires: rpmbuild(macros) >= 1.470 |
7cbe00f8 | 77 | BuildRequires: sed >= 4.0 |
4328392c | 78 | %{?with_egl:BuildRequires: udev-devel >= 1:151} |
24b30bc6 | 79 | # wayland-{client,server} |
e2448022 | 80 | %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0} |
cd8f367a | 81 | BuildRequires: xorg-lib-libXdamage-devel |
994fa6a5 | 82 | BuildRequires: xorg-lib-libXext-devel >= 1.0.5 |
a651d613 | 83 | BuildRequires: xorg-lib-libXfixes-devel |
1b597036 | 84 | BuildRequires: xorg-lib-libXt-devel |
8eb275e9 | 85 | BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6 |
9850656e | 86 | BuildRequires: xorg-lib-libXxf86vm-devel |
4bacd84c | 87 | BuildRequires: xorg-lib-libxshmfence-devel >= 1.1 |
41aca213 | 88 | BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} |
c6305e3e | 89 | BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver} |
b8e51e7a | 90 | BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver} |
c6305e3e | 91 | BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver} |
9850656e | 92 | BuildRequires: xorg-util-makedepend |
54147717 JB |
93 | %if %{with gallium} |
94 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 | |
e22d206b | 95 | BuildRequires: xorg-xserver-server-devel >= %{xserver_ver} |
54147717 | 96 | %endif |
ddde5931 | 97 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a0b2836a | 98 | |
8060076f AM |
99 | %if %{without gallium} |
100 | %undefine with_gallium_intel | |
13f5098f | 101 | %undefine with_gallium_nouveau |
ff879d59 | 102 | %undefine with_ocl_icd |
e5bc9334 | 103 | %undefine with_opencl |
a651d613 | 104 | %undefine with_xa |
9bfb354d AM |
105 | %endif |
106 | ||
107 | %if %{without egl} | |
108 | %undefine with_gbm | |
24b30bc6 | 109 | %undefine with_wayland |
8060076f AM |
110 | %endif |
111 | ||
52c8419a JB |
112 | # libGLESv1_CM, libGLESv2, libGL, libOSMesa: |
113 | # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?) | |
52c8419a | 114 | # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol) |
0d8bac2a | 115 | %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.* |
c1d2b5e2 | 116 | |
04c3cb73 | 117 | # llvm build broken |
462198da | 118 | %define filterout_ld -Wl,--as-needed |
04c3cb73 | 119 | |
a0b2836a | 120 | %description |
a70fde83 | 121 | Mesa is a 3-D graphics library with an API which is very similar to |
a5e5e963 | 122 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command |
a70fde83 | 123 | syntax or state machine, it is being used with authorization from |
a5e5e963 JB |
124 | Silicon Graphics, Inc. However, the author does not possess an OpenGL |
125 | license from SGI, and makes no claim that Mesa is in any way a | |
126 | compatible replacement for OpenGL or associated with SGI. | |
a0b2836a | 127 | |
f77f03b8 JR |
128 | %description -l pl.UTF-8 |
129 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
130 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
131 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
132 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
133 | OpenGL ani powiązana z SGI. | |
a0b2836a | 134 | |
bb686270 | 135 | %package libEGL |
ae79139b JB |
136 | Summary: Mesa implementation of EGL Native Platform Graphics Interface library |
137 | Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL | |
138 | License: MIT | |
bb686270 | 139 | Group: Libraries |
c7f22387 | 140 | Requires: %{name}-libglapi = %{version}-%{release} |
bf8d2f73 | 141 | # glx driver in libEGL dlopens libGL.so |
bb686270 | 142 | Requires: OpenGL >= 1.2 |
bf8d2f73 | 143 | Requires: libdrm >= %{libdrm_ver} |
2f1a1517 | 144 | Requires: libxcb >= 1.9 |
e2448022 | 145 | %{?with_wayland:Requires: wayland >= 1.2.0} |
bf8d2f73 | 146 | %if %{with gallium} |
ebff9a35 | 147 | %if %{with openvg} |
bf8d2f73 | 148 | # for egl_gallium.so |
c7f22387 | 149 | Requires: %{name}-libOpenVG = %{version}-%{release} |
ebff9a35 | 150 | %endif |
4328392c | 151 | Requires: udev-libs >= 1:151 |
bf8d2f73 | 152 | %endif |
166bc93f JB |
153 | %if %{with gbm} |
154 | Requires: %{name}-libgbm = %{version}-%{release} | |
155 | %endif | |
ae79139b | 156 | Provides: EGL = 1.4 |
bb686270 AM |
157 | |
158 | %description libEGL | |
ae79139b JB |
159 | This package contains shared libEGL - Mesa implementation of EGL |
160 | Native Platform Graphics Interface as specified by Khronos Group: | |
161 | <http://www.khronos.org/egl/>. | |
bb686270 AM |
162 | |
163 | %description libEGL -l pl.UTF-8 | |
ae79139b JB |
164 | Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację |
165 | Mesa standardu EGL Native Platform Graphics Interface (interfejsu | |
166 | graficznego platformy natywnej) wg specyfikacji Khronos Group: | |
167 | <http://www.khronos.org/egl/>. | |
bb686270 AM |
168 | |
169 | %package libEGL-devel | |
ae79139b JB |
170 | Summary: Header files for Mesa implementation of EGL library |
171 | Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL | |
172 | License: MIT | |
bb686270 | 173 | Group: Development/Libraries |
166bc93f | 174 | Requires: %{name}-khrplatform-devel = %{version}-%{release} |
bb686270 | 175 | Requires: %{name}-libEGL = %{version}-%{release} |
bf8d2f73 JB |
176 | Requires: libdrm-devel >= %{libdrm_ver} |
177 | Requires: xorg-lib-libX11-devel | |
178 | Requires: xorg-lib-libXdamage-devel | |
4bacd84c | 179 | Requires: xorg-lib-libXext-devel >= 1.0.5 |
bf8d2f73 JB |
180 | Requires: xorg-lib-libXfixes-devel |
181 | Requires: xorg-lib-libXxf86vm-devel | |
182 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
183 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} | |
ae79139b | 184 | Provides: EGL-devel = 1.4 |
bb686270 AM |
185 | |
186 | %description libEGL-devel | |
ae79139b | 187 | Header files for Mesa implementation of EGL library. |
bb686270 AM |
188 | |
189 | %description libEGL-devel -l pl.UTF-8 | |
ae79139b | 190 | Pliki nagłówkowe implementacji Mesa biblioteki EGL. |
bb686270 AM |
191 | |
192 | %package libEGL-static | |
278406ce JB |
193 | Summary: Static Mesa EGL library |
194 | Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL | |
ae79139b | 195 | License: MIT |
bb686270 AM |
196 | Group: Development/Libraries |
197 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
ae79139b | 198 | Provides: EGL-static = 1.4 |
bb686270 AM |
199 | |
200 | %description libEGL-static | |
278406ce | 201 | Static Mesa EGL library. |
bb686270 AM |
202 | |
203 | %description libEGL-static -l pl.UTF-8 | |
278406ce | 204 | Statyczna biblioteka Mesa EGL. |
c1d2b5e2 | 205 | |
f445ed6c JB |
206 | %package libGL |
207 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
54181d82 | 208 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL |
f445ed6c JB |
209 | License: MIT |
210 | Group: X11/Libraries | |
c7f22387 | 211 | Requires: %{name}-libglapi = %{version}-%{release} |
38a2434c | 212 | Requires: libdrm >= %{libdrm_ver} |
951169fa | 213 | Provides: OpenGL = 3.3 |
f445ed6c | 214 | Provides: OpenGL-GLX = 1.4 |
b7a76370 | 215 | Obsoletes: Mesa |
884f6d35 | 216 | Obsoletes: Mesa-dri |
b743b90b | 217 | Obsoletes: Mesa-dri-core < 10.0.0 |
b18f0f46 AM |
218 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 |
219 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
f445ed6c JB |
220 | |
221 | %description libGL | |
222 | Mesa is a 3-D graphics library with an API which is very similar to | |
223 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
224 | syntax or state machine, it is being used with authorization from | |
225 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
226 | license from SGI, and makes no claim that Mesa is in any way a | |
227 | compatible replacement for OpenGL or associated with SGI. | |
228 | ||
229 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
230 | specifications. It uses DRI for rendering. | |
231 | ||
f77f03b8 JR |
232 | %description libGL -l pl.UTF-8 |
233 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
234 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
235 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
236 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
237 | OpenGL ani powiązana z SGI. | |
f445ed6c | 238 | |
f77f03b8 JR |
239 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz |
240 | GLX 1.4. Używa DRI do renderowania. | |
f445ed6c JB |
241 | |
242 | %package libGL-devel | |
243 | Summary: Header files for Mesa3D libGL library | |
54181d82 | 244 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D |
f445ed6c JB |
245 | License: MIT |
246 | Group: X11/Development/Libraries | |
247 | # loose dependency on libGL to use with other libGL binaries | |
248 | Requires: OpenGL >= 1.5 | |
41aca213 | 249 | Requires: libdrm-devel >= %{libdrm_ver} |
875da849 | 250 | Requires: xorg-lib-libX11-devel |
9489410a | 251 | Requires: xorg-lib-libXdamage-devel |
4bacd84c | 252 | Requires: xorg-lib-libXext-devel >= 1.0.5 |
41aca213 | 253 | Requires: xorg-lib-libXxf86vm-devel |
254 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
b8e51e7a | 255 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} |
e261c0c1 | 256 | Suggests: OpenGL-doc-man |
6299b3cd | 257 | Provides: OpenGL-GLX-devel = 1.4 |
951169fa | 258 | Provides: OpenGL-devel = 3.3 |
f445ed6c | 259 | Obsoletes: Mesa-devel |
b18f0f46 AM |
260 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 |
261 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
262 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
263 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
a0b2836a | 264 | |
f445ed6c JB |
265 | %description libGL-devel |
266 | Header files for Mesa3D libGL library. | |
a0b2836a | 267 | |
f77f03b8 JR |
268 | %description libGL-devel -l pl.UTF-8 |
269 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
e31e9d24 | 270 | |
f445ed6c JB |
271 | %package libGL-static |
272 | Summary: Static Mesa3D libGL library | |
54181d82 | 273 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D |
f445ed6c JB |
274 | License: MIT |
275 | Group: X11/Development/Libraries | |
276 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
951169fa | 277 | Provides: OpenGL-static = 3.3 |
f445ed6c | 278 | Obsoletes: Mesa-static |
b18f0f46 AM |
279 | Obsoletes: X11-OpenGL-static < 1:7.0.0 |
280 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
f445ed6c JB |
281 | |
282 | %description libGL-static | |
283 | Static Mesa3D libGL library. It uses software renderer. | |
284 | ||
f77f03b8 JR |
285 | %description libGL-static -l pl.UTF-8 |
286 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
f445ed6c JB |
287 | renderingu. |
288 | ||
278406ce JB |
289 | %package libGLES |
290 | Summary: Mesa implementation of GLES (OpenGL ES) libraries | |
291 | Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES) | |
292 | Group: Libraries | |
c7f22387 | 293 | Requires: %{name}-libglapi = %{version}-%{release} |
95034bc4 JB |
294 | Provides: OpenGLES |
295 | Provides: OpenGLESv1 = 1.1 | |
296 | Provides: OpenGLESv2 = 2.0 | |
278406ce JB |
297 | |
298 | %description libGLES | |
299 | This package contains shared libraries of Mesa implementation of GLES | |
300 | (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics | |
301 | on embedded systems. OpenGL ES specification can be found on Khronos | |
cc59a107 JB |
302 | Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL |
303 | ES 1.1 and 2.0. | |
278406ce JB |
304 | |
305 | %description libGLES -l pl.UTF-8 | |
306 | Ten pakiet zawiera biblioteki współdzielone implementacji Mesa | |
307 | standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni | |
308 | funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację | |
309 | OpenGL ES można znaleźć na stronie Khronos Group: | |
cc59a107 JB |
310 | <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL |
311 | ES 1.1 i 2.0. | |
278406ce JB |
312 | |
313 | %package libGLES-devel | |
314 | Summary: Header files for Mesa GLES libraries | |
315 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES | |
316 | Group: Development/Libraries | |
166bc93f JB |
317 | Requires: %{name}-khrplatform-devel = %{version}-%{release} |
318 | # <EGL/egl.h> for <GLES/egl.h> | |
bf8d2f73 | 319 | Requires: %{name}-libEGL-devel = %{version}-%{release} |
278406ce | 320 | Requires: %{name}-libGLES = %{version}-%{release} |
95034bc4 JB |
321 | Provides: OpenGLES-devel |
322 | Provides: OpenGLESv1-devel = 1.1 | |
323 | Provides: OpenGLESv2-devel = 2.0 | |
278406ce JB |
324 | |
325 | %description libGLES-devel | |
326 | Header files for Mesa GLES libraries. | |
327 | ||
328 | %description libGLES-devel -l pl.UTF-8 | |
329 | Pliki nagłówkowe bibliotek Mesa GLES. | |
330 | ||
f4a8c5f6 JB |
331 | %package libOSMesa |
332 | Summary: OSMesa (off-screen renderer) library | |
333 | Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci) | |
334 | License: MIT | |
335 | Group: Libraries | |
f4a8c5f6 JB |
336 | |
337 | %description libOSMesa | |
338 | OSMesa (off-screen renderer) library. | |
339 | ||
340 | %description libOSMesa -l pl.UTF-8 | |
341 | Biblioteka OSMesa (renderująca bitmapy w pamięci). | |
342 | ||
343 | %package libOSMesa-devel | |
344 | Summary: Header file for OSMesa (off-screen renderer) library | |
345 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci) | |
346 | License: MIT | |
347 | Group: Development/Libraries | |
348 | Requires: %{name}-libOSMesa = %{version}-%{release} | |
349 | # for <GL/gl.h> only | |
350 | Requires: OpenGL-devel | |
bf8d2f73 | 351 | Requires: libselinux-devel |
f4a8c5f6 JB |
352 | |
353 | %description libOSMesa-devel | |
354 | Header file for OSMesa (off-screen renderer) library. | |
355 | ||
356 | %description libOSMesa-devel -l pl.UTF-8 | |
357 | Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci). | |
358 | ||
359 | %package libOSMesa-static | |
360 | Summary: Static OSMesa (off-screen renderer) library | |
361 | Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci) | |
362 | License: MIT | |
363 | Group: Development/Libraries | |
364 | Requires: %{name}-libOSMesa-devel = %{version}-%{release} | |
365 | # this static build of OSMesa needs static non-dri Mesa implementation | |
366 | Requires: %{name}-libGL-static = %{version}-%{release} | |
367 | ||
368 | %description libOSMesa-static | |
369 | Static OSMesa (off-screen renderer) library. | |
370 | ||
371 | %description libOSMesa-static -l pl.UTF-8 | |
372 | Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci). | |
373 | ||
ff879d59 JK |
374 | %package OpenCL-icd |
375 | Summary: Mesa implementation of OpenCL (Compuing Language) API ICD | |
376 | Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD | |
377 | License: MIT | |
378 | Group: Libraries | |
379 | Requires: filesystem >= 4.0-29 | |
380 | Requires: libdrm >= %{libdrm_ver} | |
381 | Requires: llvm-libclc | |
382 | Requires: udev-libs >= 1:151 | |
383 | Provides: OpenCL = 1.1 | |
384 | ||
385 | %description OpenCL-icd | |
386 | This package contains Mesa implementation of OpenCL - standard for | |
387 | cross-platform, parallel programming of modern processors found in | |
388 | personal computers, servers and handheld/embedded devices. OpenCL | |
389 | specification can be found on Khronos Group site: | |
390 | <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1. | |
391 | ||
392 | The implementation is provided as an installable client driver (ICD) | |
393 | for use with the ocl-icd loader. | |
394 | ||
395 | %description OpenCL-icd -l pl.UTF-8 | |
396 | Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu | |
397 | wieloplatformowego, równoległego programowania nowoczesnych | |
398 | procesorów, jakie znajdują się w komputerach osobistych, serwerach | |
399 | oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można | |
400 | znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>. | |
401 | Mesa zawiera implementację OpenCL w wersji 1.1. | |
402 | ||
403 | Implementacja dostarczona jest w postaci instalowalnego sterownika klienta | |
404 | (ICD), który może być użyty z loaderem ocl-icd. | |
405 | ||
e5bc9334 JB |
406 | %package libOpenCL |
407 | Summary: Mesa implementation of OpenCL (Compuing Language) API | |
408 | Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) | |
409 | License: MIT | |
410 | Group: Libraries | |
411 | Requires: libdrm >= %{libdrm_ver} | |
bec14093 | 412 | Requires: llvm-libclc |
4328392c | 413 | Requires: udev-libs >= 1:151 |
e5bc9334 JB |
414 | Provides: OpenCL = 1.1 |
415 | ||
416 | %description libOpenCL | |
417 | This package contains Mesa implementation of OpenCL - standard for | |
418 | cross-platform, parallel programming of modern processors found in | |
419 | personal computers, servers and handheld/embedded devices. OpenCL | |
420 | specification can be found on Khronos Group site: | |
421 | <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1. | |
422 | ||
423 | %description libOpenCL -l pl.UTF-8 | |
424 | Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu | |
425 | wieloplatformowego, równoległego programowania nowoczesnych | |
426 | procesorów, jakie znajdują się w komputerach osobistych, serwerach | |
427 | oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można | |
428 | znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>. | |
429 | Mesa zawiera implementację OpenCL w wersji 1.1. | |
430 | ||
431 | %package libOpenCL-devel | |
432 | Summary: Header files for Mesa OpenCL library | |
433 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL | |
434 | License: MIT | |
435 | Group: Development/Libraries | |
436 | Requires: %{name}-libOpenCL = %{version}-%{release} | |
437 | Provides: OpenCL-devel = 1.1 | |
438 | ||
439 | %description libOpenCL-devel | |
440 | Header files for Mesa OpenCL library. | |
441 | ||
442 | %description libOpenCL-devel -l pl.UTF-8 | |
443 | Pliki nagłówkowe biblioteki Mesa OpenCL. | |
444 | ||
c1d2b5e2 | 445 | %package libOpenVG |
278406ce JB |
446 | Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API |
447 | Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej) | |
c1d2b5e2 AM |
448 | License: MIT |
449 | Group: Libraries | |
95034bc4 | 450 | Provides: OpenVG = 1.1 |
c1d2b5e2 AM |
451 | |
452 | %description libOpenVG | |
278406ce JB |
453 | This package contains Mesa implementation of OpenVG - cross-platform |
454 | API that provides a low-level hardware acceleration interface for | |
455 | vector graphics libraries such as Flash and SVG. OpenVG specification | |
456 | can be found on Khronos Group site: <http://www.khronos.org/openvg/>. | |
cc59a107 | 457 | Mesa implements OpenVG 1.1. |
c1d2b5e2 AM |
458 | |
459 | %description libOpenVG -l pl.UTF-8 | |
278406ce JB |
460 | Ten pakiet zawiera implementację Mesa standardu OpenVG - |
461 | wieloplatfomowego API zapewniającego niskopoziomowy interfejs | |
9bfb354d AM |
462 | akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak |
463 | Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos | |
464 | Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację | |
465 | OpenVG w wersji 1.1. | |
c1d2b5e2 AM |
466 | |
467 | %package libOpenVG-devel | |
278406ce JB |
468 | Summary: Header file for Mesa OpenVG library |
469 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG | |
c1d2b5e2 AM |
470 | License: MIT |
471 | Group: Development/Libraries | |
166bc93f | 472 | Requires: %{name}-khrplatform-devel = %{version}-%{release} |
c1d2b5e2 | 473 | Requires: %{name}-libOpenVG = %{version}-%{release} |
95034bc4 | 474 | Provides: OpenVG-devel = 1.1 |
c1d2b5e2 AM |
475 | |
476 | %description libOpenVG-devel | |
278406ce | 477 | Header file for Mesa OpenVG library. |
c1d2b5e2 AM |
478 | |
479 | %description libOpenVG-devel -l pl.UTF-8 | |
278406ce | 480 | Plik nagłówkowy biblioteki Mesa OpenVG. |
c1d2b5e2 | 481 | |
04c3cb73 JB |
482 | %package libXvMC-nouveau |
483 | Summary: Mesa implementation of XvMC API for NVidia adapters | |
484 | Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia | |
f4a8c5f6 | 485 | License: MIT |
9bfb354d | 486 | Group: Libraries |
8eb275e9 | 487 | Requires: libdrm >= %{libdrm_ver} |
a651d613 | 488 | Requires: xorg-lib-libXvMC >= 1.0.6 |
04c3cb73 JB |
489 | Conflicts: Mesa-libXvMC |
490 | ||
491 | %description libXvMC-nouveau | |
492 | Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0). | |
493 | ||
494 | %description libXvMC-nouveau -l pl.UTF-8 | |
495 | Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0). | |
496 | ||
04c3cb73 JB |
497 | %package libXvMC-r600 |
498 | Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters | |
499 | Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600 | |
500 | License: MIT | |
501 | Group: Libraries | |
502 | Requires: libdrm >= %{libdrm_ver} | |
a651d613 | 503 | Requires: xorg-lib-libXvMC >= 1.0.6 |
04c3cb73 JB |
504 | Conflicts: Mesa-libXvMC |
505 | ||
506 | %description libXvMC-r600 | |
507 | Mesa implementation of XvMC API for ATI Radeon adapters based on | |
508 | R600/R700 chips. | |
509 | ||
510 | %description libXvMC-r600 -l pl.UTF-8 | |
511 | Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach | |
512 | R600/R700. | |
513 | ||
ebff9a35 AM |
514 | %package -n libva-driver-gallium |
515 | Summary: VA driver for Gallium State Tracker | |
516 | Summary(pl.UTF-8): Sterownik VA do Gallium | |
517 | Group: Libraries | |
518 | ||
519 | %description -n libva-driver-gallium | |
520 | VA driver for Gallium State Tracker. | |
521 | ||
522 | %description -n libva-driver-gallium -l pl.UTF-8 | |
523 | Sterownik VA do Gallium. | |
524 | ||
d3cd778a JB |
525 | %package libgbm |
526 | Summary: Mesa Graphics Buffer Manager library | |
527 | Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager | |
528 | Group: Libraries | |
e0e9f02c | 529 | Requires: %{name}-libglapi = %{version}-%{release} |
4328392c | 530 | Requires: udev-libs >= 1:151 |
72a183c7 | 531 | Conflicts: Mesa-libEGL < 8.0.1-2 |
d3cd778a JB |
532 | |
533 | %description libgbm | |
534 | Mesa Graphics Buffer Manager library. | |
535 | ||
536 | %description libgbm -l pl.UTF-8 | |
537 | Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego). | |
538 | ||
539 | %package libgbm-devel | |
540 | Summary: Header file for Mesa Graphics Buffer Manager library | |
541 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager | |
542 | Group: Development/Libraries | |
543 | Requires: %{name}-libgbm = %{version}-%{release} | |
4328392c | 544 | Requires: udev-devel >= 1:151 |
d3cd778a JB |
545 | |
546 | %description libgbm-devel | |
547 | Header file for Mesa Graphics Buffer Manager library. | |
548 | ||
549 | %description libgbm-devel -l pl.UTF-8 | |
550 | Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy | |
551 | bufora graficznego). | |
552 | ||
553 | %package gbm-driver-i915 | |
554 | Summary: i915 driver for Mesa GBM framework | |
555 | Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM | |
556 | Group: Libraries | |
557 | Requires: %{name}-libgbm = %{version}-%{release} | |
4bf93def | 558 | Obsoletes: Mesa-opencl-driver-i915 |
d3cd778a JB |
559 | |
560 | %description gbm-driver-i915 | |
561 | i915 driver for Mesa Graphics Buffer Manager. It supports Intel | |
562 | 915/945/G33/Q33/Q35/Pineview chips. | |
563 | ||
564 | %description gbm-driver-i915 -l pl.UTF-8 | |
565 | Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy | |
566 | bufora graficznego). Obsługuje układy Intela z serii | |
567 | 915/945/G33/Q33/Q35/Pineview. | |
568 | ||
569 | %package gbm-driver-nouveau | |
570 | Summary: nouveau driver for Mesa GBM framework | |
571 | Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM | |
572 | Group: Libraries | |
573 | Requires: %{name}-libgbm = %{version}-%{release} | |
4bf93def | 574 | Obsoletes: Mesa-opencl-driver-nouveau |
d3cd778a JB |
575 | |
576 | %description gbm-driver-nouveau | |
577 | nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia | |
578 | adapters. | |
579 | ||
580 | %description gbm-driver-nouveau -l pl.UTF-8 | |
581 | Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy | |
582 | bufora graficznego). Obsługuje karty graficzne firmy NVidia. | |
583 | ||
584 | %package gbm-driver-r300 | |
585 | Summary: r300 driver for Mesa GBM framework | |
586 | Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM | |
587 | Group: Libraries | |
588 | Requires: %{name}-libgbm = %{version}-%{release} | |
4bf93def | 589 | Obsoletes: Mesa-opencl-driver-r300 |
d3cd778a JB |
590 | |
591 | %description gbm-driver-r300 | |
592 | r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon | |
593 | adapters based on R300/R400/RS690/R500 chips. | |
594 | ||
595 | %description gbm-driver-r300 -l pl.UTF-8 | |
596 | Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy | |
597 | bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na | |
598 | układach R300/R400/RS690/R500. | |
599 | ||
600 | %package gbm-driver-r600 | |
601 | Summary: r600 driver for Mesa GBM framework | |
602 | Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM | |
603 | Group: Libraries | |
604 | Requires: %{name}-libgbm = %{version}-%{release} | |
507629f4 | 605 | Obsoletes: Mesa-libllvmradeon |
4bf93def | 606 | Obsoletes: Mesa-opencl-driver-r600 |
d3cd778a JB |
607 | |
608 | %description gbm-driver-r600 | |
609 | r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon | |
610 | adapters based on R600/R700 chips. | |
611 | ||
612 | %description gbm-driver-r600 -l pl.UTF-8 | |
613 | Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy | |
614 | bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na | |
615 | układach R600/R700. | |
616 | ||
3dc87f1a AM |
617 | %package gbm-driver-radeonsi |
618 | Summary: radeonsi driver for Mesa GBM framework | |
619 | Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM | |
620 | Group: Libraries | |
621 | Requires: %{name}-libgbm = %{version}-%{release} | |
5b8e9162 | 622 | Obsoletes: Mesa-libllvmradeon |
507629f4 | 623 | Obsoletes: Mesa-opencl-driver-radeonsi |
3dc87f1a AM |
624 | |
625 | %description gbm-driver-radeonsi | |
0784ce78 JB |
626 | radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI |
627 | Radeon adapters based on Southern Islands chips. | |
3dc87f1a AM |
628 | |
629 | %description gbm-driver-radeonsi -l pl.UTF-8 | |
0784ce78 JB |
630 | Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager |
631 | (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon | |
632 | oparte na układach Southern Islands. | |
3dc87f1a | 633 | |
e5bc9334 JB |
634 | %package gbm-driver-swrast |
635 | Summary: Software (swrast) driver for Mesa GBM framework | |
636 | Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM | |
637 | Group: Libraries | |
638 | Requires: %{name}-libgbm = %{version}-%{release} | |
4bf93def | 639 | Obsoletes: Mesa-opencl-driver-swrast |
e5bc9334 JB |
640 | |
641 | %description gbm-driver-swrast | |
642 | Software (swrast) driver for Mesa Graphics Buffer Manager. | |
643 | ||
644 | %description gbm-driver-swrast -l pl.UTF-8 | |
645 | Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer | |
646 | Manager (zarządcy bufora graficznego). | |
647 | ||
d3cd778a JB |
648 | %package gbm-driver-vmwgfx |
649 | Summary: vmwgfx driver for Mesa GBM framework | |
650 | Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM | |
651 | Group: Libraries | |
652 | Requires: %{name}-libgbm = %{version}-%{release} | |
4bf93def | 653 | Obsoletes: Mesa-opencl-driver-vmwgfx |
d3cd778a JB |
654 | |
655 | %description gbm-driver-vmwgfx | |
656 | vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware | |
657 | virtual video adapter. | |
658 | ||
659 | %description gbm-driver-vmwgfx -l pl.UTF-8 | |
660 | Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy | |
661 | bufora graficznego). Obsługuje wirtualną kartę graficzną VMware. | |
662 | ||
c7f22387 JB |
663 | %package libglapi |
664 | Summary: Mesa GL API shared library | |
665 | Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API | |
666 | Group: Libraries | |
72a183c7 | 667 | Conflicts: Mesa-libEGL < 8.0.1-2 |
c7f22387 JB |
668 | |
669 | %description libglapi | |
670 | Mesa GL API shared library, common for various APIs (EGL, GL, GLES). | |
671 | ||
672 | %description libglapi -l pl.UTF-8 | |
673 | Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL, | |
674 | GL, GLES). | |
675 | ||
24b30bc6 JB |
676 | %package libwayland-egl |
677 | Summary: Wayland EGL library | |
678 | Summary(pl.UTF-8): Biblioteka Wayland EGL | |
679 | Group: Libraries | |
680 | Requires: libdrm >= %{libdrm_ver} | |
681 | ||
682 | %description libwayland-egl | |
683 | Wayland EGL platform library. | |
684 | ||
685 | %description libwayland-egl -l pl.UTF-8 | |
686 | Biblioteka platformy EGL Wayland. | |
687 | ||
688 | %package libwayland-egl-devel | |
689 | Summary: Development files for Wayland EGL library | |
690 | Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL | |
691 | Group: Development/Libraries | |
692 | Requires: %{name}-libwayland-egl = %{version}-%{release} | |
693 | Requires: libdrm-devel >= %{libdrm_ver} | |
24b30bc6 JB |
694 | |
695 | %description libwayland-egl-devel | |
696 | Development files for Wayland EGL platform library. | |
697 | ||
698 | %description libwayland-egl-devel -l pl.UTF-8 | |
699 | Pliki programistyczne biblioteki platformy EGL Wayland. | |
700 | ||
a651d613 JB |
701 | %package libxatracker |
702 | Summary: Xorg Gallium3D accelleration library | |
703 | Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg | |
704 | Group: X11/Libraries | |
c7f22387 | 705 | Requires: libdrm >= %{libdrm_ver} |
a651d613 JB |
706 | |
707 | %description libxatracker | |
708 | Xorg Gallium3D accelleration library (used by new vmwgfx driver). | |
709 | ||
710 | %description libxatracker -l pl.UTF-8 | |
711 | Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy | |
712 | sterownik vmwgfx). | |
713 | ||
714 | %package libxatracker-devel | |
715 | Summary: Header files for Xorg Gallium3D accelleration library | |
716 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg | |
717 | Group: X11/Development/Libraries | |
718 | Requires: %{name}-libxatracker = %{version}-%{release} | |
c7f22387 | 719 | Requires: libdrm-devel >= %{libdrm_ver} |
a651d613 JB |
720 | |
721 | %description libxatracker-devel | |
722 | Header files for Xorg Gallium3D accelleration library. | |
723 | ||
724 | %description libxatracker-devel -l pl.UTF-8 | |
725 | Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg. | |
726 | ||
166bc93f JB |
727 | %package khrplatform-devel |
728 | Summary: Khronos platform header file | |
729 | Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos | |
730 | Group: Development/Libraries | |
72a183c7 | 731 | Conflicts: Mesa-libEGL-devel < 8.0.1-2 |
166bc93f JB |
732 | |
733 | %description khrplatform-devel | |
734 | Khronos platform header file. | |
735 | ||
736 | %description khrplatform-devel -l pl.UTF-8 | |
737 | Plik nagłówkowy platformy Khronos. | |
738 | ||
afe33c03 | 739 | %package dri-driver-ati-radeon-R100 |
362c6f99 JB |
740 | Summary: X.org DRI driver for ATI R100 card family |
741 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
f4a8c5f6 | 742 | License: MIT |
18da5046 | 743 | Group: X11/Libraries |
83c21438 | 744 | Requires: xorg-driver-video-ati |
d70abe90 JB |
745 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
746 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 747 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 748 | |
749 | %description dri-driver-ati-radeon-R100 | |
362c6f99 | 750 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). |
afe33c03 | 751 | |
f77f03b8 | 752 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 |
362c6f99 | 753 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). |
afe33c03 | 754 | |
755 | %package dri-driver-ati-radeon-R200 | |
362c6f99 JB |
756 | Summary: X.org DRI driver for ATI R200 card family |
757 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
f4a8c5f6 | 758 | License: MIT |
18da5046 | 759 | Group: X11/Libraries |
83c21438 | 760 | Requires: xorg-driver-video-ati |
d70abe90 JB |
761 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
762 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 763 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 764 | |
765 | %description dri-driver-ati-radeon-R200 | |
362c6f99 | 766 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) |
afe33c03 | 767 | |
f77f03b8 | 768 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
362c6f99 | 769 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
afe33c03 | 770 | |
771 | %package dri-driver-ati-radeon-R300 | |
362c6f99 JB |
772 | Summary: X.org DRI driver for ATI R300 card family |
773 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
f4a8c5f6 | 774 | License: MIT |
18da5046 | 775 | Group: X11/Libraries |
83c21438 | 776 | Requires: xorg-driver-video-ati |
d70abe90 JB |
777 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
778 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 779 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 780 | |
781 | %description dri-driver-ati-radeon-R300 | |
04c3cb73 | 782 | X.org DRI driver for ATI R300/R400/RS690/R500 card family. |
afe33c03 | 783 | |
f77f03b8 | 784 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
04c3cb73 | 785 | Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500. |
afe33c03 | 786 | |
e68936d0 AM |
787 | %package dri-driver-ati-radeon-R600 |
788 | Summary: X.org DRI driver for ATI R600 card family | |
789 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
790 | License: MIT | |
791 | Group: X11/Libraries | |
792 | Requires: radeon-ucode | |
793 | Requires: xorg-driver-video-ati | |
794 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
795 | Requires: xorg-xserver-server >= %{xserver_ver} | |
796 | ||
797 | %description dri-driver-ati-radeon-R600 | |
04c3cb73 | 798 | X.org DRI driver for ATI R600/R700 card family. |
e68936d0 AM |
799 | |
800 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
04c3cb73 | 801 | Sterownik X.org DRI dla rodziny kart ATI R600/R700. |
e68936d0 | 802 | |
3dc87f1a AM |
803 | %package dri-driver-ati-radeon-SI |
804 | Summary: X.org DRI driver for ATI Southern Islands card family | |
805 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands | |
806 | License: MIT | |
807 | Group: X11/Libraries | |
808 | Requires: radeon-ucode | |
809 | Requires: xorg-driver-video-ati | |
810 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
811 | Requires: xorg-xserver-server >= %{xserver_ver} | |
812 | ||
813 | %description dri-driver-ati-radeon-SI | |
814 | X.org DRI driver for ATI Southern Islands card family. | |
815 | ||
816 | %description dri-driver-ati-radeon-SI -l pl.UTF-8 | |
817 | Sterownik X.org DRI dla rodziny kart ATI Southern Islands. | |
818 | ||
afe33c03 | 819 | %package dri-driver-intel-i915 |
362c6f99 JB |
820 | Summary: X.org DRI driver for Intel i915 card family |
821 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
f4a8c5f6 | 822 | License: MIT |
18da5046 | 823 | Group: X11/Libraries |
d70abe90 JB |
824 | Requires: xorg-driver-video-intel |
825 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
826 | Requires: xorg-xserver-server >= %{xserver_ver} | |
2db432a2 | 827 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 828 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 829 | |
830 | %description dri-driver-intel-i915 | |
04c3cb73 JB |
831 | X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35, |
832 | Pineview). | |
afe33c03 | 833 | |
f77f03b8 | 834 | %description dri-driver-intel-i915 -l pl.UTF-8 |
04c3cb73 JB |
835 | Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33, |
836 | Q35, Pineview). | |
afe33c03 | 837 | |
b360f4f6 | 838 | %package dri-driver-intel-i965 |
362c6f99 JB |
839 | Summary: X.org DRI driver for Intel i965 card family |
840 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
f4a8c5f6 | 841 | License: MIT |
b360f4f6 | 842 | Group: X11/Libraries |
d70abe90 JB |
843 | Requires: xorg-driver-video-intel |
844 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
845 | Requires: xorg-xserver-server >= %{xserver_ver} | |
b360f4f6 | 846 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 847 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 848 | |
849 | %description dri-driver-intel-i965 | |
04c3cb73 JB |
850 | X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM, |
851 | 965GME, GM45, G41, B43, Q45, G45); | |
b360f4f6 | 852 | |
f77f03b8 | 853 | %description dri-driver-intel-i965 -l pl.UTF-8 |
04c3cb73 JB |
854 | Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q, |
855 | 965GM, 965GME, GM45, G41, B43, Q45, G45). | |
b360f4f6 | 856 | |
3e88bc92 AM |
857 | %package dri-driver-nouveau |
858 | Summary: X.org DRI driver for NVIDIA card family | |
859 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
860 | License: MIT | |
861 | Group: X11/Libraries | |
862 | Requires: xorg-driver-video-nouveau | |
863 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
864 | Requires: xorg-xserver-server >= %{xserver_ver} | |
865 | ||
866 | %description dri-driver-nouveau | |
867 | X.org DRI drivers for NVIDIA card family. | |
868 | ||
869 | %description dri-driver-nouveau -l pl.UTF-8 | |
870 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
871 | ||
f3606317 | 872 | %package dri-driver-swrast |
362c6f99 JB |
873 | Summary: X.org DRI software rasterizer driver |
874 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
f3606317 AM |
875 | License: MIT |
876 | Group: X11/Libraries | |
d70abe90 JB |
877 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
878 | Requires: xorg-xserver-server >= %{xserver_ver} | |
f3606317 AM |
879 | |
880 | %description dri-driver-swrast | |
362c6f99 | 881 | X.org DRI software rasterizer driver. |
f3606317 AM |
882 | |
883 | %description dri-driver-swrast -l pl.UTF-8 | |
362c6f99 | 884 | Sterownik X.org DRI obsługujący rysowanie programowe. |
f3606317 | 885 | |
e68936d0 AM |
886 | %package dri-driver-vmwgfx |
887 | Summary: X.org DRI driver for VMware | |
888 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
889 | License: MIT | |
890 | Group: X11/Libraries | |
0f9ae6ae | 891 | Requires: xorg-driver-video-vmware |
e68936d0 AM |
892 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
893 | Requires: xorg-xserver-server >= %{xserver_ver} | |
894 | ||
895 | %description dri-driver-vmwgfx | |
896 | X.org DRI driver for VMWare. | |
897 | ||
898 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
899 | Sterownik X.org DRI dla VMware. | |
900 | ||
04c3cb73 JB |
901 | %package -n libvdpau-driver-mesa-nouveau |
902 | Summary: Mesa nouveau driver for the vdpau API | |
903 | Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau | |
9bfb354d AM |
904 | License: MIT |
905 | Group: X11/Libraries | |
8eb275e9 JB |
906 | Requires: libdrm >= %{libdrm_ver} |
907 | Requires: libvdpau >= 0.4.1 | |
04c3cb73 | 908 | Conflicts: libvdpau-driver-mesa |
9bfb354d | 909 | |
04c3cb73 JB |
910 | %description -n libvdpau-driver-mesa-nouveau |
911 | Mesa nouveau driver for the vdpau API. It supports NVidia adapters | |
912 | (NV40-NV96, NVa0). | |
9bfb354d | 913 | |
04c3cb73 JB |
914 | %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8 |
915 | Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia | |
916 | (NV40-NV96, NVa0). | |
9bfb354d | 917 | |
ebff9a35 AM |
918 | %package -n libvdpau-driver-mesa-r300 |
919 | Summary: Mesa r300 driver for the vdpau API | |
920 | Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau | |
921 | License: MIT | |
922 | Group: X11/Libraries | |
923 | Requires: libdrm >= %{libdrm_ver} | |
924 | Requires: libvdpau >= 0.4.1 | |
925 | Conflicts: libvdpau-driver-mesa | |
926 | ||
927 | %description -n libvdpau-driver-mesa-r300 | |
928 | Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters | |
929 | based on R300 chips. | |
930 | ||
931 | %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8 | |
932 | Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte | |
933 | na układach R300. | |
934 | ||
04c3cb73 JB |
935 | %package -n libvdpau-driver-mesa-r600 |
936 | Summary: Mesa r600 driver for the vdpau API | |
937 | Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau | |
938 | License: MIT | |
939 | Group: X11/Libraries | |
940 | Requires: libdrm >= %{libdrm_ver} | |
941 | Requires: libvdpau >= 0.4.1 | |
942 | Conflicts: libvdpau-driver-mesa | |
943 | ||
944 | %description -n libvdpau-driver-mesa-r600 | |
945 | Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters | |
946 | based on R600/R700 chips. | |
947 | ||
948 | %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8 | |
949 | Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte | |
950 | na układach R600/R700. | |
951 | ||
3dc87f1a AM |
952 | %package -n libvdpau-driver-mesa-radeonsi |
953 | Summary: Mesa radeonsi driver for the vdpau API | |
954 | Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau | |
955 | License: MIT | |
956 | Group: X11/Libraries | |
957 | Requires: libdrm >= %{libdrm_ver} | |
958 | Requires: libvdpau >= 0.4.1 | |
959 | Conflicts: libvdpau-driver-mesa | |
5b8e9162 | 960 | Obsoletes: Mesa-libllvmradeon |
3dc87f1a AM |
961 | |
962 | %description -n libvdpau-driver-mesa-radeonsi | |
0784ce78 JB |
963 | Mesa radeonsi driver for the vdpau API. It supports ATI Radeon |
964 | adapters based on Southern Islands chips. | |
3dc87f1a AM |
965 | |
966 | %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8 | |
0784ce78 JB |
967 | Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon |
968 | oparte na układach Southern Islands. | |
3dc87f1a | 969 | |
56313830 AM |
970 | %package -n omxil-mesa |
971 | Summary: Mesa driver for Bellagio OpenMAX IL API | |
972 | Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL | |
973 | License: MIT | |
974 | Group: X11/Libraries | |
975 | Requires: libdrm >= %{libdrm_ver} | |
976 | Requires: libxcb >= 1.8 | |
977 | Requires: libomxil-bellagio | |
c45391bc JB |
978 | Obsoletes: omxil-mesa-nouveau |
979 | Obsoletes: omxil-mesa-r600 | |
980 | Obsoletes: omxil-mesa-radeonsi | |
56313830 AM |
981 | |
982 | %description -n omxil-mesa | |
983 | Mesa driver for Bellagio OpenMAX IL API. | |
984 | ||
985 | %description -n omxil-mesa -l pl.UTF-8 | |
986 | Sterownik Mesa dla API Bellagio OpenMAX IL. | |
987 | ||
4bacd84c JB |
988 | %package -n omxil-mesa-nouveau |
989 | Summary: Mesa nouveau driver for Bellagio OpenMAX IL API | |
990 | Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL | |
991 | License: MIT | |
992 | Group: X11/Libraries | |
993 | Requires: libdrm >= %{libdrm_ver} | |
994 | Requires: libxcb >= 1.8 | |
995 | Requires: libomxil-bellagio | |
996 | ||
997 | %description -n omxil-mesa-nouveau | |
998 | Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia | |
999 | adapters (NV40-NV96, NVa0). | |
1000 | ||
1001 | %description -n omxil-mesa-nouveau -l pl.UTF-8 | |
1002 | Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty | |
1003 | NVidia (NV40-NV96, NVa0). | |
1004 | ||
1005 | %package -n omxil-mesa-r600 | |
1006 | Summary: Mesa r600 driver for Bellagio OpenMAX IL API | |
1007 | Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL | |
1008 | License: MIT | |
1009 | Group: X11/Libraries | |
1010 | Requires: libdrm >= %{libdrm_ver} | |
1011 | Requires: libxcb >= 1.8 | |
1012 | Requires: libomxil-bellagio | |
1013 | ||
1014 | %description -n omxil-mesa-r600 | |
1015 | Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon | |
1016 | adapters based on R600/R700 chips. | |
1017 | ||
1018 | %description -n omxil-mesa-r600 -l pl.UTF-8 | |
1019 | Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI | |
1020 | Radeon oparte na układach R600/R700. | |
1021 | ||
1022 | %package -n omxil-mesa-radeonsi | |
1023 | Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API | |
1024 | Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL | |
1025 | License: MIT | |
1026 | Group: X11/Libraries | |
1027 | Requires: libdrm >= %{libdrm_ver} | |
1028 | Requires: libxcb >= 1.8 | |
1029 | Requires: libomxil-bellagio | |
1030 | ||
1031 | %description -n omxil-mesa-radeonsi | |
1032 | Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI | |
1033 | Radeon adapters based on Southern Islands chips. | |
1034 | ||
1035 | %description -n omxil-mesa-radeonsi -l pl.UTF-8 | |
1036 | Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty | |
1037 | ATI Radeon oparte na układach Southern Islands. | |
1038 | ||
a0b2836a | 1039 | %prep |
5853b3ab | 1040 | %setup -q |
4db28b99 | 1041 | %patch0 -p1 |
a0b2836a | 1042 | |
1043 | %build | |
5853b3ab JB |
1044 | %{__libtoolize} |
1045 | %{__aclocal} -I m4 | |
bb686270 | 1046 | %{__autoconf} |
5853b3ab | 1047 | %{__automake} |
a5afae62 | 1048 | |
9bfb354d | 1049 | dri_drivers="r200 radeon \ |
8060076f | 1050 | %if %{without gallium_intel} |
04c3cb73 | 1051 | i915 \ |
a5afae62 | 1052 | %endif |
d9ca63e3 JB |
1053 | i965 \ |
1054 | nouveau \ | |
59f12de8 AM |
1055 | %ifarch sparc sparcv9 sparc64 |
1056 | ffb \ | |
6299b3cd | 1057 | %endif |
9bfb354d | 1058 | swrast" |
59f12de8 AM |
1059 | |
1060 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
1061 | ||
c1d2b5e2 AM |
1062 | gallium_drivers="svga swrast \ |
1063 | %if %{with gallium_intel} | |
1064 | i915 \ | |
c1d2b5e2 | 1065 | %endif |
56313830 | 1066 | %if %{with gallium_radeon} |
b8e6b6d7 | 1067 | r300 \ |
c1d2b5e2 | 1068 | r600 \ |
700470bd | 1069 | radeonsi \ |
56313830 | 1070 | %endif |
45300693 | 1071 | %if %{with gallium_nouveau} |
0784ce78 | 1072 | nouveau |
c1d2b5e2 AM |
1073 | %endif |
1074 | " | |
1075 | ||
1076 | gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',') | |
1077 | ||
700470bd | 1078 | %configure \ |
4799b78a | 1079 | --disable-silent-rules \ |
9bfb354d | 1080 | --enable-shared \ |
b4a5c074 | 1081 | --enable-glx-tls \ |
c885f99e JB |
1082 | --enable-selinux \ |
1083 | %{?with_static_libs:--enable-static} \ | |
9bfb354d | 1084 | %{__enable gbm} \ |
700470bd | 1085 | --enable-osmesa \ |
f566cdfa | 1086 | --enable-shared-glapi \ |
c885f99e JB |
1087 | %if %{with egl} |
1088 | --enable-egl \ | |
1089 | --enable-gles1 \ | |
1090 | --enable-gles2 \ | |
24b30bc6 | 1091 | --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \ |
c885f99e | 1092 | %endif |
5f574b4b | 1093 | %if %{with gallium} |
9bfb354d | 1094 | --enable-gallium-llvm \ |
2fc49cce | 1095 | --enable-llvm-shared-libs \ |
9bfb354d AM |
1096 | %{__enable egl gallium-egl} \ |
1097 | %{__enable gbm gallium-gbm} \ | |
ff879d59 JK |
1098 | %{__enable ocl_icd opencl-icd} \ |
1099 | %{__enable opencl opencl} \ | |
ebff9a35 | 1100 | %{?with_egl:%{?with_openvg:--enable-openvg}} \ |
9bfb354d | 1101 | --enable-vdpau \ |
4bacd84c | 1102 | %{?with_omx:--enable-omx} \ |
a651d613 | 1103 | %{?with_xa:--enable-xa} \ |
9bfb354d | 1104 | --enable-xvmc \ |
c1d2b5e2 | 1105 | --with-gallium-drivers=${gallium_drivers} \ |
5f574b4b | 1106 | %else |
5eb992a8 | 1107 | --without-gallium-drivers \ |
5f574b4b | 1108 | %endif |
ebff9a35 | 1109 | --with-va-libdir=%{_libdir}/libva/dri \ |
59f12de8 AM |
1110 | --with-dri-drivers=${dri_drivers} \ |
1111 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
1112 | ||
1113 | %{__make} | |
59f12de8 | 1114 | |
34f695f1 AM |
1115 | %{?with_tests:%{__make} check} |
1116 | ||
a0b2836a | 1117 | %install |
f5543b17 | 1118 | rm -rf $RPM_BUILD_ROOT |
ddde5931 | 1119 | |
59f12de8 AM |
1120 | %{__make} install \ |
1121 | DESTDIR=$RPM_BUILD_ROOT | |
ddde5931 | 1122 | |
59f12de8 | 1123 | # strip out undesirable headers |
46cee963 | 1124 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h |
80fb8e4d | 1125 | # dlopened by soname |
e22d206b JR |
1126 | %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so} |
1127 | %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0} | |
c45391bc | 1128 | # dlopened by soname or .so link |
e22d206b | 1129 | %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0} |
c7f22387 | 1130 | # not used externally |
0d8bac2a | 1131 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so |
1cd368bc | 1132 | # dlopened |
4bacd84c | 1133 | %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la} |
e22d206b | 1134 | %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la} |
1cd368bc JB |
1135 | # not defined by standards; and not needed, there is pkg-config support |
1136 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
ebff9a35 | 1137 | %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la} |
c1d2b5e2 | 1138 | |
f56e1323 JR |
1139 | # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx), |
1140 | # set up via /etc/ld.so.conf.d/*.conf will be preferred over this | |
1141 | strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.* | |
1142 | ||
abc9e15f JB |
1143 | %clean |
1144 | rm -rf $RPM_BUILD_ROOT | |
1145 | ||
bb686270 AM |
1146 | %post libEGL -p /sbin/ldconfig |
1147 | %postun libEGL -p /sbin/ldconfig | |
1148 | ||
f445ed6c JB |
1149 | %post libGL -p /sbin/ldconfig |
1150 | %postun libGL -p /sbin/ldconfig | |
1151 | ||
c1d2b5e2 AM |
1152 | %post libGLES -p /sbin/ldconfig |
1153 | %postun libGLES -p /sbin/ldconfig | |
1154 | ||
c1d2b5e2 AM |
1155 | %post libOSMesa -p /sbin/ldconfig |
1156 | %postun libOSMesa -p /sbin/ldconfig | |
1157 | ||
e5bc9334 JB |
1158 | %post libOpenCL -p /sbin/ldconfig |
1159 | %postun libOpenCL -p /sbin/ldconfig | |
1160 | ||
c1d2b5e2 AM |
1161 | %post libOpenVG -p /sbin/ldconfig |
1162 | %postun libOpenVG -p /sbin/ldconfig | |
1163 | ||
04c3cb73 JB |
1164 | %post libXvMC-nouveau -p /sbin/ldconfig |
1165 | %postun libXvMC-nouveau -p /sbin/ldconfig | |
04c3cb73 JB |
1166 | %post libXvMC-r600 -p /sbin/ldconfig |
1167 | %postun libXvMC-r600 -p /sbin/ldconfig | |
9bfb354d | 1168 | |
d3cd778a JB |
1169 | %post libgbm -p /sbin/ldconfig |
1170 | %postun libgbm -p /sbin/ldconfig | |
1171 | ||
c7f22387 JB |
1172 | %post libglapi -p /sbin/ldconfig |
1173 | %postun libglapi -p /sbin/ldconfig | |
1174 | ||
24b30bc6 JB |
1175 | %post libwayland-egl -p /sbin/ldconfig |
1176 | %postun libwayland-egl -p /sbin/ldconfig | |
1177 | ||
a651d613 JB |
1178 | %post libxatracker -p /sbin/ldconfig |
1179 | %postun libxatracker -p /sbin/ldconfig | |
1180 | ||
bb686270 AM |
1181 | %if %{with egl} |
1182 | %files libEGL | |
1183 | %defattr(644,root,root,755) | |
1184 | %attr(755,root,root) %{_libdir}/libEGL.so.*.* | |
c794b508 | 1185 | %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1 |
bb686270 AM |
1186 | |
1187 | %files libEGL-devel | |
1188 | %defattr(644,root,root,755) | |
1189 | %attr(755,root,root) %{_libdir}/libEGL.so | |
bb686270 AM |
1190 | %dir %{_includedir}/EGL |
1191 | %{_includedir}/EGL/egl.h | |
1192 | %{_includedir}/EGL/eglext.h | |
56313830 | 1193 | %{_includedir}/EGL/eglextchromium.h |
9bfb354d | 1194 | %{_includedir}/EGL/eglmesaext.h |
bb686270 | 1195 | %{_includedir}/EGL/eglplatform.h |
bb686270 AM |
1196 | %{_pkgconfigdir}/egl.pc |
1197 | ||
c885f99e | 1198 | %if %{with static_libs} |
bb686270 AM |
1199 | %files libEGL-static |
1200 | %defattr(644,root,root,755) | |
1201 | %{_libdir}/libEGL.a | |
1202 | %endif | |
1203 | %endif | |
1204 | ||
f445ed6c | 1205 | %files libGL |
e9b3ff7a | 1206 | %defattr(644,root,root,755) |
a468d1b0 | 1207 | %doc docs/{*.html,README.UVD,relnotes/*.html} |
9b0e6ebb JB |
1208 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
1209 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
0cb33a09 | 1210 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
bf8d2f73 | 1211 | # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL) |
0cb33a09 | 1212 | %attr(755,root,root) %{_libdir}/libGL.so |
0d8bac2a | 1213 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc |
a0b2836a | 1214 | |
f445ed6c | 1215 | %files libGL-devel |
e9b3ff7a | 1216 | %defattr(644,root,root,755) |
5b8e9162 | 1217 | %doc docs/specs/* |
debcd977 | 1218 | %dir %{_includedir}/GL |
d3dd48bf | 1219 | %{_includedir}/GL/gl.h |
56313830 | 1220 | %{_includedir}/GL/glcorearb.h |
e1833810 | 1221 | %{_includedir}/GL/glext.h |
d3dd48bf | 1222 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 1223 | %{_includedir}/GL/glx.h |
abc9e15f | 1224 | %{_includedir}/GL/glxext.h |
d3dd48bf | 1225 | %{_includedir}/GL/glx_mangle.h |
1ec0796e AM |
1226 | %dir %{_includedir}/GL/internal |
1227 | %{_includedir}/GL/internal/dri_interface.h | |
59f12de8 | 1228 | %{_pkgconfigdir}/dri.pc |
f4a8c5f6 | 1229 | %{_pkgconfigdir}/gl.pc |
a0b2836a | 1230 | |
c885f99e | 1231 | %if %{with static_libs} |
278406ce JB |
1232 | %files libGL-static |
1233 | %defattr(644,root,root,755) | |
1234 | %{_libdir}/libGL.a | |
1235 | %endif | |
1236 | ||
c1d2b5e2 AM |
1237 | %files libGLES |
1238 | %defattr(644,root,root,755) | |
cc59a107 JB |
1239 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.* |
1240 | %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1 | |
1241 | %attr(755,root,root) %{_libdir}/libGLESv2.so.*.* | |
1242 | %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2 | |
c1d2b5e2 AM |
1243 | |
1244 | %files libGLES-devel | |
1245 | %defattr(644,root,root,755) | |
cc59a107 JB |
1246 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so |
1247 | %attr(755,root,root) %{_libdir}/libGLESv2.so | |
c1d2b5e2 AM |
1248 | %{_includedir}/GLES |
1249 | %{_includedir}/GLES2 | |
46cee963 | 1250 | %{_includedir}/GLES3 |
cc59a107 JB |
1251 | %{_pkgconfigdir}/glesv1_cm.pc |
1252 | %{_pkgconfigdir}/glesv2.pc | |
c1d2b5e2 | 1253 | |
f4a8c5f6 JB |
1254 | %files libOSMesa |
1255 | %defattr(644,root,root,755) | |
cc59a107 | 1256 | %attr(755,root,root) %{_libdir}/libOSMesa.so.*.* |
9bfb354d | 1257 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8 |
f4a8c5f6 JB |
1258 | |
1259 | %files libOSMesa-devel | |
1260 | %defattr(644,root,root,755) | |
cc59a107 | 1261 | %attr(755,root,root) %{_libdir}/libOSMesa.so |
f4a8c5f6 | 1262 | %{_includedir}/GL/osmesa.h |
bf8d2f73 | 1263 | %{_pkgconfigdir}/osmesa.pc |
f4a8c5f6 | 1264 | |
c885f99e | 1265 | %if %{with static_libs} |
f4a8c5f6 JB |
1266 | %files libOSMesa-static |
1267 | %defattr(644,root,root,755) | |
cc59a107 | 1268 | %{_libdir}/libOSMesa.a |
59f12de8 | 1269 | %endif |
f4a8c5f6 | 1270 | |
e5bc9334 | 1271 | %if %{with opencl} |
ff879d59 JK |
1272 | %if %{with ocl_icd} |
1273 | %files OpenCL-icd | |
1274 | %defattr(644,root,root,755) | |
1275 | /etc/OpenCL/vendors/mesa.icd | |
1276 | %attr(755,root,root) %{_libdir}/libMesaOpenCL.so | |
1277 | %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.* | |
1278 | %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1 | |
1279 | %else | |
e5bc9334 JB |
1280 | %files libOpenCL |
1281 | %defattr(644,root,root,755) | |
1282 | %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.* | |
1283 | %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1 | |
e5bc9334 JB |
1284 | |
1285 | %files libOpenCL-devel | |
1286 | %defattr(644,root,root,755) | |
1287 | %attr(755,root,root) %{_libdir}/libOpenCL.so | |
1288 | %{_includedir}/CL | |
e5bc9334 | 1289 | %endif |
ff879d59 | 1290 | %endif |
e5bc9334 | 1291 | |
ebff9a35 | 1292 | %if %{with egl} && %{with openvg} && %{with gallium} |
c1d2b5e2 AM |
1293 | %files libOpenVG |
1294 | %defattr(644,root,root,755) | |
cc59a107 | 1295 | %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.* |
278406ce | 1296 | %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1 |
c1d2b5e2 AM |
1297 | |
1298 | %files libOpenVG-devel | |
1299 | %defattr(644,root,root,755) | |
278406ce | 1300 | %attr(755,root,root) %{_libdir}/libOpenVG.so |
c1d2b5e2 | 1301 | %{_includedir}/VG |
c1d2b5e2 AM |
1302 | %{_pkgconfigdir}/vg.pc |
1303 | %endif | |
1304 | ||
c3f739d4 | 1305 | %if %{with gallium} |
80fb8e4d | 1306 | %if %{with gallium_nouveau} |
04c3cb73 | 1307 | %files libXvMC-nouveau |
875da849 | 1308 | %defattr(644,root,root,755) |
46cee963 | 1309 | %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0 |
04c3cb73 | 1310 | %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1 |
80fb8e4d | 1311 | %endif |
04c3cb73 | 1312 | |
56313830 | 1313 | %if %{with gallium_radeon} |
04c3cb73 JB |
1314 | %files libXvMC-r600 |
1315 | %defattr(644,root,root,755) | |
46cee963 | 1316 | %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0 |
04c3cb73 | 1317 | %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1 |
c3f739d4 | 1318 | %endif |
ebff9a35 AM |
1319 | |
1320 | %files -n libva-driver-gallium | |
1321 | %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so | |
56313830 | 1322 | %endif |
afe33c03 | 1323 | |
d3cd778a JB |
1324 | %if %{with gbm} |
1325 | %files libgbm | |
1326 | %defattr(644,root,root,755) | |
1327 | %attr(755,root,root) %{_libdir}/libgbm.so.*.* | |
1328 | %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1 | |
1329 | %if %{with gallium} | |
deb41977 | 1330 | %dir %{_libdir}/gallium-pipe |
ebff9a35 AM |
1331 | %if %{with openvg} |
1332 | %dir %{_libdir}/gbm | |
d3cd778a JB |
1333 | %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so |
1334 | %endif | |
ebff9a35 | 1335 | %endif |
d3cd778a JB |
1336 | |
1337 | %files libgbm-devel | |
1338 | %defattr(644,root,root,755) | |
1339 | %attr(755,root,root) %{_libdir}/libgbm.so | |
1340 | %{_includedir}/gbm.h | |
1341 | %{_pkgconfigdir}/gbm.pc | |
1342 | %endif | |
1343 | ||
1344 | %if %{with gallium} | |
1345 | %if %{with gallium_intel} | |
1346 | %files gbm-driver-i915 | |
1347 | %defattr(644,root,root,755) | |
deb41977 | 1348 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so |
d3cd778a JB |
1349 | %endif |
1350 | ||
1351 | %if %{with gallium_nouveau} | |
1352 | %files gbm-driver-nouveau | |
1353 | %defattr(644,root,root,755) | |
deb41977 | 1354 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so |
d3cd778a JB |
1355 | %endif |
1356 | ||
56313830 | 1357 | %if %{with gallium_radeon} |
d3cd778a JB |
1358 | %files gbm-driver-r300 |
1359 | %defattr(644,root,root,755) | |
deb41977 | 1360 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so |
d3cd778a JB |
1361 | |
1362 | %files gbm-driver-r600 | |
1363 | %defattr(644,root,root,755) | |
deb41977 | 1364 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so |
d3cd778a | 1365 | |
3dc87f1a AM |
1366 | %files gbm-driver-radeonsi |
1367 | %defattr(644,root,root,755) | |
deb41977 | 1368 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so |
56313830 | 1369 | %endif |
3dc87f1a | 1370 | |
e5bc9334 JB |
1371 | %files gbm-driver-swrast |
1372 | %defattr(644,root,root,755) | |
deb41977 | 1373 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so |
e5bc9334 | 1374 | |
d3cd778a JB |
1375 | %files gbm-driver-vmwgfx |
1376 | %defattr(644,root,root,755) | |
deb41977 | 1377 | %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so |
d3cd778a JB |
1378 | %endif |
1379 | ||
c7f22387 JB |
1380 | %files libglapi |
1381 | %defattr(644,root,root,755) | |
1382 | %attr(755,root,root) %{_libdir}/libglapi.so.*.* | |
1383 | %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0 | |
1384 | # libglapi-devel? nothing seems to need it atm. | |
1385 | #%attr(755,root,root) %{_libdir}/libglapi.so | |
1386 | ||
24b30bc6 JB |
1387 | %if %{with wayland} |
1388 | %files libwayland-egl | |
1389 | %defattr(644,root,root,755) | |
1390 | %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.* | |
1391 | %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1 | |
1392 | ||
1393 | %files libwayland-egl-devel | |
1394 | %defattr(644,root,root,755) | |
1395 | %attr(755,root,root) %{_libdir}/libwayland-egl.so | |
1396 | %{_pkgconfigdir}/wayland-egl.pc | |
1397 | %endif | |
1398 | ||
a651d613 JB |
1399 | %if %{with xa} |
1400 | %files libxatracker | |
1401 | %defattr(644,root,root,755) | |
1402 | %attr(755,root,root) %{_libdir}/libxatracker.so.*.* | |
0d8bac2a | 1403 | %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2 |
a651d613 JB |
1404 | |
1405 | %files libxatracker-devel | |
1406 | %defattr(644,root,root,755) | |
1407 | %attr(755,root,root) %{_libdir}/libxatracker.so | |
1408 | %{_includedir}/xa_composite.h | |
1409 | %{_includedir}/xa_context.h | |
1410 | %{_includedir}/xa_tracker.h | |
1411 | %{_pkgconfigdir}/xatracker.pc | |
1412 | %endif | |
1413 | ||
166bc93f JB |
1414 | %if %{with egl} |
1415 | %files khrplatform-devel | |
1416 | %defattr(644,root,root,755) | |
1417 | %dir %{_includedir}/KHR | |
1418 | %{_includedir}/KHR/khrplatform.h | |
1419 | %endif | |
1420 | ||
afe33c03 | 1421 | %files dri-driver-ati-radeon-R100 |
1422 | %defattr(644,root,root,755) | |
1423 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
1424 | ||
1425 | %files dri-driver-ati-radeon-R200 | |
1426 | %defattr(644,root,root,755) | |
1427 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
1428 | ||
c3f739d4 | 1429 | %if %{with gallium} |
56313830 | 1430 | %if %{with gallium_radeon} |
afe33c03 | 1431 | %files dri-driver-ati-radeon-R300 |
1432 | %defattr(644,root,root,755) | |
1433 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
1434 | ||
e68936d0 AM |
1435 | %files dri-driver-ati-radeon-R600 |
1436 | %defattr(644,root,root,755) | |
1437 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
1438 | ||
3dc87f1a AM |
1439 | %files dri-driver-ati-radeon-SI |
1440 | %defattr(644,root,root,755) | |
1441 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so | |
56313830 AM |
1442 | %endif |
1443 | %endif | |
3dc87f1a | 1444 | |
afe33c03 | 1445 | %files dri-driver-intel-i915 |
1446 | %defattr(644,root,root,755) | |
5f574b4b | 1447 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
afe33c03 | 1448 | |
b360f4f6 | 1449 | %files dri-driver-intel-i965 |
1450 | %defattr(644,root,root,755) | |
1451 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
1452 | ||
3e88bc92 AM |
1453 | %files dri-driver-nouveau |
1454 | %defattr(644,root,root,755) | |
5b103bd4 JB |
1455 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so |
1456 | %if %{with gallium_nouveau} | |
3e88bc92 | 1457 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so |
a7a3223c | 1458 | %endif |
3e88bc92 | 1459 | |
f3606317 AM |
1460 | %files dri-driver-swrast |
1461 | %defattr(644,root,root,755) | |
e22d206b | 1462 | %if %{with gallium} |
56313830 | 1463 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so |
e22d206b | 1464 | %endif |
f3606317 AM |
1465 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so |
1466 | ||
bb5f0825 | 1467 | %if %{with gallium} |
e68936d0 AM |
1468 | %files dri-driver-vmwgfx |
1469 | %defattr(644,root,root,755) | |
9c4e4073 | 1470 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so |
bb5f0825 | 1471 | %endif |
9bfb354d | 1472 | |
c3f739d4 | 1473 | %if %{with gallium} |
04c3cb73 JB |
1474 | # ldconfig is not used in vdpau tree, so package all symlinks |
1475 | %if %{with gallium_nouveau} | |
1476 | %files -n libvdpau-driver-mesa-nouveau | |
1477 | %defattr(644,root,root,755) | |
46cee963 | 1478 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0 |
04c3cb73 JB |
1479 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1 |
1480 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so | |
1481 | %endif | |
1482 | ||
56313830 | 1483 | %if %{with gallium_radeon} |
ebff9a35 AM |
1484 | %files -n libvdpau-driver-mesa-r300 |
1485 | %defattr(644,root,root,755) | |
1486 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0 | |
1487 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1 | |
1488 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so | |
1489 | ||
04c3cb73 JB |
1490 | %files -n libvdpau-driver-mesa-r600 |
1491 | %defattr(644,root,root,755) | |
46cee963 | 1492 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0 |
9bfb354d AM |
1493 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1 |
1494 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so | |
04c3cb73 | 1495 | |
3dc87f1a AM |
1496 | %files -n libvdpau-driver-mesa-radeonsi |
1497 | %defattr(644,root,root,755) | |
46cee963 | 1498 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0 |
3dc87f1a AM |
1499 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1 |
1500 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so | |
c3f739d4 | 1501 | %endif |
56313830 | 1502 | %endif |
4bacd84c JB |
1503 | |
1504 | %if %{with gallium} && %{with omx} | |
56313830 AM |
1505 | %files -n omxil-mesa |
1506 | %defattr(644,root,root,755) | |
1507 | %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so | |
56313830 | 1508 | %endif |