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