Name: libSDL Version: 1.2.15 Release: 2mamba Summary: Simple DirectMedia Layer Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.libsdl.org Source: http://www.libsdl.org/release/SDL-%{version}.tar.gz Patch0: %{name}-1.2.14-xio_error-rh603984.patch Patch1: libSDL-1.2.15-const_XData32.patch Patch2: libSDL-1.2.15-CVE-2019-7577-Fix-a-buffer-overread-in-MS_ADPCM_deco.patch Patch3: libSDL-1.2.15-CVE-2019-7575-Fix-a-buffer-overwrite-in-MS_ADPCM_dec.patch Patch4: libSDL-1.2.15-CVE-2019-7574-Fix-a-buffer-overread-in-IMA_ADPCM_dec.patch Patch5: libSDL-1.2.15-CVE-2019-7577-Fix-a-buffer-overread-in-MS_ADPCM_nibb.patch Patch6: libSDL-1.2.15-SDL-1.2.15-CVE-2019-7572-Fix-a-buffer-overwrite-in-IMA_ADPCM_de.patch Patch7: libSDL-1.2.15-CVE-2019-7573-CVE-2019-7576-Fix-buffer-overreads-in-.patch Patch8: libSDL-1.2.15-CVE-2019-7578-Fix-a-buffer-overread-in-InitIMA_ADPCM.patch Patch9: libSDL-1.2.15-CVE-2019-7636-Refuse-loading-BMP-image.patch Patch10: libSDL-1.2.15-CVE-2019-7637-Fix-in-integer-overflow-in-SDL_Calcula.patch Patch11: libSDL-1.2.15-CVE-2019-7635-Reject-BMP-images-with-pixel-colors-ou.patch Patch12: libSDL-1.2.15-CVE-2019-13616-validate_image_size_when_loading_BMP_files.patch Patch13: libSDL-1.2.15-CVE-2019-7572-Fix-a-buffer-overread-in-IMA_ADPCM_nib.patch Patch14: libSDL-1.2.15-GrabNotViewable.patch Patch15: libSDL-1.2.15-SDL_EnableUNICODE_drops_keyboard_events.patch Patch16: libSDL-1.2.15-ignore_insane_joystick_axis.patch Patch17: libSDL-1.2.15-no-default-backing-store.patch Patch18: libSDL-1.2.15-x11-Bypass-SetGammaRamp-when-changing-gamma.patch Patch19: libSDL-1.2.15-fix-mouse-clicking.patch Patch20: libSDL-1.2.15-disable-mmx.patch Patch21: libSDL-1.2.15-resizing.patch Patch22: libSDL-1.2.15-X11_KeyToUnicode.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libdirectfb-devel BuildRequires: libstdc++6-devel BuildRequires: libts-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libalsa-devel BuildRequires: libpulseaudio-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libICE-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. %package devel Summary: Libraries, includes and more to develop SDL applications. Group: Development/Libraries Requires: %{name} = %{version} %description devel This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. This is the libraries, include files and other resources you can use to develop SDL applications. %debug_package %prep %setup -q -n SDL-%{version} sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build-scripts/config.sub %patch1 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %build %configure \ --enable-alsa \ --enable-pulseaudio \ --with-x \ --enable-sdl-dlopen \ --disable-nas \ --disable-arts \ --disable-esd \ --disable-rpath %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall ln -s libSDL-1.2.so.0 %{buildroot}%{_libdir}/libSDL-1.1.so.0 rm -f docs/html/Makefile* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/libSDL-*.so.* %doc COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/SDL/ %{_includedir}/SDL/* %{_bindir}/*-config %{_libdir}/libSDL.a %{_libdir}/libSDL.la %{_libdir}/libSDLmain.a %{_libdir}/libSDLmain.la %{_libdir}/libSDL.so %{_libdir}/pkgconfig/sdl.pc %{_mandir}/man3/* %{_datadir}/aclocal/* %doc README README-SDL.txt CREDITS BUGS WhatsNew %doc docs.html docs/index.html docs/html %changelog * Fri Jan 22 2021 Silvan Calarco 1.2.15-2mamba - rebuilt without nas (libaudio); added patchset from Arch Linux/Fedora * Sun Feb 12 2012 Automatic Build System 1.2.15-1mamba - automatic version update by autodist * Thu Dec 16 2010 Silvan Calarco 1.2.14-4mamba - rebuilt with debug package * Sun Aug 22 2010 Automatic Build System 1.2.14-3mamba - automatic rebuild by autodist * Fri Jul 02 2010 Davide Madrisan 1.2.14-2mamba - configure: remove unrecognized options - apply upstream patch: don't crash when trying to exit because of an xio-error http://bugzilla.libsdl.org/show_bug.cgi?id=1009 * Fri Oct 23 2009 Automatic Build System 1.2.14-1mamba - automatic update by autodist * Mon Jun 29 2009 Automatic Build System 1.2.13-2mamba - automatic rebuild by autodist * Wed Jul 09 2008 gil 1.2.13-1mamba - update to 1.2.13 * Fri Nov 16 2007 Silvan Calarco 1.2.12-1mamba - update to 1.2.12 - disabled arts support * Wed Oct 25 2006 Silvan Calarco 1.2.11-1qilnx - update to version 1.2.11 by autospec * Fri Dec 16 2005 Stefano Cotta Ramusino 1.2.9-1qilnx - update to version 1.2.9 by autospec * Thu Dec 23 2004 Silvan Calarco 1.2.8-1qilnx - update to version 1.2.8 by autospec * Sun Jul 18 2004 Silvan Calarco 1.2.7-1qilnx - new version build * Tue Oct 07 2003 Davide Madrisan 1.2.6-2qilnx - man pages directory fixed * Thu Sep 04 2003 Davide Madrisan 1.2.6-1qilnx - first spec file for QiLinux distribution