%define name adplug-xmms %define version 1.2 %define release %mkrel 8 Summary: AdLib player plugin for XMMS Name: %{name} Version: %{version} Release: %{release} Source0: http://prdownloads.sourceforge.net/adplug/%{name}-%{version}.tar.bz2 Patch: adplug-xmms-1.2-missing-header.patch URL: http://adplug.sourceforge.net/ License: LGPLv2+ Group: Sound BuildRoot: %{_tmppath}/%{name}-buildroot Requires: xmms BuildRequires: automake1.8 BuildRequires: libxmms-devel BuildRequires: libadplug-devel >= 1.4 %description AdPlug/XMMS is an XMMS input plugin. XMMS is a cross-platform multimedia player. AdPlug/XMMS uses the AdPlug AdLib sound player library to play back a wide range of AdLib (OPL2) music file formats on top of an OPL2 emulator. No OPL2 chip is required for playback. %prep %setup -q %patch -p1 touch * libtoolize --install --force aclocal-1.8 autoconf automake-1.8 %build export CPPFLAGS="-I%_includedir/libbinio" %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -f %buildroot/%_libdir/xmms/Input/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README ChangeLog NEWS TODO AUTHORS %_libdir/xmms/Input/*so %changelog * Wed Feb 10 2010 Götz Waschk <waschk@mandriva.org> 1.2-8mdv2010.1 + Revision: 503833 - rebuild for new libadplug * Fri May 22 2009 Götz Waschk <waschk@mandriva.org> 1.2-7mdv2010.0 + Revision: 378726 - rebuild * Wed Apr 22 2009 Götz Waschk <waschk@mandriva.org> 1.2-6mdv2010.0 + Revision: 368665 - fix build - update license + Thierry Vignaud <tvignaud@mandriva.com> - rebuild early 2009.0 package (before pixel changes) * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 1.2-5mdv2009.0 + Revision: 135817 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jul 16 2006 Götz Waschk <waschk@mandriva.org> 1.2-1mdv2007.0 - rebuild for new adplug * Tue Jun 27 2006 Lenny Cartier <lenny@mandriva.com> 1.2-4mdv2007.0 - rebuild * Thu May 04 2006 Götz Waschk <waschk@mandriva.org> 1.2-3mdk - rebuild for new adplug * Mon Apr 24 2006 Götz Waschk <waschk@mandriva.org> 1.2-2mdk - fix build * Mon Apr 24 2006 Götz Waschk <waschk@mandriva.org> 1.2-1mdk - New release 1.2 * Fri Dec 09 2005 Götz Waschk <waschk@mandriva.org> 1.1-8mdk - rebuild for new libadplug - use mkrel * Sun Sep 18 2005 Götz Waschk <waschk@mandriva.org> 1.1-7mdk - adapt for new libbinio header location * Sat May 14 2005 Götz Waschk <waschk@mandriva.org> 1.1-6mdk - rebuild for new adplug * Wed May 04 2005 Götz Waschk <waschk@mandriva.org> 1.1-5mdk - fix build on x86_64 * Fri Oct 01 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1-4mdk - rebuild * Sun Jun 06 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1-3mdk - new g++ - fix buildrequires - drop prefix