]>
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 | 12 | Version: 6.5.3 |
dbb5651e | 13 | Release: 2 |
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 |
dbb5651e | 22 | Patch1: %{name}-git-fixes.patch |
50e22bbf | 23 | URL: http://www.mesa3d.org/ |
0cb33a09 | 24 | BuildRequires: expat-devel |
884f6d35 | 25 | BuildRequires: libdrm-devel >= 2.2.0 |
276baaf9 | 26 | BuildRequires: libstdc++-devel |
6b372055 | 27 | BuildRequires: libtool >= 2:1.4d |
276baaf9 | 28 | %{?with_motif:BuildRequires: motif-devel} |
7cbe00f8 | 29 | BuildRequires: sed >= 4.0 |
cd8f367a | 30 | BuildRequires: xorg-lib-libXdamage-devel |
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 | |
54181d82 | 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 |
237cb2a3 | 61 | Provides: OpenGL = 2.1 |
f445ed6c JB |
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 | |
54181d82 | 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 |
237cb2a3 | 98 | Provides: OpenGL-devel = 2.1 |
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 | |
54181d82 | 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} | |
237cb2a3 | 118 | Provides: OpenGL-static = 2.1 |
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 | |
54181d82 | 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 | |
54181d82 | 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 | |
54181d82 | 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 | |
54181d82 | 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 | |
54181d82 | 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 | |
54181d82 | 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 | |
54181d82 | 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 |
54181d82 | 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 |
54181d82 | 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 | |
54181d82 | 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 |
8e26093b | 269 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 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 |
8e26093b | 284 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 285 | |
286 | %description dri-driver-ati-radeon-R200 | |
287 | X.org DRI drivers for ATI R200 card family (Radeon 8500-92xx) | |
288 | ||
f77f03b8 | 289 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
afe33c03 | 290 | Sterowniki X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
291 | ||
292 | %package dri-driver-ati-radeon-R300 | |
293 | Summary: X.org DRI drivers | |
54181d82 | 294 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 295 | Group: X11/Libraries |
83c21438 | 296 | Requires: xorg-driver-video-ati |
76639504 | 297 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 298 | Requires: xorg-xserver-server |
8e26093b | 299 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 300 | |
301 | %description dri-driver-ati-radeon-R300 | |
302 | X.org DRI drivers for ATI R300 card family. | |
303 | ||
f77f03b8 | 304 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
afe33c03 | 305 | Sterowniki X.org DRI dla rodziny kart ATI R300. |
306 | ||
307 | %package dri-driver-ati-rage128 | |
308 | Summary: X.org DRI drivers | |
54181d82 | 309 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 310 | Group: X11/Libraries |
83c21438 | 311 | Requires: xorg-driver-video-ati |
76639504 | 312 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 313 | Requires: xorg-xserver-server |
8e26093b | 314 | Obsoletes: X11-driver-r128-dri < 1:7.0.0 |
afe33c03 | 315 | |
316 | %description dri-driver-ati-rage128 | |
317 | X.org DRI drivers for ATI rage128 card family. | |
318 | ||
f77f03b8 | 319 | %description dri-driver-ati-rage128 -l pl.UTF-8 |
afe33c03 | 320 | Sterowniki X.org DRI dla rodziny kart ATI rage128. |
321 | ||
322 | %package dri-driver-ffb | |
323 | Summary: X.org DRI drivers | |
54181d82 | 324 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 325 | Group: X11/Libraries |
83c21438 | 326 | Requires: xorg-driver-video-sunffb |
76639504 | 327 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 328 | Requires: xorg-xserver-server |
329 | ||
330 | %description dri-driver-ffb | |
331 | X.org DRI drivers for SUN Creator3D and Elite3D card family. | |
332 | ||
f77f03b8 | 333 | %description dri-driver-ffb -l pl.UTF-8 |
afe33c03 | 334 | Sterowniki X.org DRI dla rodziny kart SUN Creator3D and Elite3D. |
335 | ||
336 | %package dri-driver-glint | |
337 | Summary: X.org DRI drivers | |
54181d82 | 338 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 339 | Group: X11/Libraries |
83c21438 | 340 | Requires: xorg-driver-video-glint |
76639504 | 341 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 342 | Requires: xorg-xserver-server |
8e26093b | 343 | Obsoletes: X11-driver-glint-dri < 1:7.0.0 |
afe33c03 | 344 | |
345 | %description dri-driver-glint | |
346 | X.org DRI drivers for GLINT/Permedia card family. | |
347 | ||
f77f03b8 | 348 | %description dri-driver-glint -l pl.UTF-8 |
afe33c03 | 349 | Sterowniki X.org DRI dla rodziny kart GLINT/Permedia. |
350 | ||
351 | %package dri-driver-intel-i810 | |
352 | Summary: X.org DRI drivers | |
54181d82 | 353 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 354 | Group: X11/Libraries |
35147caa | 355 | Requires: xorg-driver-video-i810 |
76639504 | 356 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 357 | Requires: xorg-xserver-server |
8e26093b | 358 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 359 | |
360 | %description dri-driver-intel-i810 | |
361 | X.org DRI drivers for Intel i810 card family. | |
362 | ||
f77f03b8 | 363 | %description dri-driver-intel-i810 -l pl.UTF-8 |
afe33c03 | 364 | Sterowniki X.org DRI dla rodziny kart i810. |
365 | ||
afe33c03 | 366 | %package dri-driver-intel-i915 |
367 | Summary: X.org DRI drivers | |
54181d82 | 368 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 369 | Group: X11/Libraries |
35147caa | 370 | Requires: xorg-driver-video-i810 |
76639504 | 371 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 372 | Requires: xorg-xserver-server |
2db432a2 | 373 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 374 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 375 | |
376 | %description dri-driver-intel-i915 | |
377 | X.org DRI drivers for Intel i915 card family. | |
378 | ||
f77f03b8 | 379 | %description dri-driver-intel-i915 -l pl.UTF-8 |
afe33c03 | 380 | Sterowniki X.org DRI dla rodziny kart i915. |
381 | ||
b360f4f6 | 382 | %package dri-driver-intel-i965 |
383 | Summary: X.org DRI drivers | |
54181d82 | 384 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
b360f4f6 | 385 | Group: X11/Libraries |
35147caa | 386 | Requires: xorg-driver-video-i810 |
76639504 | 387 | Requires: xorg-xserver-libglx(glapi) = %{version} |
b360f4f6 | 388 | Requires: xorg-xserver-server |
389 | Obsoletes: Mesa-dri-driver-intel-i830 | |
390 | Obsoletes: Mesa-dri-driver-intel-i915 | |
8e26093b | 391 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 392 | |
393 | %description dri-driver-intel-i965 | |
394 | X.org DRI drivers for Intel i965 card family. | |
395 | ||
f77f03b8 | 396 | %description dri-driver-intel-i965 -l pl.UTF-8 |
b360f4f6 | 397 | Sterowniki X.org DRI dla rodziny kart i965. |
398 | ||
afe33c03 | 399 | %package dri-driver-matrox |
400 | Summary: X.org DRI drivers | |
54181d82 | 401 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 402 | Group: X11/Libraries |
83c21438 | 403 | Requires: xorg-driver-video-mga |
76639504 | 404 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 405 | Requires: xorg-xserver-server |
8e26093b | 406 | Obsoletes: X11-driver-mga-dri < 1:7.0.0 |
afe33c03 | 407 | |
408 | %description dri-driver-matrox | |
409 | X.org DRI drivers for Matrox G card family. | |
410 | ||
f77f03b8 | 411 | %description dri-driver-matrox -l pl.UTF-8 |
afe33c03 | 412 | Sterowniki X.org DRI dla rodziny kart Matrox G. |
413 | ||
237cb2a3 JB |
414 | %package dri-driver-nouveau |
415 | Summary: X.org DRI drivers | |
416 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
417 | Group: X11/Libraries | |
418 | Requires: xorg-driver-video-nouveau | |
419 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
420 | Requires: xorg-xserver-server | |
421 | ||
422 | %description dri-driver-nouveau | |
423 | X.org DRI drivers for NVidia adapters. | |
424 | ||
425 | %description dri-driver-nouveau -l pl.UTF-8 | |
426 | Sterowniki X.org DRI dla kart NVidia. | |
427 | ||
afe33c03 | 428 | %package dri-driver-s3virge |
429 | Summary: X.org DRI drivers | |
54181d82 | 430 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 431 | Group: X11/Libraries |
83c21438 | 432 | Requires: xorg-driver-video-s3virge |
76639504 | 433 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 434 | Requires: xorg-xserver-server |
435 | ||
436 | %description dri-driver-s3virge | |
437 | X.org DRI drivers for S3 Virge card family. | |
438 | ||
f77f03b8 | 439 | %description dri-driver-s3virge -l pl.UTF-8 |
afe33c03 | 440 | Sterowniki X.org DRI dla rodziny kart S3 Virge. |
441 | ||
442 | %package dri-driver-savage | |
443 | Summary: X.org DRI drivers | |
54181d82 | 444 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 445 | Group: X11/Libraries |
83c21438 | 446 | Requires: xorg-driver-video-savage |
76639504 | 447 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 448 | Requires: xorg-xserver-server |
449 | ||
450 | %description dri-driver-savage | |
451 | X.org DRI drivers for S3 Savage card family. | |
452 | ||
f77f03b8 | 453 | %description dri-driver-savage -l pl.UTF-8 |
afe33c03 | 454 | Sterowniki X.org DRI dla rodziny kart S3 Savage. |
455 | ||
456 | %package dri-driver-sis | |
457 | Summary: X.org DRI drivers | |
54181d82 | 458 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 459 | Group: X11/Libraries |
83c21438 | 460 | Requires: xorg-driver-video-sis |
76639504 | 461 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 462 | Requires: xorg-xserver-server |
8e26093b | 463 | Obsoletes: X11-driver-sis-dri < 1:7.0.0 |
afe33c03 | 464 | |
465 | %description dri-driver-sis | |
466 | X.org DRI drivers for SiS card family. | |
467 | ||
f77f03b8 | 468 | %description dri-driver-sis -l pl.UTF-8 |
afe33c03 | 469 | Sterowniki X.org DRI dla rodziny kart SiS. |
470 | ||
471 | %package dri-driver-tdfx | |
472 | Summary: X.org DRI drivers | |
54181d82 | 473 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 474 | Group: X11/Libraries |
10fb2f64 | 475 | Requires: Glide3-DRI |
83c21438 | 476 | Requires: xorg-driver-video-tdfx |
76639504 | 477 | Requires: xorg-xserver-libglx(glapi) = %{version} |
24f95a96 | 478 | Requires: xorg-xserver-server |
8e26093b | 479 | Obsoletes: X11-driver-tdfx-dri < 1:7.0.0 |
afe33c03 | 480 | |
481 | %description dri-driver-tdfx | |
482 | X.org DRI drivers for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee | |
483 | and Velocity 100/200). | |
484 | ||
f77f03b8 | 485 | %description dri-driver-tdfx -l pl.UTF-8 |
afe33c03 | 486 | Sterowniki X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5, |
487 | Banshee and Velocity 100/200). | |
488 | ||
489 | %package dri-driver-trident | |
490 | Summary: X.org DRI drivers | |
54181d82 | 491 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 492 | Group: X11/Libraries |
83c21438 | 493 | Requires: xorg-driver-video-trident |
76639504 | 494 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 495 | Requires: xorg-xserver-server |
496 | ||
497 | %description dri-driver-trident | |
498 | X.org DRI drivers for Trident card family. | |
499 | ||
f77f03b8 | 500 | %description dri-driver-trident -l pl.UTF-8 |
afe33c03 | 501 | Sterowniki X.org DRI dla rodziny kart Trident. |
502 | ||
503 | %package dri-driver-via-unichrome | |
504 | Summary: X.org DRI drivers | |
54181d82 | 505 | Summary(pl.UTF-8): Sterowniki DRI dla X.org |
18da5046 | 506 | Group: X11/Libraries |
83c21438 | 507 | Requires: xorg-driver-video-via |
76639504 | 508 | Requires: xorg-xserver-libglx(glapi) = %{version} |
afe33c03 | 509 | Requires: xorg-xserver-server |
510 | ||
511 | %description dri-driver-via-unichrome | |
512 | X.org DRI drivers for VIA Unichrome card family. | |
513 | ||
f77f03b8 | 514 | %description dri-driver-via-unichrome -l pl.UTF-8 |
afe33c03 | 515 | Sterowniki X.org DRI dla rodziny kart VIA Unichrome. |
f445ed6c | 516 | |
a0b2836a | 517 | %prep |
fae41097 | 518 | %setup -q -b1 |
519 | #%setup -q -n %{name} | |
6f53c8ab | 520 | %patch0 -p0 |
dbb5651e | 521 | %patch1 -p1 |
e2e72ced | 522 | |
237cb2a3 JB |
523 | # until new libdrm release |
524 | cp %{SOURCE2} src/mesa/drivers/dri/nouveau | |
525 | ||
e1833810 | 526 | # fix demos |
0cb33a09 | 527 | find progs -type f|xargs sed -i -e "s,\.\./images/,%{_examplesdir}/%{name}-%{version}/images/,g" |
a0b2836a | 528 | |
f445ed6c JB |
529 | %ifnarch sparc sparcv9 sparc64 |
530 | # for sunffb driver - useful on sparc only | |
b9cd6d08 | 531 | sed -i -e 's/ ffb / /' configs/linux-dri |
f445ed6c JB |
532 | %endif |
533 | ||
77487462 | 534 | %ifnarch %{ix86} %{x8664} |
e5b35012 | 535 | # sis needs write-memory barrier |
77487462 AM |
536 | sed -i -e 's/ sis / /' configs/linux-dri |
537 | %endif | |
538 | ||
a0b2836a | 539 | %build |
6299b3cd | 540 | %ifarch %{ix86} |
875da849 | 541 | targ=-x86 |
6299b3cd | 542 | %else |
875da849 | 543 | targ="" |
6299b3cd JB |
544 | %endif |
545 | ||
875da849 | 546 | %{__make} linux${targ}-static \ |
6299b3cd JB |
547 | CC="%{__cc}" \ |
548 | CXX="%{__cxx}" \ | |
1958b417 | 549 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ |
875da849 | 550 | XLIB_DIR=%{_libdir} \ |
1a039c9a | 551 | GLW_SOURCES="GLwDrawA.c%{?with_motif: GLwMDrawA.c}" \ |
0cb33a09 JB |
552 | SRC_DIRS="mesa glu glw" \ |
553 | PROGRAM_DIRS= | |
ddde5931 | 554 | mv -f lib lib-static |
b360f4f6 | 555 | %{__make} realclean |
0cb33a09 | 556 | |
875da849 | 557 | %{__make} linux-dri${targ} \ |
558 | CC="%{__cc}" \ | |
559 | CXX="%{__cxx}" \ | |
9850656e | 560 | MKDEP=makedepend \ |
1958b417 | 561 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ |
875da849 | 562 | XLIB_DIR=%{_libdir} \ |
6f53c8ab | 563 | DRI_DRIVER_SEARCH_DIR=%{_libdir}/xorg/modules/dri \ |
0cb33a09 JB |
564 | SRC_DIRS="glx/x11 mesa glu glw" \ |
565 | PROGRAM_DIRS= | |
0cb33a09 JB |
566 | |
567 | %{__make} -C progs/xdemos \ | |
568 | CC="%{__cc}" \ | |
569 | CXX="%{__cxx}" \ | |
570 | OPT_FLAGS="%{rpmcflags}" \ | |
571 | XLIB_DIR=%{_libdir} \ | |
572 | PROGS="glxgears" \ | |
80227193 | 573 | APP_LIB_DEPS="-L../../lib -lGL" |
0cb33a09 JB |
574 | |
575 | %{__make} -C progs/xdemos \ | |
576 | CC="%{__cc}" \ | |
577 | CXX="%{__cxx}" \ | |
578 | OPT_FLAGS="%{rpmcflags}" \ | |
579 | XLIB_DIR=%{_libdir} \ | |
580 | PROGS="glxinfo" \ | |
80227193 | 581 | APP_LIB_DEPS="-L../../lib -lGL -L../../lib-dri -lGLU" |
11062ced | 582 | |
0e4c97b7 JB |
583 | mv -f lib lib-dri |
584 | %{__make} clean \ | |
585 | MKDEP=makedepend | |
b360f4f6 | 586 | %{__make} realclean |
0e4c97b7 JB |
587 | |
588 | %{__make} linux${targ} \ | |
589 | CC="%{__cc}" \ | |
590 | CXX="%{__cxx}" \ | |
591 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ | |
592 | XLIB_DIR=%{_libdir} \ | |
593 | SRC_DIRS="mesa" \ | |
594 | PROGRAM_DIRS= | |
595 | ||
a0b2836a | 596 | %install |
f5543b17 | 597 | rm -rf $RPM_BUILD_ROOT |
0cb33a09 | 598 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}/GL,%{_examplesdir}/%{name}-%{version}} |
875da849 | 599 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri |
ddde5931 | 600 | |
2a8123a3 | 601 | cp -df lib-static/lib* $RPM_BUILD_ROOT%{_libdir} |
602 | cp -df lib-dri/lib* $RPM_BUILD_ROOT%{_libdir} | |
f445ed6c | 603 | cp -df lib/libOSMesa* $RPM_BUILD_ROOT%{_libdir} |
0cb33a09 | 604 | cp -rf include/GL/{gl[!u]*,glu.h,glu_*,osmesa.h,xmesa*} src/glw/GLw*.h $RPM_BUILD_ROOT%{_includedir}/GL |
875da849 | 605 | cp -df lib-dri/*_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri |
ddde5931 | 606 | |
2ccf84bf AM |
607 | # keep for -bi --short-circuit |
608 | cp -a progs progs.org | |
0cb33a09 | 609 | install progs/xdemos/{glxgears,glxinfo} $RPM_BUILD_ROOT%{_bindir} |
ddde5931 | 610 | for l in demos redbook samples xdemos ; do |
6299b3cd | 611 | %{__make} -C progs/$l clean |
ddde5931 JB |
612 | done |
613 | for l in demos redbook samples util xdemos images ; do | |
0cb33a09 | 614 | cp -Rf progs/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l |
cc0df27a | 615 | done |
2ccf84bf | 616 | rm -rf progs && mv -f progs.org progs |
0cb33a09 | 617 | rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}} |
a0b2836a | 618 | |
abc9e15f JB |
619 | %clean |
620 | rm -rf $RPM_BUILD_ROOT | |
621 | ||
f445ed6c JB |
622 | %post libGL -p /sbin/ldconfig |
623 | %postun libGL -p /sbin/ldconfig | |
624 | ||
625 | %post libGLU -p /sbin/ldconfig | |
626 | %postun libGLU -p /sbin/ldconfig | |
627 | ||
628 | %post libGLw -p /sbin/ldconfig | |
629 | %postun libGLw -p /sbin/ldconfig | |
a0b2836a | 630 | |
f445ed6c | 631 | %files libGL |
e9b3ff7a | 632 | %defattr(644,root,root,755) |
47e56dff | 633 | %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS},RELNOTES*} |
2cb8a00c AM |
634 | %attr(755,root,root) %{_libdir}/libGL.so.* |
635 | %attr(755,root,root) %{_libdir}/libOSMesa.so.* | |
0cb33a09 JB |
636 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
637 | # (and dlopen libGL.so instead of libGL.so.1) | |
638 | %attr(755,root,root) %{_libdir}/libGL.so | |
a0b2836a | 639 | |
f445ed6c | 640 | %files libGL-devel |
e9b3ff7a | 641 | %defattr(644,root,root,755) |
ddde5931 | 642 | %doc docs/*.spec |
abc9e15f | 643 | %attr(755,root,root) %{_libdir}/libOSMesa.so |
debcd977 | 644 | %dir %{_includedir}/GL |
d3dd48bf | 645 | %{_includedir}/GL/gl.h |
e1833810 | 646 | %{_includedir}/GL/glext.h |
2ccf84bf | 647 | %{_includedir}/GL/glfbdev.h |
d3dd48bf | 648 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 649 | %{_includedir}/GL/glx.h |
abc9e15f | 650 | %{_includedir}/GL/glxext.h |
d3dd48bf JR |
651 | %{_includedir}/GL/glx_mangle.h |
652 | %{_includedir}/GL/osmesa.h | |
653 | %{_includedir}/GL/xmesa.h | |
654 | %{_includedir}/GL/xmesa_x.h | |
655 | %{_includedir}/GL/xmesa_xf86.h | |
a0b2836a | 656 | |
f445ed6c | 657 | %files libGL-static |
3855c435 | 658 | %defattr(644,root,root,755) |
11062ced | 659 | %{_libdir}/libGL.a |
f445ed6c JB |
660 | %{_libdir}/libOSMesa.a |
661 | ||
662 | %files libGLU | |
663 | %defattr(644,root,root,755) | |
2cb8a00c | 664 | %attr(755,root,root) %{_libdir}/libGLU.so.* |
f445ed6c JB |
665 | |
666 | %files libGLU-devel | |
667 | %defattr(644,root,root,755) | |
668 | %attr(755,root,root) %{_libdir}/libGLU.so | |
669 | %{_includedir}/GL/glu.h | |
670 | %{_includedir}/GL/glu_mangle.h | |
671 | ||
672 | %files libGLU-static | |
673 | %defattr(644,root,root,755) | |
11062ced | 674 | %{_libdir}/libGLU.a |
f445ed6c JB |
675 | |
676 | %files libGLw | |
677 | %defattr(644,root,root,755) | |
2cb8a00c | 678 | %attr(755,root,root) %{_libdir}/libGLw.so.* |
f445ed6c JB |
679 | |
680 | %files libGLw-devel | |
681 | %defattr(644,root,root,755) | |
682 | %attr(755,root,root) %{_libdir}/libGLw.so | |
683 | %{_includedir}/GL/GLwDrawA.h | |
684 | %{_includedir}/GL/GLwDrawAP.h | |
685 | %{_includedir}/GL/GLwMDrawA.h | |
686 | %{_includedir}/GL/GLwMDrawAP.h | |
687 | ||
688 | %files libGLw-static | |
689 | %defattr(644,root,root,755) | |
0cb33a09 | 690 | %{_libdir}/libGLw.a |
3855c435 | 691 | |
f445ed6c | 692 | %files utils |
e9b3ff7a | 693 | %defattr(644,root,root,755) |
f445ed6c JB |
694 | %attr(755,root,root) %{_bindir}/glxgears |
695 | %attr(755,root,root) %{_bindir}/glxinfo | |
875da849 | 696 | |
afe33c03 | 697 | %files dri-driver-ati-mach64 |
875da849 | 698 | %defattr(644,root,root,755) |
afe33c03 | 699 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so |
700 | ||
701 | %files dri-driver-ati-radeon-R100 | |
702 | %defattr(644,root,root,755) | |
703 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
704 | ||
705 | %files dri-driver-ati-radeon-R200 | |
706 | %defattr(644,root,root,755) | |
707 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
708 | ||
709 | %files dri-driver-ati-radeon-R300 | |
710 | %defattr(644,root,root,755) | |
711 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
712 | ||
713 | %files dri-driver-ati-rage128 | |
714 | %defattr(644,root,root,755) | |
715 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so | |
716 | ||
f445ed6c | 717 | # sunffb (sparc only) |
afe33c03 | 718 | %ifarch sparc sparcv9 sparc64 |
719 | %files dri-driver-ffb | |
720 | %defattr(644,root,root,755) | |
f445ed6c JB |
721 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so |
722 | %endif | |
afe33c03 | 723 | |
724 | # glint (requires update) | |
725 | %if 0 | |
726 | %files dri-driver-glint | |
727 | %defattr(644,root,root,755) | |
728 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so | |
729 | %endif | |
730 | ||
731 | %files dri-driver-intel-i810 | |
732 | %defattr(644,root,root,755) | |
f445ed6c | 733 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so |
afe33c03 | 734 | |
afe33c03 | 735 | %files dri-driver-intel-i915 |
736 | %defattr(644,root,root,755) | |
f445ed6c | 737 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
7f4aec86 | 738 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915tex_dri.so |
afe33c03 | 739 | |
b360f4f6 | 740 | %files dri-driver-intel-i965 |
741 | %defattr(644,root,root,755) | |
742 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
743 | ||
afe33c03 | 744 | %files dri-driver-matrox |
745 | %defattr(644,root,root,755) | |
f445ed6c | 746 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so |
afe33c03 | 747 | |
237cb2a3 JB |
748 | %files dri-driver-nouveau |
749 | %defattr(644,root,root,755) | |
750 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
751 | ||
afe33c03 | 752 | %files dri-driver-s3virge |
753 | %defattr(644,root,root,755) | |
f445ed6c | 754 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/s3v_dri.so |
afe33c03 | 755 | |
756 | %files dri-driver-savage | |
757 | %defattr(644,root,root,755) | |
f445ed6c | 758 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so |
afe33c03 | 759 | |
a71d2e77 | 760 | %ifarch %{ix86} %{x8664} |
afe33c03 | 761 | %files dri-driver-sis |
762 | %defattr(644,root,root,755) | |
f445ed6c | 763 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so |
5b105641 | 764 | %endif |
afe33c03 | 765 | |
766 | %files dri-driver-tdfx | |
767 | %defattr(644,root,root,755) | |
f445ed6c | 768 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so |
afe33c03 | 769 | |
770 | %files dri-driver-trident | |
771 | %defattr(644,root,root,755) | |
f445ed6c | 772 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/trident_dri.so |
afe33c03 | 773 | |
774 | %files dri-driver-via-unichrome | |
775 | %defattr(644,root,root,755) | |
f445ed6c JB |
776 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so |
777 | ||
778 | %files demos | |
779 | %defattr(644,root,root,755) | |
780 | %{_examplesdir}/%{name}-%{version} |