1 %define mesa_version 3.1
2 Summary: Utah-GLX modules and libraries
3 Summary(pl.UTF-8): Moduły i biblioteki Utah-GLX
9 Source0: %{name}-%{version}.tar.bz2
10 # Source0-md5: e822567d4f92a5f864b736f92df35d48
11 Source1: http://dl.sourceforge.net/mesa3d/MesaLib-%{mesa_version}.tar.bz2
12 # Source1-md5: 58292669606fd6b06ee109b790c14c1c
13 Patch1: %{name}-DESTDIR.patch
14 Patch2: %{name}-no_glut_headers.patch
15 URL: http://utah-glx.sourceforge.net/
16 BuildRequires: XFree86-devel
17 BuildRequires: perl-base
19 Requires: XFree86 >= 3.3.5
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Utah-GLX is a module providing GLX protocol support to XFree 3.3.x.
25 The package contains also OpenGL libraries making use of it. Hardware
26 acceleration for following chipsets is supported:
27 - nVidia's Riva 128, Riva TNT and Riva TNT2
28 - Matrox's G200 and G400
34 %description -l pl.UTF-8
35 Utah-GLX jest modułem implementującym protokół GLX dla XFree 3.3.x
36 Pakiet zawiera także biblioteki OpenGL wykorzystujące GLX. Sprzętowa
37 akceleracja jest obsługiwana dla następujących układów:
38 - nVidia's Riva 128, Riva TNT oraz Riva TNT2
39 - Matrox's G200 and G400
46 Summary: Development environment for Utah-GLX
47 Summary(pl.UTF-8): Środowisko programistyczne Utah-GLX
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
53 Header files and documentation needed for development.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe i dokumentacja do Utah-GLX.
64 CFLAGS="%{rpmcflags}" \
67 --with-mesa="./Mesa-%{mesa_version}" \
68 --sysconfdir=%{_sysconfdir}/X11 \
73 --with-x86-asm="yes" \
75 --with-mmx-asm="yes" \
76 --with-3dnow-asm="no" \
80 --with-mmx-asm="yes" \
81 --with-3dnow-asm="yes" \
84 --with-3dnow-asm="no" \
91 --with-3dnow-asm="no" \
99 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/modules,%{_sysconfdir}/X11}
104 DESTDIR=$RPM_BUILD_ROOT
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc docs/{README.*,*.txt} CHANGELOG README LICENSE New-Bugs Bugs-ToDo HISTORY
115 %attr(755,root,root) %{_libdir}/lib*.so.*.*
116 %attr(755,root,root) %{_libdir}/modules/*
117 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/*
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so
122 %attr(755,root,root) %{_includedir}/*