%define name xmms-vtx %define version 0.7 %define release %mkrel 9 Summary: Plays VTX files containing music from the ZX Spectrum Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 Patch: xmms-vtx-0.7-gcc4.patch URL: http://sashnov.nm.ru/ayengine.html License: GPL Group: Sound BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: xmms-devel Requires: xmms %description libvtx is an XMMS input plugin. XMMS is a cross-platform multimedia player. VTX - Vortex format for AY/YM music by Roman Scherbakov. In archive music_sample.tar.gz you can find 10 tunes in this format, total time 31:15. More tunes could be found on http://vtx.microfor.ru %prep %setup -q %patch -p1 tar xzf music_sample.tar.gz %build %configure %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -f %buildroot%_libdir/xmms/Input/libvtx.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README ChangeLog NEWS TODO AUTHORS %doc music_sample/ %_libdir/xmms/Input/libvtx.so %changelog * Mon Aug 04 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.7-9mdv2009.0 + Revision: 262613 - rebuild * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.7-8mdv2009.0 + Revision: 257539 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.7-6mdv2008.1 + Revision: 130426 - kill re-definition of %%buildroot on Pixel's request * Thu Jan 25 2007 Götz Waschk <waschk@mandriva.org> 0.7-6mdv2007.0 + Revision: 113195 - Import xmms-vtx * Thu Jan 25 2007 Götz Waschk <waschk@mandriva.org> 0.7-6mdv2007.1 - unpack patch * Tue Aug 01 2006 Götz Waschk <waschk@mandriva.org> 0.7-1mdv2007.0 - Rebuild * Thu Feb 09 2006 Götz Waschk <waschk@mandriva.org> 0.7-4mdk - patch for gcc 4 * Sat Oct 02 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7-3mdk - rebuild