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