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 Patch1: Mesa-libname.patch
13 URL: http://www.mesa3d.org/
14 BuildRequires: XFree86-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _prefix /usr/X11R6
19 %define _mandir %{_prefix}/man
22 Mesa is a 3-D graphics library with an API which is very similar to that of
23 OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or
24 state machine, it is being used with authorization from Silicon Graphics,
25 Inc. However, the author makes no claim that Mesa is in any way a
26 compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
27 Those who want a licensed implementation of OpenGL should contact a
28 licensed vendor. This software is distributed under the terms of the GNU
29 Library General Public License, see the LICENSE file for details.
31 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc.
34 Mesa jest bibliotek± 3D bêd±c± darmowym odpowiednikiem standartu OpenGL(*).
36 * OpenGL jest zastrze¿onym znakiem towarowym firmy Silicon Graphics, Inc.
39 Summary: Development environment for Mesa
40 Summary(pl): ¦rodowisko programistyczne biblioteki Mesa
41 Group: Development/Libraries
42 Group(pl): Programowanie/Biblioteki
43 Requires: %{name} = %{version}
44 Provides: OpenGL-devel
47 Header files and documentation needed for development.
49 %description -l pl devel
50 Pliki nag³ówkowe i dokumentacja do Mesy.
53 Summary: Mesa static libraries
54 Summary(pl): Biblioteki statyczne Mesy
55 Group: Development/Libraries
56 Group(pl): Programowanie/Biblioteki
57 Requires: %{name}-devel = %{version}
58 Provides: OpenGL-static
61 The static version of the Mesa libraries
63 %description -l pl static
64 Biblioteki statyczne Mesy.
68 Summary(pl): Demonstracje mo¿liwo¶ci biblioteki MESA.
69 Group: Development/Libraries
70 Group(pl): Programowanie/Biblioteki
71 Requires: %{name} = %{version}
74 Demonstration programs for the Mesa libraries.
76 %description -l pl demos
77 Programy demonstracyjne dla biblioteki Mesa.
80 %setup -q -n Mesa-%{version} -b 1
85 LDFLAGS="-s"; export LDFLAGS
86 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
93 --disable-ggi-genkgi \
117 (cd widgets-mesa; autoconf; \
118 LDFLAGS="-s"; export LDFLAGS
124 rm -rf $RPM_BUILD_ROOT
125 make install DESTDIR=$RPM_BUILD_ROOT
127 install -d $RPM_BUILD_ROOT%{_mandir}/man3
131 prefix=$RPM_BUILD_ROOT%{_prefix} \
132 mandir=$RPM_BUILD_ROOT%{_mandir}/man3)
134 install -d $RPM_BUILD_ROOT/usr/src/examples/Mesa
135 for l in book demos samples xdemos ; do
136 cp -R $l $RPM_BUILD_ROOT/usr/src/examples/Mesa/$l
139 gzip -9nf docs/* || :
141 %post -p /sbin/ldconfig
142 %postun -p /sbin/ldconfig
145 rm -fr $RPM_BUILD_ROOT
148 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libGL*.so.*.*
153 %defattr(644,root,root,755)
154 %doc docs/{IAFA-PACKAGE,README,RELNOTES,VERSIONS,CONFORM,COPYRIGHT,DEVINFO,*.spec}.gz
155 %doc docs/README.{3DFX,GGI,MGL,QUAKE,X11,THREADS}.gz
156 %attr(755,root,root) %{_libdir}/libGL*.so
158 %dir /usr/X11R6/include/GL
159 %{_includedir}/GL/*.h
163 %defattr(644,root,root,755)
167 %defattr(644,root,root,755)
168 %dir /usr/src/examples/Mesa/book
169 %dir /usr/src/examples/Mesa/demos
170 %dir /usr/src/examples/Mesa/samples
171 %dir /usr/src/examples/Mesa/xdemos
173 %doc /usr/src/examples/Mesa/book/*
174 %doc /usr/src/examples/Mesa/demos/*
175 %doc /usr/src/examples/Mesa/samples/*
176 %doc /usr/src/examples/Mesa/xdemos/*