Summary: A MOD music file player library Name: libmikmod Version: 3.3.7 Release: 1%{?_dist_release} License: GPLv2 and LGPLv2+ Group: System Environment/Libraries URL: http://mikmod.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/mikmod/libmikmod/3.3.7/%{name}-%{version}.tar.gz Patch0: libmikmod-64bit.patch Patch1: libmikmod-multilib.patch Patch2: libmikmod-cflags.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel Vendor: Project Vine Distribution: Vine Linux %description libmikmod is a library used by the mikmod MOD music file player for UNIX-like systems. Supported file formats include MOD, STM, S3M, MTM, XM, ULT and IT. %package devel Summary: Header files and documentation for compiling mikmod applications Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires(post): /sbin/install-info Requires(postun): /sbin/install-info Provides: mikmod-devel = %{version}-%{release} Obsoletes: mikmod-devel < 3.2.2 %description devel This package includes the header files you will need to compile applications for mikmod. %prep %setup -q %patch0 -p1 -b .64bit %patch1 -p1 -b .multilib %patch2 -p1 -b .cflags %build %configure --enable-dl --enable-alsa --disable-simd make %{?_smp_flags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm -f $RPM_BUILD_ROOT%{_infodir}/dir $RPM_BUILD_ROOT%{_libdir}/*.a find $RPM_BUILD_ROOT | grep "\\.la$" | xargs rm -f %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %post devel [ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : %postun -p /sbin/ldconfig %postun devel if [ $1 = 0 ] ; then [ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/mikmod.info %{_infodir}/dir > /dev/null 2>&1 || : fi %files %defattr(-, root, root) %doc AUTHORS COPYING.LIB COPYING.LESSER NEWS README TODO %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_bindir}/*-config %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/aclocal/* %{_includedir}/* %{_infodir}/mikmod* %{_mandir}/man1/libmikmod-config* %changelog * Mon Oct 27 2014 Ryoichi INAGAKI 3.3.7-1 - new upstream release - updated Patch0, 1 (re-numbered from Patch 2) - added Patch2 from fc - dropt Patch 1, 5 and 6 - added BR: alsa-lib-devel, pulseaudio-libs-devel * Sun Jun 24 2012 Yoji TOYODA 3.2.0-1 - initial build for Vine Linux * Wed Jun 06 2012 Jindrich Novy 3.2.0-1 - update to stable libmikmod-3.2.0 * Sun May 13 2012 Karsten Hopp 3.2.0-14.beta4.1 - disable altivec (used on PPC only) * Sun May 13 2012 Jindrich Novy - 3.2.0-13.beta4 - update to 3.2.0-beta4 * Tue Apr 10 2012 Jindrich Novy - 3.2.0-13.beta3 - update to 3.2.0-beta3 - drop upstreamed patches, forwardport the rest * Fri Jan 13 2012 Fedora Release Engineering - 3.2.0-13.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 3.2.0-12.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Aug 20 2010 Jindrich Novy 3.2.0-11.beta2 - update the CVE-2009-3995,3996 patch and fix its naming * Thu Jul 15 2010 Jindrich Novy 3.2.0-10.beta2 - fix CVE-2009-3995,3996 (#614643) * Mon Nov 23 2009 Hans de Goede 3.2.0-9.beta2 - Fix CVE-2007-6720 fix, it causes mods to sound wrong, and even causes crashes under certain circumstances (#540234), see: http://bugzilla.libsdl.org/show_bug.cgi?id=506 * Fri Aug 28 2009 Jindrich Novy 3.2.0-8.beta2 - fix CVE-2009-0179 (#519992) * Fri Aug 28 2009 Jindrich Novy 3.2.0-7.beta2 - fix CVE-2007-6720 (#519990) * Tue Aug 11 2009 Jindrich Novy 3.2.0-6.beta2 - don't complain if installing with --excludedocs (#515953) - add missing requires * Fri Jul 24 2009 Fedora Release Engineering - 3.2.0-5.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 3.2.0-4.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 18 2008 Hans de Goede 3.2.0-3.beta2 - Fix MikMod_InfoLoader() and MikMod_InfoDriver() functions, fixing mikmod -n output * Mon Feb 18 2008 Hans de Goede 3.2.0-2.beta2 - Replace completely braindead (hint to author, drink coffee first, then code) esd non blocking patch with one that actually works. This fixes using mikmod with pulseaudio (bz 247865) - Note: this makes the 2 supported output devices oss and esd (and pulseaudio's esd emulation) alsa is not supported, this requires a rewrite of the mikmod alsa code which was written for alsa-0.5 and never updated for the new alsa 0.9/1.0 api * Fri Feb 15 2008 Jindrich Novy 3.2.0-1 - update to libmikmod-3.2.0-beta2 - fix playback on 64bit arches * Thu Feb 14 2008 Jindrich Novy 3.1.11-5 - fix rpath patch so that there are no undefined symbols in libmikmod.so (#431745) * Thu Oct 25 2007 Jindrich Novy 3.1.11-4 - virtually provide mikmod-devel * Wed Oct 24 2007 Jindrich Novy 3.1.11-3 - add multilib patch * Tue Oct 23 2007 Jindrich Novy 3.1.11-2 - update description - add smp_flags to make - don't ship static library - update upstream patch, drop texinfo dependency (thanks to Stepan Kasal) * Wed Oct 18 2007 Jindrich Novy 3.1.11-1 - package libmikmod