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