Name: libSDL_mixer Version: 1.2.12 Release: 2mamba Summary: SDL_mixer is a sample multi-channel audio mixer library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.libsdl.org/projects/SDL_mixer/ Source: https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-%{version}.tar.gz Patch0: libSDL_mixer-1.2.12-double-free-crash.patch Patch1: libSDL_mixer-1.2.12-fluidsynth-use-after-free.patch Patch2: libSDL_mixer-1.2.12-fluidsynth-volume.patch Patch3: libSDL_mixer-1.2.12-mikmod1.patch Patch4: libSDL_mixer-1.2.12-mikmod2.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL-devel BuildRequires: libdirectfb-devel BuildRequires: libstdc++6-devel BuildRequires: libts-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libvorbis-devel BuildRequires: libsmpeg-devel BuildRequires: libmikmod-devel %description SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. %package devel Group: Development/Libraries Summary: Static libraries and headers for %name Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. This package contains static libraries and header files needed for development. %package tools Group: Applications/Multimedia Summary: Tools provided with %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools SDL_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries. This package contains static the tools provided with %{name}. %debug_package %prep %setup -q -n SDL_mixer-%{version} %patch0 -p1 -b .double-free-crash %patch1 -p1 -b .fluidsynth-use-after-free %patch2 -p1 -b .fluidsynth-volume %patch3 -p1 -b .mikmod1 %patch4 -p1 -b .mikmod2 sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build-scripts/config.sub %build %configure #--disable-smpegtest %make LDFLAGS=-lm %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install-bin %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libSDL_mixer*.so.* %doc COPYING %files devel %defattr(-,root,root) %{_includedir}/SDL/*.h %{_libdir}/libSDL_mixer.a %{_libdir}/libSDL_mixer.la %{_libdir}/libSDL_mixer.so %{_libdir}/pkgconfig/SDL_mixer.pc %doc CHANGES README %files tools %defattr(-,root,root) %{_bindir}/playmus %{_bindir}/playwave %changelog * Tue Feb 08 2022 Silvan Calarco 1.2.12-2mamba - rbuilt with debug package, -tools subpackage and patches taken from Arch Linux * Mon Jan 23 2012 Automatic Build System 1.2.12-1mamba - automatic version update by autodist * Sun Aug 22 2010 Automatic Build System 1.2.11-3mamba - automatic rebuild by autodist * Fri Jul 02 2010 Davide Madrisan 1.2.11-2mamba - update specfile - own %{_includedir}/SDL - force linking with the libm library - install playmus and playwave binaries - fix build requirements * Tue Jan 26 2010 Automatic Build System 1.2.11-1mamba - automatic update by autodist * Mon Oct 26 2009 Automatic Build System 1.2.9-1mamba - automatic update by autodist * Fri Nov 16 2007 Silvan Calarco 1.2.8-1mamba - update to 1.2.8 * Wed Oct 25 2006 Silvan Calarco 1.2.7-1qilnx - update to version 1.2.7 by autospec * Thu Dec 23 2004 Silvan Calarco 1.2.6-1qilnx - update to version 1.2.6 by autospec * Fri Aug 06 2004 Davide Madrisan 1.2.5-1qilnx - package creation