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