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