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