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