1 Summary: Free OpenGL implementation. Runtime environment
2 Summary(pl): Bezp³atna implementacja standardu OpenGL
8 Group(pl): X11/Biblioteki
9 Source0: ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Lib-%{version}.tar.gz
10 Source1: ftp://iris.ssec.wisc.edu/pub/Mesa/%{name}Demos-%{version}.tar.gz
12 URL: http://www.mesa3d.org/
13 BuildPrereq: XFree86-devel
14 BuildRoot: /tmp/%{name}-%{version}-root
17 Mesa is a 3-D graphics library with an API which is very similar to that
18 of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
19 or state machine, it is being used with authorization from Silicon Graphics,
20 Inc. However, the author makes no claim that Mesa is in any way a
21 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
22 Those who want a licensed implementation of OpenGL should contact a licensed
23 vendor. This software is distributed under the terms of the GNU Library
24 General Public License, see the LICENSE file for details.
26 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
29 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
30 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
33 Summary: Development environment for Mesa
34 Summary(pl): ¦rodowisko programistyczne biblioteki Mesa
35 Group: Development/Libraries
36 Group(pl): Programowanie/Biblioteki
37 Requires: %{name} = %{version}
40 Header files and documentation needed for development.
42 %description -l pl devel
43 Pliki nag³ówkowe i dokumentacja do Mesy.
46 Summary: Mesa static libraries
47 Summary(pl): Biblioteki statyczne Mesy
48 Group: Development/Libraries
49 Group(pl): Programowanie/Biblioteki
50 Requires: %{name}-devel = %{version}
53 The static version of the Mesa libraries
55 %description -l pl static
56 Biblioteki statyczne Mesy.
59 Summary: GLUT library for Mesa
60 Summary(pl): Biblioteka GLUT dla Mesy
62 Group(pl): X11/Biblioteki
63 Requires: %{name} = %{version}
69 %description -l pl glut
73 Summary: GLUT Development environment for Mesa
74 Summary(pl): ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
75 Group: Development/Libraries
76 Group(pl): Programowanie/Biblioteki
77 Requires: %{name} = %{version}
80 %description glut-devel
81 Header files needed for development aplications using GLUT library.
83 %description -l pl glut-devel
84 Pliki nag³ówkowe do biblioteki GLUT.
87 Summary: GLUT static libraries
88 Summary(pl): Biblioteki statyczne do biblioteki GLUT
89 Group: Development/Libraries
90 Group(pl): Programowanie/Biblioteki
91 Requires: %{name}-glut-devel = %{version}
94 %description glut-static
95 The static version of the GLUT library.
97 %description -l pl glut-static
98 Biblioteki statyczne GLUT.
102 Summary(pl): Demonstracje mo¿liwo¶ci biblioteki MESA.
103 Group: Development/Libraries
104 Group(pl): Programowanie/Biblioteki
105 Requires: %{name} = %{version}
108 Demonstration programs for the Mesa libraries.
110 %description -l pl demos
111 Programy demonstracyjne dla biblioteki Mesa.
114 %setup -q -n Mesa-%{version} -b 1
119 make LIBS_ONLY=YES linux-alpha
130 make LIBS_ONLY=YES linux-386
135 %ifarch sparc sparc64
139 (cd widgets-mesa; autoconf; \
140 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
146 rm -rf $RPM_BUILD_ROOT
147 install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,share/man/man3}
148 install -d $RPM_BUILD_ROOT/usr/src/examples/Mesa
150 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
151 cp -dpr util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
152 cp -dpr book demos xdemos samples $RPM_BUILD_ROOT/usr/src/examples/Mesa
153 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
157 prefix=$RPM_BUILD_ROOT/usr/X11R6 \
158 mandir=$RPM_BUILD_ROOT/usr/X11R6/share/man/man3)
160 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
162 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
164 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/share/man/man3/* \
165 FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
167 %post -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
170 %post -p /sbin/ldconfig glut
171 %postun -p /sbin/ldconfig glut
174 rm -fr $RPM_BUILD_ROOT
177 %defattr(644,root,root,755)
180 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
182 /usr/X11R6/lib/libMesa*.a
186 %defattr(644,root,root,755)
188 %attr(755,root,root) /usr/X11R6/lib/libglut.so.*
190 /usr/X11R6/lib/libglut.a
194 %defattr(644,root,root,755)
195 /usr/X11R6/include/GL/glut.h
197 %attr(755,root,root) /usr/X11R6/lib/libglut.so
202 %defattr(644,root,root,755)
203 /usr/X11R6/lib/libglut.a
207 %defattr(644,root,root,755)
208 %doc {FUTURE,IAFA-PACKAGE,LICENSE,RELNOTES,VERSIONS,README}.gz
209 %doc README.{3DFX,GGI,MGL,QUAKE,VIRGE,X11}.gz
212 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so
215 %dir /usr/X11R6/lib/Mesa
216 /usr/X11R6/lib/Mesa/Make-config
217 /usr/X11R6/lib/Mesa/util
219 %dir /usr/X11R6/include/GL
220 /usr/X11R6/include/GL/*.h
221 /usr/X11R6/share/man/man3/*
225 %defattr(644,root,root,755)
227 /usr/X11R6/lib/libMesa*.a
230 %defattr(644,root,root,755)
231 %dir /usr/src/examples/Mesa/book
232 %dir /usr/src/examples/Mesa/demos
233 %dir /usr/src/examples/Mesa/samples
234 %dir /usr/src/examples/Mesa/xdemos
236 %attr(-,root,root)/usr/src/examples/Mesa/book/*
237 %attr(-,root,root)/usr/src/examples/Mesa/demos/*
238 %attr(-,root,root)/usr/src/examples/Mesa/samples/*
239 %attr(-,root,root)/usr/src/examples/Mesa/xdemos/*
242 * Mon May 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
244 - now package is FHS 2.0 compiliat.
246 * Mon Mar 8 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
248 - updated URL to http://www.mesa3d.org/,
249 - %doc moved to devel,
250 - added static subpackages,
251 - removed some README files,
252 - removed man group from man pages.
254 * Tue Feb 9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
256 - added gzipping documentation
257 - simplification in %files
258 - fixed pl translations
260 * Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
262 - added LDFLAGS="-s" to ./configure enviroment,
263 - fixed permission on lib*so* files (must be 755),
264 - removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
267 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
270 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
271 - fixing library location.
273 * Thu Oct 1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
275 - fixing access permision.
277 * Wed May 5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
278 - removed declarate %%{version}, %%{name}, %%{release} macros because
280 - removed check $RPM_BUILD_ROOT in %clean and %install,
281 - added "Requires: Mesa = %%{version}" for all subpackages (for
282 keeping corectly dependences),
283 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
284 - added striping shared libs and demos,
285 - added modification in %build wihch allow build Mesa on sparc[64]
287 - all utils and demos instaled in /usr/lib/Mesa,
288 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
289 - added -q %setup parameter.
291 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
292 - updated to final version 2.6
294 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
295 - Fixed thinko in misc patch
296 - build against glibc
298 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
299 - updated to version 2.6beta5
300 - added widget-mesa to the things to be build.
302 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
303 - updated to version 2.6beta4
305 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
306 - updated to version 2.6beta1
308 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
309 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
311 - Moved lib*.so to the devel package, they are only needed for development,
312 not for a runtime environment.
314 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
315 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
318 - added static versions of the libraries. (PPC version seems not to have
319 support for shared versions of the library)
320 - moved static versions of the library and the includes to the new subpackage
322 - targets other than linux-x86 still untested.
323 - added Conflitcs tag
325 - added patch for RPM_OPT_FLAGS support
327 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
328 - Upgraded to Mesa 2.5
329 - Multiarch destinations (untested).
331 - Removed some of the READMEs for other platforms from the binary RPM.