Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 2184549e7a3cef1000f05812997f5783 > files > 1

libtxc_dxtn-070518-1plf2010.0.src.rpm

%define libname %mklibname txc-dxtn
%define distsuffix plf

Name: libtxc_dxtn
Summary: S3 Texture Compression (S3TC) sextension for Mesa
Version: 070518
Release: %mkrel 1
Group: System/Libraries
License: BSD
URL: http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html
Source0: http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root

BuildRequires: mesagl-devel

%description
An open source implementation of the S3 Texture Compression (S3TC)
for use with the open source OpenGL implementation Mesa.

This provides the GLX extension GL_EXT_texture_compression_s3tc.

This package is in PLF because S3TC is covered by software patents.

#-----------------------------------------------------------

%package -n %{libname}
Summary:  S3 Texture Compression (S3TC) sextension for Mesa
Group: System/Libraries
Provides: %{name} = %{version}

%description -n %{libname}
An open source implementation of the  S3 Texture Compression (S3TC)
for use with the open source OpenGL implementation Mesa.

This provides the GLX extension GL_EXT_texture_compression_s3tc.

This package is in PLF because S3TC is covered by software patents.

#-----------------------------------------------------------

%prep
%setup -q -n libtxc_dxtn

%build
%setup_compile_flags
%make

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}%{_libdir}
install -m644 %{name}.so %{buildroot}%{_libdir}

%clean
rm -rf %{buildroot}

%files -n %{libname}
%defattr(-,root,root)
%doc Changelog
%{_libdir}/%{name}.so

%changelog
* Thu Jul 09 2009 Anssi Hannula <anssi@zarb.org> 070518-1plf2009.1
- initial PLF release based on .spec from Colin Guthrie