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