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