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