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