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³owkowe i dokumentacja do Mesy.
45 Summary: Mesa static libraries
46 Summary(pl): Biblioteki satyczne 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 satyczne 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³owkowe 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): Demonstrace 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}
147 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
148 cp -dpr book demos xdemos samples util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
149 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
151 (cd widgets-mesa; make prefix=$RPM_BUILD_ROOT/usr/X11R6 install )
153 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
155 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
157 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man3/*
158 gzip -9nf FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
160 %post -p /sbin/ldconfig
161 %postun -p /sbin/ldconfig
163 %post -p /sbin/ldconfig glut
164 %postun -p /sbin/ldconfig glut
167 rm -fr $RPM_BUILD_ROOT
170 %defattr(644,root,root,755)
173 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
175 /usr/X11R6/lib/libMesa*.a
179 %defattr(644,root,root,755)
181 %attr(755,root,root) /usr/X11R6/lib/libglut.so.*
183 /usr/X11R6/lib/libglut.a
187 %defattr(644,root,root,755)
188 /usr/X11R6/include/GL/glut.h
190 %attr(755,root,root) /usr/X11R6/lib/libglut.so
195 %attr(644,root,root) /usr/X11R6/lib/libglut.a
199 %defattr(644,root,root,755)
200 %doc {FUTURE,IAFA-PACKAGE,LICENSE,RELNOTES,VERSIONS,README}.gz
201 %doc README.{3DFX,GGI,MGL,QUAKE,VIRGE,X11}.gz
204 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so
210 %attr(644,root,root) /usr/X11R6/lib/libMesa*.a
212 %dir /usr/X11R6/lib/Mesa
213 /usr/X11R6/lib/Mesa/Make-config
214 /usr/X11R6/lib/Mesa/util
216 %dir /usr/X11R6/include/GL
217 /usr/X11R6/include/GL/*.h
218 /usr/X11R6/man/man3/*
221 %defattr(644,root,root,755)
222 %dir /usr/X11R6/lib/Mesa/book
223 %dir /usr/X11R6/lib/Mesa/demos
224 %dir /usr/X11R6/lib/Mesa/samples
225 %dir /usr/X11R6/lib/Mesa/xdemos
227 %attr(-,root,root)/usr/X11R6/lib/Mesa/book/*
228 %attr(-,root,root)/usr/X11R6/lib/Mesa/demos/*
229 %attr(-,root,root)/usr/X11R6/lib/Mesa/samples/*
230 %attr(-,root,root)/usr/X11R6/lib/Mesa/xdemos/*
233 * Mon Mar 8 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
235 - updated URL to http://www.mesa3d.org/,
236 - %doc moved to devel,
237 - added static subpackages,
238 - removed some README files,
239 - removed man group from man pages.
241 * Tue Feb 9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
243 - added gzipping documentation
244 - simplification in %files
245 - fixed pl translations
247 * Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
249 - added LDFLAGS="-s" to ./configure enviroment,
250 - fixed permission on lib*so* files (must be 755),
251 - removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
254 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
257 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
258 - fixing library location.
260 * Thu Oct 1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
262 - fixing access permision.
264 * Wed May 5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
265 - removed declarate %%{version}, %%{name}, %%{release} macros because
267 - removed check $RPM_BUILD_ROOT in %clean and %install,
268 - added "Requires: Mesa = %%{version}" for all subpackages (for
269 keeping corectly dependences),
270 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
271 - added striping shared libs and demos,
272 - added modification in %build wihch allow build Mesa on sparc[64]
274 - all utils and demos instaled in /usr/lib/Mesa,
275 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
276 - added -q %setup parameter.
278 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
279 - updated to final version 2.6
281 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
282 - Fixed thinko in misc patch
283 - build against glibc
285 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
286 - updated to version 2.6beta5
287 - added widget-mesa to the things to be build.
289 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
290 - updated to version 2.6beta4
292 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
293 - updated to version 2.6beta1
295 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
296 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
298 - Moved lib*.so to the devel package, they are only needed for development,
299 not for a runtime environment.
301 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
302 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
305 - added static versions of the libraries. (PPC version seems not to have
306 support for shared versions of the library)
307 - moved static versions of the library and the includes to the new subpackage
309 - targets other than linux-x86 still untested.
310 - added Conflitcs tag
312 - added patch for RPM_OPT_FLAGS support
314 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
315 - Upgraded to Mesa 2.5
316 - Multiarch destinations (untested).
318 - Removed some of the READMEs for other platforms from the binary RPM.