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