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