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