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