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