Name: libtxc_dxtn Version: 070518 Release: 1%{?dist} Summary: S3 Texture Compression support libraries for Mesa Group: System Environment/Libraries License: MIT URL: http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html Source0: http://homepage.hispeed.ch/rscheidegger/dri_experimental/%{name}070518.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mesa-libGL-devel %description S3 Texture Compression (S3TC) (sometimes also called DXTn or DXTC) is a group of related lossy image compression algorithms originally developed by S3 Graphics, Ltd. Currently, s3tc is supported by libtxc_dxtn on all graphic cards which use the radeon, r200, i830 and i915 driver. Other DRI drivers are not supported, even if the hardware could do it, at least not until someone writes the code for it. %prep %setup -q -n %{name} %build make %{?_smp_mflags} OPT_CFLAGS="%{optflags}" %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc Changelog %{_libdir}/libtxc_dxtn.so %changelog * Tue Apr 28 2009 Andreas Thienemann - 070518-1 - Initial package based on the spec from Rudolf Kastl