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