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