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
11 URL: http://www.ssec.wisc.edu/~brianp/Mesa.html
12 BuildRoot: /tmp/%{name}-%{version}-root
13 Patch: Mesa-3.0-misc.diff
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 Requires: Mesa = %{version}
36 Group: Development/Libraries
37 Group(pl): Programowanie/Biblioteki
40 The static version of the Mesa libraries and include files needed for
43 %description -l pl devel
44 Wersja biblioteki MESA linkowana statycznie wraz z plikami nag³ówkowymi.
47 Summary: GLUT library for Mesa
48 Summary(pl): Biblioteka GLUT dla Mesy
50 Group(pl): X11/Biblioteki
51 Requires: Mesa = %{version}
57 %description -l pl glut
61 Summary: GLUT Development environment for Mesa
62 Summary(pl): ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
63 Group: Development/Libraries
64 Group(pl): Programowanie/Biblioteki
65 Requires: Mesa = %{version}
68 %description glut-devel
69 The static version of the GLUT library and include files needed for
72 %description -l pl glut-devel
73 Statycznie linkowana wersja biblioteki GLUT wraz z plikami naglowkowymi
74 potrzebnymi do pisania programow.
78 Summary(pl): Demonstrace mo¿liwo¶ci biblioteki MESA.
79 Group: Development/Libraries
80 Group(pl): Programowanie/Biblioteki
83 Demonstration programs for the Mesa libraries.
85 %description -l pl demos
86 Programy demonstracyjne dla biblioteki Mesa.
89 %setup -q -n Mesa-%{version} -b 1
94 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBS_ONLY=YES linux-alpha
96 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" linux-alpha-elf
100 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" linux-ppc
105 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBS_ONLY=YES linux-386
107 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" linux-386-elf
110 %ifarch sparc sparc64
111 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" linux-elf
114 (cd widgets-mesa; CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6/; make )
117 rm -fr $RPM_BUILD_ROOT
118 install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,man/man3}
120 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
121 cp -dpr book demos xdemos samples util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
122 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
124 (cd widgets-mesa; make prefix=$RPM_BUILD_ROOT/usr/X11R6 install )
126 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
128 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
130 cd $RPM_BUILD_ROOT/usr/X11R6/man/man3
134 rm -fr $RPM_BUILD_ROOT $RPM_BUILD_DIR/%name-%version
136 %post -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
141 %defattr(644, root, root, 755)
142 %doc FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
145 /usr/X11R6/lib/libMesa*.so.*.*
147 /usr/X11R6/lib/libMesa*.a
151 %defattr(644, root, root, 755)
153 /usr/X11R6/lib/libglut.so.*
155 /usr/X11R6/lib/libglut.a
159 %defattr(644, root, root, 755)
161 /usr/X11R6/lib/libglut.so
162 /usr/X11R6/lib/libglut.a
164 /usr/X11R6/include/GL/glut.h
167 %defattr(644, root, root, 755)
169 /usr/X11R6/lib/libMesa*.so
170 /usr/X11R6/lib/libMesa*.a
173 %dir /usr/X11R6/lib/Mesa
174 /usr/X11R6/lib/Mesa/Make-config
175 %dir /usr/X11R6/lib/Mesa/util
176 /usr/X11R6/lib/Mesa/util/*
178 %dir /usr/X11R6/include/GL
179 /usr/X11R6/include/GL/*.h
180 %attr(644, root, man) /usr/X11R6/man/man3/*.gz
183 %defattr(644, root, root, 755)
184 %dir /usr/X11R6/lib/Mesa/book
185 %dir /usr/X11R6/lib/Mesa/demos
186 %dir /usr/X11R6/lib/Mesa/samples
187 %dir /usr/X11R6/lib/Mesa/xdemos
189 %attr(-, root, root)/usr/X11R6/lib/Mesa/book/*
190 %attr(-, root, root)/usr/X11R6/lib/Mesa/demos/*
191 %attr(-, root, root)/usr/X11R6/lib/Mesa/samples/*
192 %attr(-, root, root)/usr/X11R6/lib/Mesa/xdemos/*
195 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
198 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
199 - fixing library location.
201 * Thu Oct 1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
202 - fixing access permision.
204 * Wed Sep 30 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
205 - updated to Mesa 3.0.
207 * Thu Aug 27 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
208 - updated to Mesa 3.0 beta 8.
210 * Mon Aug 3 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
211 - uptated to Mesa 3.0 beta 7.
213 * Thu Jul 23 1998 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
214 - updated to Mesa 3.0 Beta 6.
216 * Wed May 5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
217 - removed declarate %%{version}, %%{name}, %%{release} macros because
219 - removed check $RPM_BUILD_ROOT in %clean and %install,
220 - added "Requires: Mesa = %%{version}" for all subpackages (for
221 keeping corectly dependences),
222 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
223 - added striping shared libs and demos,
224 - added modification in %build wihch allow build Mesa on sparc[64]
226 - all utils and demos instaled in /usr/lib/Mesa,
227 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
228 - added -q %setup parameter.
230 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
231 - updated to final version 2.6
233 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
234 - Fixed thinko in misc patch
235 - build against glibc
237 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
238 - updated to version 2.6beta5
239 - added widget-mesa to the things to be build.
241 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
242 - updated to version 2.6beta4
244 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
245 - updated to version 2.6beta1
247 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
248 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
250 - Moved lib*.so to the devel package, they are only needed for development,
251 not for a runtime environment.
253 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
254 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
257 - added static versions of the libraries. (PPC version seems not to have
258 support for shared versions of the library)
259 - moved static versions of the library and the includes to the new subpackage
261 - targets other than linux-x86 still untested.
262 - added Conflitcs tag
264 - added patch for RPM_OPT_FLAGS support
266 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
267 - Upgraded to Mesa 2.5
268 - Multiarch destinations (untested).
270 - Removed some of the READMEs for other platforms from the binary RPM.