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