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