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