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