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 BuildRoot: /tmp/%{name}-%{version}-root
16 Mesa is a 3-D graphics library with an API which is very similar to that
17 of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
18 or state machine, it is being used with authorization from Silicon Graphics,
19 Inc. However, the author makes no claim that Mesa is in any way a
20 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
21 Those who want a licensed implementation of OpenGL should contact a licensed
22 vendor. This software is distributed under the terms of the GNU Library
23 General Public License, see the LICENSE file for details.
25 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
28 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
29 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
32 Summary: Development environment for Mesa
33 Summary(pl): ¦rodowisko programistyczne biblioteki Mesa
34 Group: Development/Libraries
35 Group(pl): Programowanie/Biblioteki
36 Requires: %{name} = %{version}
39 Header files and documentation needed for development.
41 %description -l pl devel
42 Pliki nag³ówkowe i dokumentacja do Mesy.
45 Summary: Mesa static libraries
46 Summary(pl): Biblioteki statyczne Mesy
47 Group: Development/Libraries
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name}-devel = %{version}
52 The static version of the Mesa libraries
54 %description -l pl static
55 Biblioteki statyczne Mesy.
58 Summary: GLUT library for Mesa
59 Summary(pl): Biblioteka GLUT dla Mesy
61 Group(pl): X11/Biblioteki
62 Requires: %{name} = %{version}
68 %description -l pl glut
72 Summary: GLUT Development environment for Mesa
73 Summary(pl): ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
74 Group: Development/Libraries
75 Group(pl): Programowanie/Biblioteki
76 Requires: %{name} = %{version}
79 %description glut-devel
80 Header files needed for development aplications using GLUT library.
82 %description -l pl glut-devel
83 Pliki nag³ówkowe do biblioteki GLUT.
86 Summary: GLUT static libraries
87 Summary(pl): Biblioteki statyczne do biblioteki GLUT
88 Group: Development/Libraries
89 Group(pl): Programowanie/Biblioteki
90 Requires: %{name}-glut-devel = %{version}
93 %description glut-static
94 The static version of the GLUT library.
96 %description -l pl glut-static
97 Biblioteki statyczne GLUT.
101 Summary(pl): Demonstracje mo¿liwo¶ci biblioteki MESA.
102 Group: Development/Libraries
103 Group(pl): Programowanie/Biblioteki
104 Requires: %{name} = %{version}
107 Demonstration programs for the Mesa libraries.
109 %description -l pl demos
110 Programy demonstracyjne dla biblioteki Mesa.
113 %setup -q -n Mesa-%{version} -b 1
118 make LIBS_ONLY=YES linux-alpha
129 make LIBS_ONLY=YES linux-386
134 %ifarch sparc sparc64
138 (cd widgets-mesa; CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
144 rm -rf $RPM_BUILD_ROOT
145 install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,man/man3}
146 install -d $RPM_BUILD_ROOT/usr/src/examples/Mesa
148 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
149 cp -dpr util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
150 cp -dpr book demos xdemos samples $RPM_BUILD_ROOT/usr/src/examples/Mesa
151 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
153 (cd widgets-mesa; make prefix=$RPM_BUILD_ROOT/usr/X11R6 install )
155 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
157 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
159 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man3/* \
160 FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
162 %post -p /sbin/ldconfig
163 %postun -p /sbin/ldconfig
165 %post -p /sbin/ldconfig glut
166 %postun -p /sbin/ldconfig glut
169 rm -fr $RPM_BUILD_ROOT
172 %defattr(644,root,root,755)
175 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
177 /usr/X11R6/lib/libMesa*.a
181 %defattr(644,root,root,755)
183 %attr(755,root,root) /usr/X11R6/lib/libglut.so.*
185 /usr/X11R6/lib/libglut.a
189 %defattr(644,root,root,755)
190 /usr/X11R6/include/GL/glut.h
192 %attr(755,root,root) /usr/X11R6/lib/libglut.so
197 %defattr(644,root,root,755)
198 /usr/X11R6/lib/libglut.a
202 %defattr(644,root,root,755)
203 %doc {FUTURE,IAFA-PACKAGE,LICENSE,RELNOTES,VERSIONS,README}.gz
204 %doc README.{3DFX,GGI,MGL,QUAKE,VIRGE,X11}.gz
207 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so
210 %dir /usr/X11R6/lib/Mesa
211 /usr/X11R6/lib/Mesa/Make-config
212 /usr/X11R6/lib/Mesa/util
214 %dir /usr/X11R6/include/GL
215 /usr/X11R6/include/GL/*.h
216 /usr/X11R6/man/man3/*
220 %defattr(644,root,root,755)
222 /usr/X11R6/lib/libMesa*.a
225 %defattr(644,root,root,755)
226 %dir /usr/src/examples/Mesa/book
227 %dir /usr/src/examples/Mesa/demos
228 %dir /usr/src/examples/Mesa/samples
229 %dir /usr/src/examples/Mesa/xdemos
231 %attr(-,root,root)/usr/src/examples/Mesa/book/*
232 %attr(-,root,root)/usr/src/examples/Mesa/demos/*
233 %attr(-,root,root)/usr/src/examples/Mesa/samples/*
234 %attr(-,root,root)/usr/src/examples/Mesa/xdemos/*
237 * Mon Mar 8 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
239 - updated URL to http://www.mesa3d.org/,
240 - %doc moved to devel,
241 - added static subpackages,
242 - removed some README files,
243 - removed man group from man pages.
245 * Tue Feb 9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
247 - added gzipping documentation
248 - simplification in %files
249 - fixed pl translations
251 * Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
253 - added LDFLAGS="-s" to ./configure enviroment,
254 - fixed permission on lib*so* files (must be 755),
255 - removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
258 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
261 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
262 - fixing library location.
264 * Thu Oct 1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
266 - fixing access permision.
268 * Wed May 5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
269 - removed declarate %%{version}, %%{name}, %%{release} macros because
271 - removed check $RPM_BUILD_ROOT in %clean and %install,
272 - added "Requires: Mesa = %%{version}" for all subpackages (for
273 keeping corectly dependences),
274 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
275 - added striping shared libs and demos,
276 - added modification in %build wihch allow build Mesa on sparc[64]
278 - all utils and demos instaled in /usr/lib/Mesa,
279 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
280 - added -q %setup parameter.
282 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
283 - updated to final version 2.6
285 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
286 - Fixed thinko in misc patch
287 - build against glibc
289 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
290 - updated to version 2.6beta5
291 - added widget-mesa to the things to be build.
293 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
294 - updated to version 2.6beta4
296 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
297 - updated to version 2.6beta1
299 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
300 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
302 - Moved lib*.so to the devel package, they are only needed for development,
303 not for a runtime environment.
305 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
306 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
309 - added static versions of the libraries. (PPC version seems not to have
310 support for shared versions of the library)
311 - moved static versions of the library and the includes to the new subpackage
313 - targets other than linux-x86 still untested.
314 - added Conflitcs tag
316 - added patch for RPM_OPT_FLAGS support
318 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
319 - Upgraded to Mesa 2.5
320 - Multiarch destinations (untested).
322 - Removed some of the READMEs for other platforms from the binary RPM.