%global mingw_build_ucrt64 1 %{?mingw_package_header} Name: mingw-SDL2_mixer Version: 2.8.0 Release: 3%{?dist} Summary: MinGW Windows port of Simple DirectMedia Layer's Sample Mixer Library License: Zlib URL: https://www.libSDL.org/projects/SDL_mixer/ Source0: https://www.libSDL.org/projects/SDL_mixer/release/SDL2_mixer-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc BuildRequires: mingw32-SDL2 BuildRequires: mingw32-libvorbis BuildRequires: mingw32-flac BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc BuildRequires: mingw64-SDL2 BuildRequires: mingw64-libvorbis BuildRequires: mingw64-flac BuildRequires: ucrt64-filesystem >= 95 BuildRequires: ucrt64-gcc BuildRequires: ucrt64-SDL2 BuildRequires: ucrt64-libvorbis BuildRequires: ucrt64-flac %description A simple multi-channel audio mixer for SDL2. It supports 4 channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD library. # Win32 %package -n mingw32-SDL2_mixer Summary: MinGW Windows port of Simple DirectMedia Layer's Sample Mixer Library %description -n mingw32-SDL2_mixer A simple multi-channel audio mixer for SDL2. It supports 4 channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD library. # Win64 %package -n mingw64-SDL2_mixer Summary: MinGW Windows port of Simple DirectMedia Layer's Sample Mixer Library %description -n mingw64-SDL2_mixer A simple multi-channel audio mixer for SDL2. It supports 4 channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD library. # UCRT64 %package -n ucrt64-SDL2_mixer Summary: MinGW Windows port of Simple DirectMedia Layer's Sample Mixer Library %description -n ucrt64-SDL2_mixer A simple multi-channel audio mixer for SDL2. It supports 4 channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD library. %{?mingw_debug_package} %prep %autosetup -p1 -n SDL2_mixer-%{version} %build %mingw_configure --disable-static %mingw_make_build %install %mingw_make_install # Drop all .la files find %{buildroot} -name "*.la" -delete # Win32 %files -n mingw32-SDL2_mixer %license LICENSE.txt %{mingw32_bindir}/SDL2_mixer.dll %{mingw32_libdir}/libSDL2_mixer.dll.a %{mingw32_libdir}/cmake/SDL2_mixer/ %{mingw32_libdir}/pkgconfig/SDL2_mixer.pc %{mingw32_includedir}/SDL2 # Win64 %files -n mingw64-SDL2_mixer %license LICENSE.txt %{mingw64_bindir}/SDL2_mixer.dll %{mingw64_libdir}/libSDL2_mixer.dll.a %{mingw64_libdir}/cmake/SDL2_mixer/ %{mingw64_libdir}/pkgconfig/SDL2_mixer.pc %{mingw64_includedir}/SDL2 # UCRT64 %files -n ucrt64-SDL2_mixer %license LICENSE.txt %{ucrt64_bindir}/SDL2_mixer.dll %{ucrt64_libdir}/libSDL2_mixer.dll.a %{ucrt64_libdir}/cmake/SDL2_mixer/ %{ucrt64_libdir}/pkgconfig/SDL2_mixer.pc %{ucrt64_includedir}/SDL2 %changelog * Mon Aug 19 2024 Jack Greiner - 2.8.0-3 - Add ucrt64 builds to spec. * Thu Jul 18 2024 Fedora Release Engineering - 2.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 15 2024 Sandro Mani - 2.8.0-1 - Update to 2.8.0 * Thu Jan 25 2024 Fedora Release Engineering - 2.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Mar 19 2023 Sandro Mani - 2.6.3-1 - Update to 2.6.3 * Thu Jan 19 2023 Fedora Release Engineering - 2.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Sandro Mani - 2.6.2-1 - Update to 2.6.2 * Thu Jul 21 2022 Fedora Release Engineering - 2.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Mar 25 2022 Sandro Mani - 2.0.4-9 - Rebuild with mingw-gcc-12 * Thu Jan 20 2022 Fedora Release Engineering - 2.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 06 2018 Pete Walter - 2.0.4-1 - Update to 2.0.4 * Thu Sep 27 2018 Kalev Lember - 2.0.2-1 - Update to 2.0.2 * Fri Jul 13 2018 Fedora Release Engineering - 2.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Oct 24 2016 Kalev Lember - 2.0.1-1 - Update to 2.0.1 - Don't set group tags * Thu Feb 04 2016 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jul 21 2014 maci - 2.0.0-3 - Fix homepage URL * Tue May 13 2014 Marcel Wysocki - 2.0.0-2 - Removed redundant BuildRequires * Mon May 12 2014 Marcel Wysocki - 2.0.0-1 - Initial rpm