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