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.ssec.wisc.edu/~brianp/Mesa.html
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 The static version of the Mesa libraries and include files needed for
42 %description -l pl devel
43 Wersja biblioteki MESA linkowana statycznie wraz z plikami nag³ówkowymi.
46 Summary: GLUT library for Mesa
47 Summary(pl): Biblioteka GLUT dla Mesy
49 Group(pl): X11/Biblioteki
50 Requires: %{name} = %{version}
56 %description -l pl glut
60 Summary: GLUT Development environment for Mesa
61 Summary(pl): ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
62 Group: Development/Libraries
63 Group(pl): Programowanie/Biblioteki
64 Requires: %{name} = %{version}
67 %description glut-devel
68 The static version of the GLUT library and include files needed for
71 %description -l pl glut-devel
72 Statycznie linkowana wersja biblioteki GLUT wraz z plikami naglowkowymi
73 potrzebnymi do pisania programow.
77 Summary(pl): Demonstrace mo¿liwo¶ci biblioteki MESA.
78 Group: Development/Libraries
79 Group(pl): Programowanie/Biblioteki
80 Requires: %{name} = %{version}
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 LIBS_ONLY=YES linux-alpha
105 make LIBS_ONLY=YES linux-386
110 %ifarch sparc sparc64
114 (cd widgets-mesa; CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
120 rm -fr $RPM_BUILD_ROOT
121 install -d $RPM_BUILD_ROOT/usr/X11R6/{lib/Mesa,include,man/man3}
123 cp -dpr lib include $RPM_BUILD_ROOT/usr/X11R6
124 cp -dpr book demos xdemos samples util $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
125 install Make-config $RPM_BUILD_ROOT/usr/X11R6/lib/Mesa
127 (cd widgets-mesa; make prefix=$RPM_BUILD_ROOT/usr/X11R6 install )
129 install */lib*.a $RPM_BUILD_ROOT/usr/X11R6/lib
131 strip $RPM_BUILD_ROOT/usr/X11R6/lib/{lib*so.*.*,Mesa/*/*} ||
133 gzip -9nf * $RPM_BUILD_ROOT/usr/X11R6/man/man3/*
136 rm -fr $RPM_BUILD_ROOT $RPM_BUILD_DIR/%name-%version
138 %post -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
142 %defattr(644,root,root,755)
143 %doc FUTURE IAFA-PACKAGE LICENSE README* RELNOTES VERSIONS
146 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so.*.*
148 /usr/X11R6/lib/libMesa*.a
152 %defattr(644,root,root,755)
154 %attr(755,root,root) /usr/X11R6/lib/libglut.so.*
156 /usr/X11R6/lib/libglut.a
160 %defattr(644,root,root,755)
162 %attr(755,root,root) /usr/X11R6/lib/libglut.so
163 /usr/X11R6/lib/libglut.a
165 /usr/X11R6/include/GL/glut.h
168 %defattr(644,root,root,755)
170 %attr(755,root,root) /usr/X11R6/lib/libMesa*.so
171 /usr/X11R6/lib/libMesa*.a
174 %dir /usr/X11R6/lib/Mesa
175 /usr/X11R6/lib/Mesa/Make-config
176 %dir /usr/X11R6/lib/Mesa/util
177 /usr/X11R6/lib/Mesa/util/*
179 %dir /usr/X11R6/include/GL
180 /usr/X11R6/include/GL/*.h
181 %attr(644,root, man) /usr/X11R6/man/man3/*
184 %defattr(644,root,root,755)
185 %dir /usr/X11R6/lib/Mesa/book
186 %dir /usr/X11R6/lib/Mesa/demos
187 %dir /usr/X11R6/lib/Mesa/samples
188 %dir /usr/X11R6/lib/Mesa/xdemos
190 %attr(-,root,root)/usr/X11R6/lib/Mesa/book/*
191 %attr(-,root,root)/usr/X11R6/lib/Mesa/demos/*
192 %attr(-,root,root)/usr/X11R6/lib/Mesa/samples/*
193 %attr(-,root,root)/usr/X11R6/lib/Mesa/xdemos/*
196 * Sat Jan 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
198 - added LDFLAGS="-s" to ./configure enviroment,
199 - fixed permission on lib*so* files (must be 755),
200 - removed RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make parameters
203 * Sat Jan 23 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
206 * Thu Jan 12 1999 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
207 - fixing library location.
209 * Thu Oct 1 1998 Wojciech "Sas" Cieciwa <cieciwa@alpha.zarz.agh.edu.pl>
211 - fixing access permision.
213 * Wed May 5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
214 - removed declarate %%{version}, %%{name}, %%{release} macros because
216 - removed check $RPM_BUILD_ROOT in %clean and %install,
217 - added "Requires: Mesa = %%{version}" for all subpackages (for
218 keeping corectly dependences),
219 - in Mesa-glut* packages changed "Conflict:" to "Obsoletes:",
220 - added striping shared libs and demos,
221 - added modification in %build wihch allow build Mesa on sparc[64]
223 - all utils and demos instaled in /usr/lib/Mesa,
224 - added %defattr macros in %files (on rebuild require rpm >= 2.4.99),
225 - added -q %setup parameter.
227 * Thu Feb 12 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
228 - updated to final version 2.6
230 * Thu Feb 05 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
231 - Fixed thinko in misc patch
232 - build against glibc
234 * Sat Jan 31 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
235 - updated to version 2.6beta5
236 - added widget-mesa to the things to be build.
238 * Mon Jan 26 1998 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
239 - updated to version 2.6beta4
241 * Sun Dec 14 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
242 - updated to version 2.6beta1
244 * Sat Dec 13 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
245 - Moved GLUT into a separate subpackage and added an Obsoletes tag to this
247 - Moved lib*.so to the devel package, they are only needed for development,
248 not for a runtime environment.
250 * Sat Nov 29 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
251 - added patches from ftp://iris.ssec.wisc.edu/pub/Mesa/patches_to_2.5
254 - added static versions of the libraries. (PPC version seems not to have
255 support for shared versions of the library)
256 - moved static versions of the library and the includes to the new subpackage
258 - targets other than linux-x86 still untested.
259 - added Conflitcs tag
261 - added patch for RPM_OPT_FLAGS support
263 * Fri Nov 21 1997 Karsten Weiss <karsten@addx.au.s.shuttle.de>
264 - Upgraded to Mesa 2.5
265 - Multiarch destinations (untested).
267 - Removed some of the READMEs for other platforms from the binary RPM.