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