%define name xine-skins #gw The package version is the skin.version in the skinconfig file #gw TODO, next time, remove the .0 to match the skin.version %define version 5.0 %define release 3mdk Summary: Skins for Xine Name: %{name} Version: %{version} Release: %{release} Source0: %name-%version.tar.bz2 License: GPL Group: Video Url: http://xinehq.de/index.php/skins BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: xine-ui >= 0.99.1-4mdk BuildArch: noarch %description This package contains additional skins for the Xine UI. %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT mkdir -p %buildroot%_datadir/xine/skins for skin in *.tar.gz;do tar xzf $skin -C %buildroot%_datadir/xine/skins done #gw remove skin sources rm -rf %buildroot%_datadir/xine/skins/*/src/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(755,root,root) %dir %_datadir/xine/skins/* %attr(644,root,root) %dir %_datadir/xine/skins/*/* %changelog * Fri May 20 2005 Götz Waschk <waschk@mandriva.org> 5.0-3mdk - add more skins * Mon May 10 2004 Götz Waschk <waschk@linux-mandrake.com> 5.0-2mdk - fix Bug 9734 * Tue May 4 2004 Götz Waschk <waschk@linux-mandrake.com> 5.0-1mdk - initial package