]>
Commit | Line | Data |
---|---|---|
e1833810 | 1 | # |
0cb33a09 | 2 | # TODO: |
0e4c97b7 | 3 | # - subpackage with non-dri libGL for use with X-servers with missing GLX extension? |
59f12de8 | 4 | # - resurrect static if it's useful |
cb97a1c3 | 5 | # - subpackage egl? |
0cb33a09 | 6 | # |
6299b3cd | 7 | # Conditional build: |
ffba1d32 | 8 | %bcond_without demos # don't build demos |
cb97a1c3 BZ |
9 | %bcond_with egl # don't build egl |
10 | %bcond_without gallium # don't build gallium | |
8060076f | 11 | %bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX) |
f290281d | 12 | %bcond_with gallium_nouveau # doesn't build due to libdrm API changes (fixed in Mesa 7.8) |
cb97a1c3 | 13 | %bcond_without motif # build static libGLw without Motif interface |
5818e6f7 | 14 | %bcond_with multigl # package libGL in a way allowing concurrent install with nvidia/fglrx drivers |
cb97a1c3 | 15 | %bcond_without osmesa # don't build osmesa |
59f12de8 | 16 | %bcond_with static |
d70abe90 JB |
17 | # |
18 | # minimal supported xserver version | |
19 | %define xserver_ver 1.5.0 | |
20 | # glapi version (glapi tables in dri drivers and libglx must be in sync); | |
21 | # set to current Mesa version on ABI break, when xserver tables get regenerated | |
22 | # (until they start to be somehow versioned themselves) | |
57ae29d5 | 23 | %define glapi_ver 7.1.0 |
797c6091 | 24 | # |
41aca213 | 25 | %define libdrm_ver 2.4.18 |
26 | %define dri2proto_ver 1.99.3 | |
27 | # | |
e1833810 | 28 | Summary: Free OpenGL implementation |
54181d82 | 29 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL |
e9b3ff7a | 30 | Name: Mesa |
e68936d0 | 31 | Version: 7.7 |
f290281d | 32 | Release: 3%{?with_multigl:.mgl} |
f4a8c5f6 | 33 | License: MIT (core), SGI (GLU,libGLw) and others - see license.html file |
e9b3ff7a | 34 | Group: X11/Libraries |
b1c69d57 AM |
35 | Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2 |
36 | # Source0-md5: e3fa64a1508bc23dd9de9dd2cea7cfb1 | |
37 | Source1: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Demos-%{version}.tar.bz2 | |
38 | # Source1-md5: 6fd616b27b9826d0faa23e08e05d9435 | |
6f53c8ab | 39 | Patch0: %{name}-realclean.patch |
0826bfd3 | 40 | Patch1: %{name}-tgsi_dump.patch |
50e22bbf | 41 | URL: http://www.mesa3d.org/ |
985e9624 | 42 | %{?with_demos:BuildRequires: OpenGL-glut-devel >= 3.8} |
a6c5fc6c | 43 | BuildRequires: autoconf |
44 | BuildRequires: automake | |
0cb33a09 | 45 | BuildRequires: expat-devel |
ffba1d32 | 46 | %{?with_demos:BuildRequires: glew-devel} |
41aca213 | 47 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
59f12de8 | 48 | BuildRequires: libselinux-devel |
276baaf9 | 49 | BuildRequires: libstdc++-devel |
6b372055 | 50 | BuildRequires: libtool >= 2:1.4d |
276baaf9 | 51 | %{?with_motif:BuildRequires: motif-devel} |
a6c5fc6c | 52 | BuildRequires: pkgconfig |
7eda8496 | 53 | BuildRequires: python |
f6afd89c | 54 | BuildRequires: rpmbuild(macros) >= 1.470 |
7cbe00f8 | 55 | BuildRequires: sed >= 4.0 |
cd8f367a | 56 | BuildRequires: xorg-lib-libXdamage-devel |
994fa6a5 | 57 | BuildRequires: xorg-lib-libXext-devel >= 1.0.5 |
1b597036 | 58 | BuildRequires: xorg-lib-libXt-devel |
9850656e | 59 | BuildRequires: xorg-lib-libXxf86vm-devel |
41aca213 | 60 | BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} |
9850656e | 61 | BuildRequires: xorg-proto-glproto-devel |
b69521a3 | 62 | BuildRequires: xorg-proto-printproto-devel |
9850656e | 63 | BuildRequires: xorg-util-makedepend |
ddde5931 | 64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a0b2836a | 65 | |
8060076f AM |
66 | %if %{without gallium} |
67 | %undefine with_gallium_intel | |
68 | %endif | |
69 | ||
a0b2836a | 70 | %description |
a70fde83 | 71 | Mesa is a 3-D graphics library with an API which is very similar to |
a5e5e963 | 72 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command |
a70fde83 | 73 | syntax or state machine, it is being used with authorization from |
a5e5e963 JB |
74 | Silicon Graphics, Inc. However, the author does not possess an OpenGL |
75 | license from SGI, and makes no claim that Mesa is in any way a | |
76 | compatible replacement for OpenGL or associated with SGI. | |
a0b2836a | 77 | |
f77f03b8 JR |
78 | %description -l pl.UTF-8 |
79 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
80 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
81 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
82 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
83 | OpenGL ani powiązana z SGI. | |
a0b2836a | 84 | |
f445ed6c JB |
85 | %package libGL |
86 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
54181d82 | 87 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL |
f445ed6c JB |
88 | License: MIT |
89 | Group: X11/Libraries | |
38a2434c | 90 | Requires: libdrm >= %{libdrm_ver} |
237cb2a3 | 91 | Provides: OpenGL = 2.1 |
f445ed6c JB |
92 | # reports version 1.3, but supports glXGetProcAddress() from 1.4 |
93 | Provides: OpenGL-GLX = 1.4 | |
b7a76370 | 94 | Obsoletes: Mesa |
884f6d35 | 95 | Obsoletes: Mesa-dri |
b18f0f46 AM |
96 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 |
97 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
f445ed6c JB |
98 | |
99 | %description libGL | |
100 | Mesa is a 3-D graphics library with an API which is very similar to | |
101 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
102 | syntax or state machine, it is being used with authorization from | |
103 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
104 | license from SGI, and makes no claim that Mesa is in any way a | |
105 | compatible replacement for OpenGL or associated with SGI. | |
106 | ||
107 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
108 | specifications. It uses DRI for rendering. | |
109 | ||
f77f03b8 JR |
110 | %description libGL -l pl.UTF-8 |
111 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
112 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
113 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
114 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
115 | OpenGL ani powiązana z SGI. | |
f445ed6c | 116 | |
f77f03b8 JR |
117 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz |
118 | GLX 1.4. Używa DRI do renderowania. | |
f445ed6c JB |
119 | |
120 | %package libGL-devel | |
121 | Summary: Header files for Mesa3D libGL library | |
54181d82 | 122 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D |
f445ed6c JB |
123 | License: MIT |
124 | Group: X11/Development/Libraries | |
125 | # loose dependency on libGL to use with other libGL binaries | |
126 | Requires: OpenGL >= 1.5 | |
41aca213 | 127 | Requires: libdrm-devel >= %{libdrm_ver} |
875da849 | 128 | Requires: xorg-lib-libX11-devel |
9489410a | 129 | Requires: xorg-lib-libXdamage-devel |
130 | Requires: xorg-lib-libXext-devel | |
41aca213 | 131 | Requires: xorg-lib-libXxf86vm-devel |
132 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
e261c0c1 | 133 | Suggests: OpenGL-doc-man |
6299b3cd | 134 | Provides: OpenGL-GLX-devel = 1.4 |
3e88bc92 | 135 | Provides: OpenGL-devel = 2.1 |
f445ed6c | 136 | Obsoletes: Mesa-devel |
b18f0f46 AM |
137 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 |
138 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
139 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
140 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
a0b2836a | 141 | |
f445ed6c JB |
142 | %description libGL-devel |
143 | Header files for Mesa3D libGL library. | |
a0b2836a | 144 | |
f77f03b8 JR |
145 | %description libGL-devel -l pl.UTF-8 |
146 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
e31e9d24 | 147 | |
f445ed6c JB |
148 | %package libGL-static |
149 | Summary: Static Mesa3D libGL library | |
54181d82 | 150 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D |
f445ed6c JB |
151 | License: MIT |
152 | Group: X11/Development/Libraries | |
153 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
237cb2a3 | 154 | Provides: OpenGL-static = 2.1 |
f445ed6c | 155 | Obsoletes: Mesa-static |
b18f0f46 AM |
156 | Obsoletes: X11-OpenGL-static < 1:7.0.0 |
157 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
f445ed6c JB |
158 | |
159 | %description libGL-static | |
160 | Static Mesa3D libGL library. It uses software renderer. | |
161 | ||
f77f03b8 JR |
162 | %description libGL-static -l pl.UTF-8 |
163 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
f445ed6c JB |
164 | renderingu. |
165 | ||
166 | %package libGLU | |
167 | Summary: SGI implementation of libGLU OpenGL library | |
54181d82 | 168 | Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL |
9ae30a4c | 169 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
170 | Group: Libraries |
171 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
172 | Requires: OpenGL >= 1.2 | |
173 | Provides: OpenGL-GLU = 1.3 | |
174 | Obsoletes: Mesa-devel | |
b18f0f46 AM |
175 | Obsoletes: X11-OpenGL-libs < 1:7.0.0 |
176 | Obsoletes: XFree86-OpenGL-libs < 1:7.0.0 | |
f445ed6c JB |
177 | |
178 | %description libGLU | |
179 | SGI implementation of libGLU OpenGL library. It implements OpenGL GLU | |
180 | 1.3 specifications. | |
181 | ||
f77f03b8 | 182 | %description libGLU -l pl.UTF-8 |
f445ed6c | 183 | Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje |
f77f03b8 | 184 | specyfikację OpenGL GLU 1.3. |
f445ed6c JB |
185 | |
186 | %package libGLU-devel | |
187 | Summary: Header files for SGI libGLU library | |
54181d82 | 188 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU |
9ae30a4c | 189 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
190 | Group: Development/Libraries |
191 | Requires: %{name}-libGLU = %{version}-%{release} | |
192 | Requires: OpenGL-devel >= 1.2 | |
193 | Requires: libstdc++-devel | |
194 | Provides: OpenGL-GLU-devel = 1.3 | |
195 | ||
196 | %description libGLU-devel | |
197 | Header files for SGI libGLU library. | |
198 | ||
f77f03b8 JR |
199 | %description libGLU-devel -l pl.UTF-8 |
200 | Pliki nagłówkowe biblioteki SGI libGLU. | |
f445ed6c JB |
201 | |
202 | %package libGLU-static | |
203 | Summary: Static SGI libGLU library | |
54181d82 | 204 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU |
9ae30a4c | 205 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
206 | Group: Development/Libraries |
207 | Requires: %{name}-libGLU-devel = %{version}-%{release} | |
6299b3cd | 208 | Provides: OpenGL-GLU-static = 1.3 |
e31e9d24 | 209 | |
f445ed6c JB |
210 | %description libGLU-static |
211 | Static SGI libGLU library. | |
212 | ||
f77f03b8 | 213 | %description libGLU-static -l pl.UTF-8 |
f445ed6c JB |
214 | Statyczna biblioteka SGI libGLU. |
215 | ||
216 | %package libGLw | |
217 | Summary: SGI OpenGL Xt widgets library | |
54181d82 | 218 | Summary(pl.UTF-8): Biblioteka SGI widgetów Xt dla OpenGL-a |
f445ed6c JB |
219 | License: SGI MIT-like |
220 | Group: Libraries | |
221 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
222 | Requires: OpenGL >= 1.1 | |
223 | Provides: OpenGL-GLw | |
224 | ||
225 | %description libGLw | |
226 | SGI OpenGL Xt widgets library. | |
227 | ||
f77f03b8 JR |
228 | %description libGLU -l pl.UTF-8 |
229 | Biblioteka SGI widgetów Xt dla OpenGL-a. | |
f445ed6c JB |
230 | |
231 | %package libGLw-devel | |
232 | Summary: Header files for SGI libGLw library | |
54181d82 | 233 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLw |
f4a8c5f6 | 234 | License: SGI MIT-like |
f445ed6c JB |
235 | Group: Development/Libraries |
236 | Requires: %{name}-libGLw = %{version}-%{release} | |
237 | Requires: OpenGL-devel >= 1.2 | |
238 | Provides: OpenGL-GLw-devel | |
239 | ||
240 | %description libGLw-devel | |
241 | Header files for SGI libGLw library. | |
242 | ||
f77f03b8 JR |
243 | %description libGLw-devel -l pl.UTF-8 |
244 | Pliki nagłówkowe biblioteki SGI libGLw. | |
f445ed6c JB |
245 | |
246 | %package libGLw-static | |
247 | Summary: Static SGI libGLw library | |
54181d82 | 248 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLw |
f4a8c5f6 | 249 | License: SGI MIT-like |
f445ed6c JB |
250 | Group: Development/Libraries |
251 | Requires: %{name}-libGLw-devel = %{version}-%{release} | |
252 | Provides: OpenGL-GLw-static | |
e31e9d24 | 253 | |
f445ed6c JB |
254 | %description libGLw-static |
255 | Static SGI libGLw library. | |
256 | ||
f77f03b8 | 257 | %description libGLw-static -l pl.UTF-8 |
f445ed6c JB |
258 | Statyczna biblioteka SGI libGLw. |
259 | ||
f4a8c5f6 JB |
260 | %package libOSMesa |
261 | Summary: OSMesa (off-screen renderer) library | |
262 | Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci) | |
263 | License: MIT | |
264 | Group: Libraries | |
265 | # doesn't require base | |
266 | ||
267 | %description libOSMesa | |
268 | OSMesa (off-screen renderer) library. | |
269 | ||
270 | %description libOSMesa -l pl.UTF-8 | |
271 | Biblioteka OSMesa (renderująca bitmapy w pamięci). | |
272 | ||
273 | %package libOSMesa-devel | |
274 | Summary: Header file for OSMesa (off-screen renderer) library | |
275 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci) | |
276 | License: MIT | |
277 | Group: Development/Libraries | |
278 | Requires: %{name}-libOSMesa = %{version}-%{release} | |
279 | # for <GL/gl.h> only | |
280 | Requires: OpenGL-devel | |
281 | ||
282 | %description libOSMesa-devel | |
283 | Header file for OSMesa (off-screen renderer) library. | |
284 | ||
285 | %description libOSMesa-devel -l pl.UTF-8 | |
286 | Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci). | |
287 | ||
288 | %package libOSMesa-static | |
289 | Summary: Static OSMesa (off-screen renderer) library | |
290 | Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci) | |
291 | License: MIT | |
292 | Group: Development/Libraries | |
293 | Requires: %{name}-libOSMesa-devel = %{version}-%{release} | |
294 | # this static build of OSMesa needs static non-dri Mesa implementation | |
295 | Requires: %{name}-libGL-static = %{version}-%{release} | |
296 | ||
297 | %description libOSMesa-static | |
298 | Static OSMesa (off-screen renderer) library. | |
299 | ||
300 | %description libOSMesa-static -l pl.UTF-8 | |
301 | Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci). | |
302 | ||
f445ed6c JB |
303 | %package utils |
304 | Summary: OpenGL utilities from Mesa3D | |
54181d82 | 305 | Summary(pl.UTF-8): Programy narzędziowe OpenGL z projektu Mesa3D |
f4a8c5f6 | 306 | License: MIT |
1a039c9a | 307 | Group: X11/Applications/Graphics |
f445ed6c JB |
308 | # loose deps on libGL/libGLU |
309 | ||
310 | %description utils | |
311 | OpenGL utilities from Mesa3D: glxgears and glxinfo. | |
312 | ||
f77f03b8 JR |
313 | %description utils -l pl.UTF-8 |
314 | Programy narzędziowe OpenGL z projektu Mesa3D: glxgears i glxinfo. | |
a0b2836a | 315 | |
a0b2836a | 316 | %package demos |
f4a8c5f6 JB |
317 | Summary: Mesa Demos source code |
318 | Summary(pl.UTF-8): Kod źródłowy programów demonstrujących dla bibliotek Mesa | |
319 | License: various (MIT, SGI, GPL - see copyright notes in sources) | |
e9b3ff7a | 320 | Group: Development/Libraries |
cdac6ff8 | 321 | Requires: OpenGL-devel |
a0b2836a | 322 | |
323 | %description demos | |
f4a8c5f6 | 324 | Demonstration programs for the Mesa libraries in source code form. |
a0b2836a | 325 | |
f77f03b8 | 326 | %description demos -l pl.UTF-8 |
f4a8c5f6 | 327 | Kod źródłowy programów demonstracyjnych dla bibliotek Mesa. |
a0b2836a | 328 | |
afe33c03 | 329 | %package dri-driver-ati-mach64 |
362c6f99 JB |
330 | Summary: X.org DRI driver for ATI Mach64 card family |
331 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Mach64 | |
f4a8c5f6 | 332 | License: MIT |
18da5046 | 333 | Group: X11/Libraries |
d70abe90 JB |
334 | Requires: xorg-driver-video-mach64 |
335 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
336 | Requires: xorg-xserver-server >= %{xserver_ver} | |
875da849 | 337 | |
afe33c03 | 338 | %description dri-driver-ati-mach64 |
362c6f99 | 339 | X.org DRI driver for ATI Mach64 card family. |
875da849 | 340 | |
f77f03b8 | 341 | %description dri-driver-ati-mach64 -l pl.UTF-8 |
362c6f99 | 342 | Sterownik X.org DRI dla rodziny kart ATI Mach64. |
875da849 | 343 | |
afe33c03 | 344 | %package dri-driver-ati-radeon-R100 |
362c6f99 JB |
345 | Summary: X.org DRI driver for ATI R100 card family |
346 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
f4a8c5f6 | 347 | License: MIT |
18da5046 | 348 | Group: X11/Libraries |
83c21438 | 349 | Requires: xorg-driver-video-ati |
d70abe90 JB |
350 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
351 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 352 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 353 | |
354 | %description dri-driver-ati-radeon-R100 | |
362c6f99 | 355 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). |
afe33c03 | 356 | |
f77f03b8 | 357 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 |
362c6f99 | 358 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). |
afe33c03 | 359 | |
360 | %package dri-driver-ati-radeon-R200 | |
362c6f99 JB |
361 | Summary: X.org DRI driver for ATI R200 card family |
362 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
f4a8c5f6 | 363 | License: MIT |
18da5046 | 364 | Group: X11/Libraries |
83c21438 | 365 | Requires: xorg-driver-video-ati |
d70abe90 JB |
366 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
367 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 368 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 369 | |
370 | %description dri-driver-ati-radeon-R200 | |
362c6f99 | 371 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) |
afe33c03 | 372 | |
f77f03b8 | 373 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
362c6f99 | 374 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
afe33c03 | 375 | |
376 | %package dri-driver-ati-radeon-R300 | |
362c6f99 JB |
377 | Summary: X.org DRI driver for ATI R300 card family |
378 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
f4a8c5f6 | 379 | License: MIT |
18da5046 | 380 | Group: X11/Libraries |
83c21438 | 381 | Requires: xorg-driver-video-ati |
d70abe90 JB |
382 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
383 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 384 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 385 | |
386 | %description dri-driver-ati-radeon-R300 | |
362c6f99 | 387 | X.org DRI driver for ATI R300 card family. |
afe33c03 | 388 | |
f77f03b8 | 389 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
362c6f99 | 390 | Sterownik X.org DRI dla rodziny kart ATI R300. |
afe33c03 | 391 | |
e68936d0 AM |
392 | %package dri-driver-ati-radeon-R600 |
393 | Summary: X.org DRI driver for ATI R600 card family | |
394 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
395 | License: MIT | |
396 | Group: X11/Libraries | |
397 | Requires: radeon-ucode | |
398 | Requires: xorg-driver-video-ati | |
399 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
400 | Requires: xorg-xserver-server >= %{xserver_ver} | |
401 | ||
402 | %description dri-driver-ati-radeon-R600 | |
403 | X.org DRI driver for ATI R600 card family. | |
404 | ||
405 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
406 | Sterownik X.org DRI dla rodziny kart ATI R600. | |
407 | ||
afe33c03 | 408 | %package dri-driver-ati-rage128 |
362c6f99 JB |
409 | Summary: X.org DRI driver for ATI Rage128 card family |
410 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Rage128 | |
f4a8c5f6 | 411 | License: MIT |
18da5046 | 412 | Group: X11/Libraries |
d70abe90 JB |
413 | Requires: xorg-driver-video-r128 |
414 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
415 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 416 | Obsoletes: X11-driver-r128-dri < 1:7.0.0 |
afe33c03 | 417 | |
418 | %description dri-driver-ati-rage128 | |
362c6f99 | 419 | X.org DRI driver for ATI Rage128 card family. |
afe33c03 | 420 | |
f77f03b8 | 421 | %description dri-driver-ati-rage128 -l pl.UTF-8 |
362c6f99 | 422 | Sterownik X.org DRI dla rodziny kart ATI Rage128. |
afe33c03 | 423 | |
424 | %package dri-driver-ffb | |
362c6f99 JB |
425 | Summary: X.org DRI driver for Sun FFB card family |
426 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Sun FFB | |
f4a8c5f6 | 427 | License: MIT |
18da5046 | 428 | Group: X11/Libraries |
83c21438 | 429 | Requires: xorg-driver-video-sunffb |
d70abe90 JB |
430 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
431 | Requires: xorg-xserver-server >= %{xserver_ver} | |
afe33c03 | 432 | |
433 | %description dri-driver-ffb | |
362c6f99 | 434 | X.org DRI driver for SUN Creator3D and Elite3D card family. |
afe33c03 | 435 | |
f77f03b8 | 436 | %description dri-driver-ffb -l pl.UTF-8 |
362c6f99 | 437 | Sterownik X.org DRI dla rodziny kart SUN Creator3D i Elite3D. |
afe33c03 | 438 | |
439 | %package dri-driver-glint | |
362c6f99 JB |
440 | Summary: X.org DRI driver for GLINT/Permedia card family |
441 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart GLINT/Permedia | |
f4a8c5f6 | 442 | License: MIT |
18da5046 | 443 | Group: X11/Libraries |
83c21438 | 444 | Requires: xorg-driver-video-glint |
d70abe90 JB |
445 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
446 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 447 | Obsoletes: X11-driver-glint-dri < 1:7.0.0 |
afe33c03 | 448 | |
449 | %description dri-driver-glint | |
362c6f99 | 450 | X.org DRI driver for GLINT/Permedia card family. |
afe33c03 | 451 | |
f77f03b8 | 452 | %description dri-driver-glint -l pl.UTF-8 |
362c6f99 | 453 | Sterownik X.org DRI dla rodziny kart GLINT/Permedia. |
afe33c03 | 454 | |
455 | %package dri-driver-intel-i810 | |
362c6f99 JB |
456 | Summary: X.org DRI driver for Intel i810 card family |
457 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i810 | |
f4a8c5f6 | 458 | License: MIT |
18da5046 | 459 | Group: X11/Libraries |
d70abe90 JB |
460 | Requires: xorg-driver-video-intel |
461 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
462 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 463 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 464 | |
465 | %description dri-driver-intel-i810 | |
362c6f99 | 466 | X.org DRI driver for Intel i810 card family. |
afe33c03 | 467 | |
f77f03b8 | 468 | %description dri-driver-intel-i810 -l pl.UTF-8 |
362c6f99 | 469 | Sterownik X.org DRI dla rodziny kart Intel i810. |
afe33c03 | 470 | |
afe33c03 | 471 | %package dri-driver-intel-i915 |
362c6f99 JB |
472 | Summary: X.org DRI driver for Intel i915 card family |
473 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
f4a8c5f6 | 474 | License: MIT |
18da5046 | 475 | Group: X11/Libraries |
d70abe90 JB |
476 | Requires: xorg-driver-video-intel |
477 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
478 | Requires: xorg-xserver-server >= %{xserver_ver} | |
2db432a2 | 479 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 480 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 481 | |
482 | %description dri-driver-intel-i915 | |
362c6f99 | 483 | X.org DRI driver for Intel i915 card family. |
afe33c03 | 484 | |
f77f03b8 | 485 | %description dri-driver-intel-i915 -l pl.UTF-8 |
362c6f99 | 486 | Sterownik X.org DRI dla rodziny kart Intel i915. |
afe33c03 | 487 | |
b360f4f6 | 488 | %package dri-driver-intel-i965 |
362c6f99 JB |
489 | Summary: X.org DRI driver for Intel i965 card family |
490 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
f4a8c5f6 | 491 | License: MIT |
b360f4f6 | 492 | Group: X11/Libraries |
d70abe90 JB |
493 | Requires: xorg-driver-video-intel |
494 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
495 | Requires: xorg-xserver-server >= %{xserver_ver} | |
b360f4f6 | 496 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 497 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 498 | |
499 | %description dri-driver-intel-i965 | |
362c6f99 | 500 | X.org DRI driver for Intel i965 card family. |
b360f4f6 | 501 | |
f77f03b8 | 502 | %description dri-driver-intel-i965 -l pl.UTF-8 |
362c6f99 | 503 | Sterownik X.org DRI dla rodziny kart Intel i965. |
b360f4f6 | 504 | |
afe33c03 | 505 | %package dri-driver-matrox |
362c6f99 JB |
506 | Summary: X.org DRI driver for Matrox G card family |
507 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Matrox G | |
f4a8c5f6 | 508 | License: MIT |
18da5046 | 509 | Group: X11/Libraries |
83c21438 | 510 | Requires: xorg-driver-video-mga |
d70abe90 JB |
511 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
512 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 513 | Obsoletes: X11-driver-mga-dri < 1:7.0.0 |
afe33c03 | 514 | |
515 | %description dri-driver-matrox | |
516 | X.org DRI drivers for Matrox G card family. | |
517 | ||
f77f03b8 | 518 | %description dri-driver-matrox -l pl.UTF-8 |
afe33c03 | 519 | Sterowniki X.org DRI dla rodziny kart Matrox G. |
520 | ||
3e88bc92 AM |
521 | %package dri-driver-nouveau |
522 | Summary: X.org DRI driver for NVIDIA card family | |
523 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
524 | License: MIT | |
525 | Group: X11/Libraries | |
526 | Requires: xorg-driver-video-nouveau | |
527 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
528 | Requires: xorg-xserver-server >= %{xserver_ver} | |
529 | ||
530 | %description dri-driver-nouveau | |
531 | X.org DRI drivers for NVIDIA card family. | |
532 | ||
533 | %description dri-driver-nouveau -l pl.UTF-8 | |
534 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
535 | ||
afe33c03 | 536 | %package dri-driver-savage |
362c6f99 JB |
537 | Summary: X.org DRI driver for S3 Savage card family |
538 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart S3 Savage | |
f4a8c5f6 | 539 | License: MIT |
18da5046 | 540 | Group: X11/Libraries |
83c21438 | 541 | Requires: xorg-driver-video-savage |
d70abe90 JB |
542 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
543 | Requires: xorg-xserver-server >= %{xserver_ver} | |
afe33c03 | 544 | |
545 | %description dri-driver-savage | |
362c6f99 | 546 | X.org DRI driver for S3 Savage card family. |
afe33c03 | 547 | |
f77f03b8 | 548 | %description dri-driver-savage -l pl.UTF-8 |
362c6f99 | 549 | Sterownik X.org DRI dla rodziny kart S3 Savage. |
afe33c03 | 550 | |
551 | %package dri-driver-sis | |
362c6f99 JB |
552 | Summary: X.org DRI driver for SiS card family |
553 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart SiS | |
f4a8c5f6 | 554 | License: MIT |
18da5046 | 555 | Group: X11/Libraries |
83c21438 | 556 | Requires: xorg-driver-video-sis |
d70abe90 JB |
557 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
558 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 559 | Obsoletes: X11-driver-sis-dri < 1:7.0.0 |
afe33c03 | 560 | |
561 | %description dri-driver-sis | |
362c6f99 | 562 | X.org DRI driver for SiS card family. |
afe33c03 | 563 | |
f77f03b8 | 564 | %description dri-driver-sis -l pl.UTF-8 |
362c6f99 | 565 | Sterownik X.org DRI dla rodziny kart SiS. |
afe33c03 | 566 | |
f3606317 | 567 | %package dri-driver-swrast |
362c6f99 JB |
568 | Summary: X.org DRI software rasterizer driver |
569 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
f3606317 AM |
570 | License: MIT |
571 | Group: X11/Libraries | |
d70abe90 JB |
572 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
573 | Requires: xorg-xserver-server >= %{xserver_ver} | |
f3606317 AM |
574 | |
575 | %description dri-driver-swrast | |
362c6f99 | 576 | X.org DRI software rasterizer driver. |
f3606317 AM |
577 | |
578 | %description dri-driver-swrast -l pl.UTF-8 | |
362c6f99 | 579 | Sterownik X.org DRI obsługujący rysowanie programowe. |
f3606317 | 580 | |
afe33c03 | 581 | %package dri-driver-tdfx |
362c6f99 JB |
582 | Summary: X.org DRI driver for 3DFX Voodoo card family |
583 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart 3DFX Voodoo | |
f4a8c5f6 | 584 | License: MIT |
18da5046 | 585 | Group: X11/Libraries |
10fb2f64 | 586 | Requires: Glide3-DRI |
83c21438 | 587 | Requires: xorg-driver-video-tdfx |
d70abe90 JB |
588 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
589 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 590 | Obsoletes: X11-driver-tdfx-dri < 1:7.0.0 |
afe33c03 | 591 | |
592 | %description dri-driver-tdfx | |
362c6f99 | 593 | X.org DRI driver for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee |
afe33c03 | 594 | and Velocity 100/200). |
595 | ||
f77f03b8 | 596 | %description dri-driver-tdfx -l pl.UTF-8 |
362c6f99 JB |
597 | Sterownik X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5, |
598 | Banshee i Velocity 100/200). | |
afe33c03 | 599 | |
23e685d3 | 600 | %package dri-driver-via-unichrome |
601 | Summary: X.org DRI driver for VIA Unichrome card family | |
602 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart VIA Unichrome | |
603 | License: MIT | |
604 | Group: X11/Libraries | |
605 | Requires: xorg-driver-video-openchrome | |
606 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
607 | Requires: xorg-xserver-server >= %{xserver_ver} | |
608 | ||
609 | %description dri-driver-via-unichrome | |
610 | X.org DRI driver for VIA Unichrome card family. | |
611 | ||
612 | %description dri-driver-via-unichrome -l pl.UTF-8 | |
613 | Sterownik X.org DRI dla rodziny kart VIA Unichrome. | |
614 | ||
e68936d0 AM |
615 | %package dri-driver-vmwgfx |
616 | Summary: X.org DRI driver for VMware | |
617 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
618 | License: MIT | |
619 | Group: X11/Libraries | |
620 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
621 | Requires: xorg-xserver-server >= %{xserver_ver} | |
622 | ||
623 | %description dri-driver-vmwgfx | |
624 | X.org DRI driver for VMWare. | |
625 | ||
626 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
627 | Sterownik X.org DRI dla VMware. | |
628 | ||
a0b2836a | 629 | %prep |
e261c0c1 | 630 | %setup -q -b1 |
6f53c8ab | 631 | %patch0 -p0 |
0826bfd3 | 632 | %patch1 -p1 |
e2e72ced | 633 | |
e1833810 | 634 | # fix demos |
0cb33a09 | 635 | find progs -type f|xargs sed -i -e "s,\.\./images/,%{_examplesdir}/%{name}-%{version}/images/,g" |
a0b2836a | 636 | |
637 | %build | |
ebb035ed AM |
638 | %{__aclocal} |
639 | %{__autoconf} | |
a5afae62 | 640 | |
e68936d0 | 641 | dri_drivers="i810 i965 mach64 mga r128 r200 r300 r600 radeon savage \ |
8060076f | 642 | %if %{without gallium_intel} |
a5afae62 AM |
643 | i915 \ |
644 | %endif | |
59f12de8 AM |
645 | %ifarch sparc sparcv9 sparc64 |
646 | ffb \ | |
6299b3cd | 647 | %endif |
59f12de8 AM |
648 | %ifarch %{ix86} %{x8664} |
649 | sis \ | |
31a772c7 | 650 | %endif |
59f12de8 AM |
651 | swrast tdfx unichrome" |
652 | ||
653 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
654 | ||
655 | common_flags="\ | |
656 | --enable-shared \ | |
657 | --enable-selinux \ | |
5f574b4b | 658 | --enable-pic \ |
b4a5c074 | 659 | --enable-glx-tls \ |
cb97a1c3 | 660 | --%{?with_egl:en}%{!?with_egl:dis}able-egl \ |
ffba1d32 | 661 | --with%{!?with_demos:out}-demos" |
59f12de8 | 662 | |
cb97a1c3 | 663 | %if %{with osmesa} |
59f12de8 AM |
664 | # osmesa variants |
665 | %configure $common_flags \ | |
666 | --with-driver=osmesa \ | |
667 | --disable-asm \ | |
668 | --with-osmesa-bits=8 | |
669 | %{__make} \ | |
670 | SRC_DIRS=mesa | |
671 | mv %{_lib} osmesa8 | |
672 | %{__make} clean | |
673 | ||
674 | %configure $common_flags \ | |
675 | --with-driver=osmesa \ | |
676 | --disable-asm \ | |
677 | --with-osmesa-bits=16 | |
678 | %{__make} \ | |
679 | SRC_DIRS=mesa | |
680 | mv %{_lib} osmesa16 | |
681 | %{__make} clean | |
682 | ||
683 | %configure $common_flags \ | |
684 | --with-driver=osmesa \ | |
685 | --disable-asm \ | |
686 | --with-osmesa-bits=32 | |
687 | %{__make} \ | |
688 | SRC_DIRS=mesa | |
689 | mv %{_lib} osmesa32 | |
690 | %{__make} clean | |
cb97a1c3 | 691 | %endif |
59f12de8 AM |
692 | |
693 | %configure $common_flags \ | |
694 | --enable-glu \ | |
695 | --enable-glw \ | |
3ce3b697 | 696 | --disable-glut \ |
5f574b4b AM |
697 | %if %{with gallium} |
698 | --enable-gallium \ | |
8060076f | 699 | --%{?with_gallium_intel:en}%{!?with_gallium_intel:dis}able-gallium-intel \ |
b1c69d57 | 700 | --enable-gallium-svga \ |
f290281d | 701 | --%{?with_gallium_nouveau:en}%{!?with_gallium_nouveau:dis}able-gallium-nouveau \ |
5f574b4b AM |
702 | --with-state-trackers=dri \ |
703 | %else | |
704 | --disable-gallium \ | |
705 | %endif | |
59f12de8 AM |
706 | --with-driver=dri \ |
707 | --with-dri-drivers=${dri_drivers} \ | |
708 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
709 | ||
710 | %{__make} | |
711 | %{__make} -C progs/xdemos glxgears glxinfo | |
ffba1d32 | 712 | %if %{with demos} |
59f12de8 | 713 | %{__make} -C progs/demos |
ffba1d32 | 714 | %endif |
59f12de8 | 715 | |
a0b2836a | 716 | %install |
f5543b17 | 717 | rm -rf $RPM_BUILD_ROOT |
ddde5931 | 718 | |
59f12de8 AM |
719 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}} |
720 | ||
721 | # libs without drivers | |
722 | %{__make} install \ | |
723 | DESTDIR=$RPM_BUILD_ROOT | |
ddde5931 | 724 | |
cb97a1c3 | 725 | %if %{with osmesa} |
59f12de8 | 726 | install osmesa*/* $RPM_BUILD_ROOT%{_libdir} |
cb97a1c3 | 727 | %endif |
f4a8c5f6 | 728 | |
0cb33a09 | 729 | install progs/xdemos/{glxgears,glxinfo} $RPM_BUILD_ROOT%{_bindir} |
f4a8c5f6 JB |
730 | # work on copy to keep -bi --short-circuit working |
731 | rm -rf progs-clean | |
732 | install -d progs-clean | |
733 | for l in demos glsl osdemos redbook samples xdemos ; do | |
734 | cp -a progs/$l progs-clean/$l | |
735 | %{__make} -C progs-clean/$l clean | |
736 | cp -Rf progs-clean/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l | |
ddde5931 | 737 | done |
f4a8c5f6 JB |
738 | rm -rf progs-clean |
739 | for l in util images ; do | |
0cb33a09 | 740 | cp -Rf progs/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l |
cc0df27a | 741 | done |
0cb33a09 | 742 | rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}} |
a0b2836a | 743 | |
59f12de8 AM |
744 | # strip out undesirable headers |
745 | olddir=$(pwd) | |
3e88bc92 | 746 | cd $RPM_BUILD_ROOT%{_includedir}/GL |
59f12de8 | 747 | rm [a-fh-np-wyz]*.h gg*.h glf*.h |
a5afae62 | 748 | cd $RPM_BUILD_ROOT%{_libdir} |
59f12de8 AM |
749 | cd $olddir |
750 | ||
5818e6f7 JR |
751 | %if %{with multigl} |
752 | install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_sysconfdir}/ld.so.conf.d} | |
753 | ||
754 | mv -f $RPM_BUILD_ROOT%{_libdir}/libGL.so.* $RPM_BUILD_ROOT%{_libdir}/Mesa | |
755 | ln -sf Mesa/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
756 | ||
757 | echo %{_libdir}/Mesa >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
758 | %endif | |
759 | ||
abc9e15f JB |
760 | %clean |
761 | rm -rf $RPM_BUILD_ROOT | |
762 | ||
f445ed6c JB |
763 | %post libGL -p /sbin/ldconfig |
764 | %postun libGL -p /sbin/ldconfig | |
765 | ||
766 | %post libGLU -p /sbin/ldconfig | |
767 | %postun libGLU -p /sbin/ldconfig | |
768 | ||
769 | %post libGLw -p /sbin/ldconfig | |
770 | %postun libGLw -p /sbin/ldconfig | |
a0b2836a | 771 | |
f445ed6c | 772 | %files libGL |
e9b3ff7a | 773 | %defattr(644,root,root,755) |
47e56dff | 774 | %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS},RELNOTES*} |
5818e6f7 JR |
775 | %if %{with multigl} |
776 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
777 | %dir %{_libdir}/Mesa | |
778 | %attr(755,root,root) %{_libdir}/Mesa/libGL.so.*.* | |
779 | %attr(755,root,root) %ghost %{_libdir}/Mesa/libGL.so.1 | |
780 | %else | |
9b0e6ebb JB |
781 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
782 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
0cb33a09 JB |
783 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
784 | # (and dlopen libGL.so instead of libGL.so.1) | |
785 | %attr(755,root,root) %{_libdir}/libGL.so | |
5818e6f7 | 786 | %endif |
a0b2836a | 787 | |
f445ed6c | 788 | %files libGL-devel |
e9b3ff7a | 789 | %defattr(644,root,root,755) |
ddde5931 | 790 | %doc docs/*.spec |
f4a8c5f6 JB |
791 | %if %{with multigl} |
792 | %attr(755,root,root) %{_libdir}/libGL.so | |
793 | %endif | |
debcd977 | 794 | %dir %{_includedir}/GL |
d3dd48bf | 795 | %{_includedir}/GL/gl.h |
e1833810 | 796 | %{_includedir}/GL/glext.h |
d3dd48bf | 797 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 798 | %{_includedir}/GL/glx.h |
abc9e15f | 799 | %{_includedir}/GL/glxext.h |
d3dd48bf | 800 | %{_includedir}/GL/glx_mangle.h |
1ec0796e AM |
801 | %dir %{_includedir}/GL/internal |
802 | %{_includedir}/GL/internal/dri_interface.h | |
59f12de8 | 803 | %{_pkgconfigdir}/dri.pc |
f4a8c5f6 | 804 | %{_pkgconfigdir}/gl.pc |
a0b2836a | 805 | |
59f12de8 | 806 | %if %{with static} |
f445ed6c | 807 | %files libGL-static |
3855c435 | 808 | %defattr(644,root,root,755) |
11062ced | 809 | %{_libdir}/libGL.a |
59f12de8 | 810 | %endif |
f445ed6c JB |
811 | |
812 | %files libGLU | |
813 | %defattr(644,root,root,755) | |
9b0e6ebb JB |
814 | %attr(755,root,root) %{_libdir}/libGLU.so.*.* |
815 | %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1 | |
f445ed6c JB |
816 | |
817 | %files libGLU-devel | |
818 | %defattr(644,root,root,755) | |
819 | %attr(755,root,root) %{_libdir}/libGLU.so | |
820 | %{_includedir}/GL/glu.h | |
821 | %{_includedir}/GL/glu_mangle.h | |
f4a8c5f6 | 822 | %{_pkgconfigdir}/glu.pc |
f445ed6c | 823 | |
59f12de8 | 824 | %if %{with static} |
f445ed6c JB |
825 | %files libGLU-static |
826 | %defattr(644,root,root,755) | |
11062ced | 827 | %{_libdir}/libGLU.a |
59f12de8 | 828 | %endif |
f445ed6c JB |
829 | |
830 | %files libGLw | |
831 | %defattr(644,root,root,755) | |
9b0e6ebb JB |
832 | %attr(755,root,root) %{_libdir}/libGLw.so.*.* |
833 | %attr(755,root,root) %ghost %{_libdir}/libGLw.so.1 | |
f445ed6c JB |
834 | |
835 | %files libGLw-devel | |
836 | %defattr(644,root,root,755) | |
837 | %attr(755,root,root) %{_libdir}/libGLw.so | |
838 | %{_includedir}/GL/GLwDrawA.h | |
839 | %{_includedir}/GL/GLwDrawAP.h | |
840 | %{_includedir}/GL/GLwMDrawA.h | |
841 | %{_includedir}/GL/GLwMDrawAP.h | |
336eb747 | 842 | %{_pkgconfigdir}/glw.pc |
f445ed6c | 843 | |
59f12de8 | 844 | %if %{with static} |
f445ed6c JB |
845 | %files libGLw-static |
846 | %defattr(644,root,root,755) | |
0cb33a09 | 847 | %{_libdir}/libGLw.a |
59f12de8 | 848 | %endif |
3855c435 | 849 | |
cb97a1c3 | 850 | %if %{with osmesa} |
f4a8c5f6 JB |
851 | %files libOSMesa |
852 | %defattr(644,root,root,755) | |
59f12de8 AM |
853 | %attr(755,root,root) %{_libdir}/libOSMesa*.so.*.* |
854 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa*.so.[0-9] | |
f4a8c5f6 JB |
855 | |
856 | %files libOSMesa-devel | |
857 | %defattr(644,root,root,755) | |
59f12de8 | 858 | %attr(755,root,root) %{_libdir}/libOSMesa*.so |
f4a8c5f6 JB |
859 | %{_includedir}/GL/osmesa.h |
860 | ||
59f12de8 | 861 | %if %{with static} |
f4a8c5f6 JB |
862 | %files libOSMesa-static |
863 | %defattr(644,root,root,755) | |
59f12de8 AM |
864 | %{_libdir}/libOSMesa*.a |
865 | %endif | |
cb97a1c3 | 866 | %endif |
f4a8c5f6 | 867 | |
f445ed6c | 868 | %files utils |
e9b3ff7a | 869 | %defattr(644,root,root,755) |
f445ed6c JB |
870 | %attr(755,root,root) %{_bindir}/glxgears |
871 | %attr(755,root,root) %{_bindir}/glxinfo | |
875da849 | 872 | |
afe33c03 | 873 | %files dri-driver-ati-mach64 |
875da849 | 874 | %defattr(644,root,root,755) |
afe33c03 | 875 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so |
876 | ||
877 | %files dri-driver-ati-radeon-R100 | |
878 | %defattr(644,root,root,755) | |
879 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
880 | ||
881 | %files dri-driver-ati-radeon-R200 | |
882 | %defattr(644,root,root,755) | |
883 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
884 | ||
885 | %files dri-driver-ati-radeon-R300 | |
886 | %defattr(644,root,root,755) | |
887 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
888 | ||
e68936d0 AM |
889 | %files dri-driver-ati-radeon-R600 |
890 | %defattr(644,root,root,755) | |
891 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
892 | ||
afe33c03 | 893 | %files dri-driver-ati-rage128 |
894 | %defattr(644,root,root,755) | |
895 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so | |
896 | ||
f445ed6c | 897 | # sunffb (sparc only) |
afe33c03 | 898 | %ifarch sparc sparcv9 sparc64 |
899 | %files dri-driver-ffb | |
900 | %defattr(644,root,root,755) | |
f445ed6c JB |
901 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so |
902 | %endif | |
afe33c03 | 903 | |
904 | # glint (requires update) | |
905 | %if 0 | |
906 | %files dri-driver-glint | |
907 | %defattr(644,root,root,755) | |
908 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so | |
909 | %endif | |
910 | ||
911 | %files dri-driver-intel-i810 | |
912 | %defattr(644,root,root,755) | |
f445ed6c | 913 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so |
afe33c03 | 914 | |
afe33c03 | 915 | %files dri-driver-intel-i915 |
916 | %defattr(644,root,root,755) | |
5f574b4b | 917 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
afe33c03 | 918 | |
b360f4f6 | 919 | %files dri-driver-intel-i965 |
920 | %defattr(644,root,root,755) | |
921 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
922 | ||
afe33c03 | 923 | %files dri-driver-matrox |
924 | %defattr(644,root,root,755) | |
f445ed6c | 925 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so |
afe33c03 | 926 | |
a7a3223c | 927 | %if %{with gallium} |
f290281d | 928 | %if %{with gallium_nouveau} |
3e88bc92 AM |
929 | %files dri-driver-nouveau |
930 | %defattr(644,root,root,755) | |
931 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
a7a3223c | 932 | %endif |
f290281d | 933 | %endif |
3e88bc92 | 934 | |
afe33c03 | 935 | %files dri-driver-savage |
936 | %defattr(644,root,root,755) | |
f445ed6c | 937 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so |
afe33c03 | 938 | |
a71d2e77 | 939 | %ifarch %{ix86} %{x8664} |
afe33c03 | 940 | %files dri-driver-sis |
941 | %defattr(644,root,root,755) | |
f445ed6c | 942 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so |
5b105641 | 943 | %endif |
afe33c03 | 944 | |
f3606317 AM |
945 | %files dri-driver-swrast |
946 | %defattr(644,root,root,755) | |
947 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so | |
948 | ||
afe33c03 | 949 | %files dri-driver-tdfx |
950 | %defattr(644,root,root,755) | |
f445ed6c | 951 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so |
afe33c03 | 952 | |
23e685d3 | 953 | %files dri-driver-via-unichrome |
954 | %defattr(644,root,root,755) | |
955 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so | |
956 | ||
bb5f0825 | 957 | %if %{with gallium} |
e68936d0 AM |
958 | %files dri-driver-vmwgfx |
959 | %defattr(644,root,root,755) | |
9c4e4073 | 960 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so |
bb5f0825 | 961 | %endif |
e68936d0 | 962 | |
ffba1d32 | 963 | %if %{with demos} |
f445ed6c JB |
964 | %files demos |
965 | %defattr(644,root,root,755) | |
966 | %{_examplesdir}/%{name}-%{version} | |
ffba1d32 | 967 | %endif |