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
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
84 make LIBS_ONLY=YES linux-alpha
95 make LIBS_ONLY=YES linux-386
100 %ifarch sparc sparc64
104 (cd widgets-mesa; autoconf; \
105 LDFLAGS="-s"; export LDFLAGS
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_includedir},%{_mandir}/man3} \
113 $RPM_BUILD_ROOT/usr/src/examples/Mesa
115 cp -dpr lib include $RPM_BUILD_ROOT%{_prefix}
116 cp -dpr util $RPM_BUILD_ROOT%{_libdir}/Mesa
117 cp -dpr book demos xdemos samples $RPM_BUILD_ROOT/usr/src/examples/Mesa
118 install Make-config $RPM_BUILD_ROOT%{_libdir}/Mesa
122 prefix=$RPM_BUILD_ROOT/usr/X11R6 \
123 mandir=$RPM_BUILD_ROOT%{_mandir}/man3)
125 install */lib*.a $RPM_BUILD_ROOT%{_libdir}
127 strip $RPM_BUILD_ROOT%{_libdir}/{lib*so.*.*,Mesa/*/*} || :
129 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
130 docs/{IAFA-PACKAGE,README*,RELNOTES,VERSIONS,CONFIG,CONFORM,COPYRIGHT,DEVINFO,*.spec}
132 %post -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
136 rm -fr $RPM_BUILD_ROOT
139 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/libGL*.so.*.*
149 %defattr(644,root,root,755)
150 %doc docs/{IAFA-PACKAGE,README,RELNOTES,VERSIONS,CONFORM,COPYRIGHT,DEVINFO,*.spec}.gz
151 %doc docs/README.{3DFX,GGI,MGL,QUAKE,X11,THREADS}.gz
154 %attr(755,root,root) %{_libdir}/libGL*.so
158 %{_libdir}/Mesa/Make-config
161 %dir /usr/X11R6/include/GL
162 %{_includedir}/GL/*.h
167 %defattr(644,root,root,755)
172 %defattr(644,root,root,755)
173 %dir /usr/src/examples/Mesa/book
174 %dir /usr/src/examples/Mesa/demos
175 %dir /usr/src/examples/Mesa/samples
176 %dir /usr/src/examples/Mesa/xdemos
178 %attr(-,root,root)/usr/src/examples/Mesa/book/*
179 %attr(-,root,root)/usr/src/examples/Mesa/demos/*
180 %attr(-,root,root)/usr/src/examples/Mesa/samples/*
181 %attr(-,root,root)/usr/src/examples/Mesa/xdemos/*