1 Summary: Free OpenGL implementation. Runtime environment
2 Summary(pl): Bezp³atna implementacja standardu OpenGL
8 Group(pl): X11/Biblioteki
9 Source0: ftp://ftp.mesa3d.org/mesa/%{name}Lib-%{version}.tar.bz2
10 Source1: ftp://ftp.mesa3d.org/mesa/%{name}Demos-%{version}.tar.bz2
12 URL: http://www.mesa3d.org/
13 BuildRequires: XFree86-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
17 %define _mandir %{_prefix}/man
20 Mesa is a 3-D graphics library with an API which is very similar to that of
21 OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or
22 state machine, it is being used with authorization from Silicon Graphics,
23 Inc. However, the author makes no claim that Mesa is in any way a
24 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
25 Those who want a licensed implementation of OpenGL should contact a
26 licensed vendor. This software is distributed under the terms of the GNU
27 Library General Public License, see the LICENSE file for details.
29 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
32 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
34 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
37 Summary: Development environment for Mesa
38 Summary(pl): ¦rodowisko programistyczne biblioteki Mesa
39 Group: Development/Libraries
40 Group(pl): Programowanie/Biblioteki
41 Requires: %{name} = %{version}
44 Header files and documentation needed for development.
46 %description -l pl devel
47 Pliki nag³ówkowe i dokumentacja do Mesy.
50 Summary: Mesa static libraries
51 Summary(pl): Biblioteki statyczne Mesy
52 Group: Development/Libraries
53 Group(pl): Programowanie/Biblioteki
54 Requires: %{name}-devel = %{version}
57 The static version of the Mesa libraries
59 %description -l pl static
60 Biblioteki statyczne Mesy.
63 Summary: GLUT library for Mesa
64 Summary(pl): Biblioteka GLUT dla Mesy
66 Group(pl): X11/Biblioteki
67 Requires: %{name} = %{version}
73 %description -l pl glut
77 Summary: GLUT Development environment for Mesa
78 Summary(pl): ¦rodowisko programistyczne 'GLUT' dla biblioteki MESA.
79 Group: Development/Libraries
80 Group(pl): Programowanie/Biblioteki
81 Requires: %{name} = %{version}
84 %description glut-devel
85 Header files needed for development aplications using GLUT library.
87 %description -l pl glut-devel
88 Pliki nag³ówkowe do biblioteki GLUT.
91 Summary: GLUT static libraries
92 Summary(pl): Biblioteki statyczne do biblioteki GLUT
93 Group: Development/Libraries
94 Group(pl): Programowanie/Biblioteki
95 Requires: %{name}-glut-devel = %{version}
98 %description glut-static
99 The static version of the GLUT library.
101 %description -l pl glut-static
102 Biblioteki statyczne GLUT.
106 Summary(pl): Demonstracje mo¿liwo¶ci biblioteki MESA.
107 Group: Development/Libraries
108 Group(pl): Programowanie/Biblioteki
109 Requires: %{name} = %{version}
112 Demonstration programs for the Mesa libraries.
114 %description -l pl demos
115 Programy demonstracyjne dla biblioteki Mesa.
118 %setup -q -n Mesa-%{version} -b 1
123 make LIBS_ONLY=YES linux-alpha
134 make LIBS_ONLY=YES linux-386
139 %ifarch sparc sparc64
143 (cd widgets-mesa; autoconf; \
144 LDFLAGS="-s"; export LDFLAGS
150 rm -rf $RPM_BUILD_ROOT
151 install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_includedir},%{_mandir}/man3} \
152 $RPM_BUILD_ROOT/usr/src/examples/Mesa
154 cp -dpr lib include $RPM_BUILD_ROOT%{_prefix}
155 cp -dpr util $RPM_BUILD_ROOT%{_libdir}/Mesa
156 cp -dpr book demos xdemos samples $RPM_BUILD_ROOT/usr/src/examples/Mesa
157 install Make-config $RPM_BUILD_ROOT%{_libdir}/Mesa
161 prefix=$RPM_BUILD_ROOT/usr/X11R6 \
162 mandir=$RPM_BUILD_ROOT%{_mandir}/man3)
164 install */lib*.a $RPM_BUILD_ROOT%{_libdir}
166 strip $RPM_BUILD_ROOT%{_libdir}/{lib*so.*.*,Mesa/*/*} || :
168 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
169 docs/{IAFA-PACKAGE,README*,RELNOTES,VERSIONS,CONFIG,CONFORM,COPYRIGHT,DEVINFO,*.spec}
171 %post -p /sbin/ldconfig
172 %postun -p /sbin/ldconfig
174 %post -p /sbin/ldconfig glut
175 %postun -p /sbin/ldconfig glut
178 rm -fr $RPM_BUILD_ROOT
181 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/libGL*.so.*.*
191 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/libglut.so.*
199 %defattr(644,root,root,755)
200 %{_includedir}/GL/glut.h
202 %attr(755,root,root) %{_libdir}/libglut.so
207 %defattr(644,root,root,755)
212 %defattr(644,root,root,755)
213 %doc docs/{IAFA-PACKAGE,README,RELNOTES,VERSIONS,CONFORM,COPYRIGHT,DEVINFO,*.spec}.gz
214 %doc docs/README.{3DFX,GGI,MGL,QUAKE,X11,THREADS}.gz
217 %attr(755,root,root) %{_libdir}/libGL*.so
221 %{_libdir}/Mesa/Make-config
224 %dir /usr/X11R6/include/GL
225 %{_includedir}/GL/*.h
230 %defattr(644,root,root,755)
235 %defattr(644,root,root,755)
236 %dir /usr/src/examples/Mesa/book
237 %dir /usr/src/examples/Mesa/demos
238 %dir /usr/src/examples/Mesa/samples
239 %dir /usr/src/examples/Mesa/xdemos
241 %attr(-,root,root)/usr/src/examples/Mesa/book/*
242 %attr(-,root,root)/usr/src/examples/Mesa/demos/*
243 %attr(-,root,root)/usr/src/examples/Mesa/samples/*
244 %attr(-,root,root)/usr/src/examples/Mesa/xdemos/*