%define name xanim-codecs %define version 1.0 %define release %mkrel 8 %define distsuffix plf Name: %{name} Version: %{version} Release: %{release} Summary: XAnim codecs binaries License: Commercial Group: System/Libraries URL: http://xanim.va.pubnix.com/xa_dlls.html Source: http://www1.mplayerhq.hu/MPlayer/releases/codecs/xanimdlls-20040626.tar.bz2 Source1: http://www1.mplayerhq.hu/MPlayer/releases/codecs/xanimdlls-ppc-20040626.tar.bz2 Source2: http://www1.mplayerhq.hu/MPlayer/releases/codecs/xanimdlls-alpha-20061028.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot ExclusiveArch: %ix86 ppc alpha %description This package contains XAnim codecs binaries. This package is in PLF for it's closed source nature. %prep rm -rf $RPM_BUILD_ROOT %setup -q -c -T %ifarch %{ix86} %setup -q -T -D -a 0 %endif %ifarch ppc %setup -q -T -D -a 1 %endif %ifarch alpha %setup -q -T -D -a 2 %endif %build %install rm -rf %buildroot install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/codecs cp -a */* $RPM_BUILD_ROOT%{_libdir}/codecs %clean rm -rf %buildroot %files %defattr(-,root,root) %{_libdir}/codecs %changelog * Fri Apr 29 2011 Götz Waschk <goetz@zarb.org> 1.0-8 - rebuild * Sun Apr 25 2010 Götz Waschk <goetz@zarb.org> 1.0-7plf2010.1 - move codecs to %_libdir/codecs * Wed May 14 2008 Götz Waschk <goetz@zarb.org> 1.0-6plf2009.0 - update to the mplayer codec packs - use mkrel * Mon Dec 19 2005 Götz Waschk <goetz@zarb.org> 1.0-5plf - Rebuild * Mon Sep 20 2004 Götz Waschk <goetz@zarb.org> 1.0-4plf - quiet tar - fix description * Wed Jul 16 2003 Götz Waschk <goetz@plf.zarb.org> 1.0-3plf - fix dir ownership * Tue Jul 30 2002 Götz Waschk <waschk@informatik.uni-rostock.de> 1.0-2plf - add symlinks for compatibility with MPlayer * Sat Jul 27 2002 Guillaume Rousse <guillomovitch@plf.zarb.org> 1.0-1plf - first plf release