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