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