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