2024-01-06 03:38:34 +01:00
|
|
|
Name: libSDL_mixer
|
|
|
|
Version: 1.2.12
|
2024-06-19 22:21:01 +02:00
|
|
|
Release: 3mamba
|
2024-01-06 03:38:34 +01:00
|
|
|
Summary: SDL_mixer is a sample multi-channel audio mixer library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 03:38:35 +01:00
|
|
|
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
|
2024-06-19 22:21:01 +02:00
|
|
|
Patch5: libSDL_mixer-1.2.12-c99.patch
|
2024-01-06 03:38:34 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-06-19 22:21:01 +02:00
|
|
|
BuildRequires: libsdl12-compat-devel
|
2024-01-06 03:38:34 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libvorbis-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.
|
2024-01-06 03:38:35 +01:00
|
|
|
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}.
|
2024-01-06 03:38:34 +01:00
|
|
|
|
2024-01-06 03:38:35 +01:00
|
|
|
%debug_package
|
2024-01-06 03:38:34 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SDL_mixer-%{version}
|
2024-06-19 22:21:01 +02:00
|
|
|
%patch 0 -p1 -b .double-free-crash
|
|
|
|
%patch 1 -p1 -b .fluidsynth-use-after-free
|
|
|
|
%patch 2 -p1 -b .fluidsynth-volume
|
|
|
|
%patch 3 -p1 -b .mikmod1
|
|
|
|
%patch 4 -p1 -b .mikmod2
|
|
|
|
%patch 5 -p1 -b .c99
|
|
|
|
|
2024-01-06 03:38:35 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build-scripts/config.sub
|
2024-01-06 03:38:34 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 03:38:35 +01:00
|
|
|
%configure
|
|
|
|
#--disable-smpegtest
|
2024-01-06 03:38:34 +01:00
|
|
|
%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.*
|
2024-01-06 03:38:35 +01:00
|
|
|
%doc COPYING
|
2024-01-06 03:38:34 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/SDL/*.h
|
|
|
|
%{_libdir}/libSDL_mixer.a
|
|
|
|
%{_libdir}/libSDL_mixer.so
|
|
|
|
%{_libdir}/pkgconfig/SDL_mixer.pc
|
2024-01-06 03:38:35 +01:00
|
|
|
%doc CHANGES README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/playmus
|
|
|
|
%{_bindir}/playwave
|
2024-01-06 03:38:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-06-19 22:21:01 +02:00
|
|
|
* Wed Jun 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-3mamba
|
|
|
|
- rebuilt without .la file
|
|
|
|
|
2024-01-06 03:38:35 +01:00
|
|
|
* Tue Feb 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.12-2mamba
|
|
|
|
- rbuilt with debug package, -tools subpackage and patches taken from Arch Linux
|
|
|
|
|
2024-01-06 03:38:34 +01:00
|
|
|
* Mon Jan 23 2012 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 1.2.11-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Jul 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 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 <autodist@mambasoft.it> 1.2.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 26 2009 Automatic Build System <autodist@mambasoft.it> 1.2.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- update to 1.2.8
|
|
|
|
|
|
|
|
* Wed Oct 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.7-1qilnx
|
|
|
|
- update to version 1.2.7 by autospec
|
|
|
|
|
|
|
|
* Thu Dec 23 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1qilnx
|
|
|
|
- update to version 1.2.6 by autospec
|
|
|
|
|
|
|
|
* Fri Aug 06 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.5-1qilnx
|
|
|
|
- package creation
|