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