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