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
11 Patch0: Mesa-paths.patch
12 URL: http://www.mesa3d.org/
13 BuildRequires: XFree86-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
18 %define _mandir %{_prefix}/man
21 Mesa is a 3-D graphics library with an API which is very similar to that of
22 OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or
23 state machine, it is being used with authorization from Silicon Graphics,
24 Inc. However, the author makes no claim that Mesa is in any way a
25 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
26 Those who want a licensed implementation of OpenGL should contact a
27 licensed vendor. This software is distributed under the terms of the GNU
28 Library General Public License, see the LICENSE file for details.
30 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
33 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
35 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
38 Summary: Development environment for Mesa
39 Summary(pl): ¦rodowisko programistyczne biblioteki Mesa
40 Group: Development/Libraries
41 Group(pl): Programowanie/Biblioteki
42 Requires: %{name} = %{version}
43 Provides: OpenGL-devel
46 Header files and documentation needed for development.
48 %description -l pl devel
49 Pliki nag³ówkowe i dokumentacja do Mesy.
52 Summary: Mesa static libraries
53 Summary(pl): Biblioteki statyczne Mesy
54 Group: Development/Libraries
55 Group(pl): Programowanie/Biblioteki
56 Requires: %{name}-devel = %{version}
57 Provides: OpenGL-static
60 The static version of the Mesa libraries
62 %description -l pl static
63 Biblioteki statyczne Mesy.
67 Summary(pl): Demonstracje mo¿liwo¶ci biblioteki MESA.
68 Group: Development/Libraries
69 Group(pl): Programowanie/Biblioteki
70 Requires: %{name} = %{version}
73 Demonstration programs for the Mesa libraries.
75 %description -l pl demos
76 Programy demonstracyjne dla biblioteki Mesa.
79 %setup -q -n Mesa-%{version} -b 1
83 LDFLAGS="-s"; export LDFLAGS
84 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
91 --disable-ggi-genkgi \
115 (cd widgets-mesa; autoconf; \
116 LDFLAGS="-s"; export LDFLAGS
122 rm -rf $RPM_BUILD_ROOT
123 make install DESTDIR=$RPM_BUILD_ROOT
125 install -d $RPM_BUILD_ROOT%{_mandir}/man3
129 prefix=$RPM_BUILD_ROOT%{_prefix} \
130 mandir=$RPM_BUILD_ROOT%{_mandir}/man3)
132 install -d $RPM_BUILD_ROOT/usr/src/examples/Mesa
133 for l in book demos samples xdemos ; do
134 cp -R $l $RPM_BUILD_ROOT/usr/src/examples/Mesa/$l
137 gzip -9nf docs/* || :
139 %post -p /sbin/ldconfig
140 %postun -p /sbin/ldconfig
143 rm -fr $RPM_BUILD_ROOT
146 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/libGL*.so.*.*
151 %defattr(644,root,root,755)
152 %doc docs/{IAFA-PACKAGE,README,RELNOTES-*,VERSIONS,CONFORM,COPYRIGHT,DEVINFO,*.spec}.gz
153 %doc docs/README.{3DFX,GGI,MGL,QUAKE,X11,THREADS}.gz
154 %attr(755,root,root) %{_libdir}/libGL*.so
156 %dir /usr/X11R6/include/GL
157 %{_includedir}/GL/*.h
161 %defattr(644,root,root,755)
165 %defattr(644,root,root,755)
166 %dir /usr/src/examples/Mesa/book
167 %dir /usr/src/examples/Mesa/demos
168 %dir /usr/src/examples/Mesa/samples
169 %dir /usr/src/examples/Mesa/xdemos
171 %doc /usr/src/examples/Mesa/book/*
172 %doc /usr/src/examples/Mesa/demos/*
173 %doc /usr/src/examples/Mesa/samples/*
174 %doc /usr/src/examples/Mesa/xdemos/*