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