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