Name: libSDL_image Version: 1.2.12 Release: 3mamba Summary: SDL_image is an image file loading library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.libsdl.org/projects/SDL_image/ Source: http://www.libsdl.org/projects/SDL_image/release/SDL_image-%{version}.tar.gz Patch0: %{name}-1.2.12-libpng-1.5.patch Patch1: %{name}-libjpeg-8.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL-devel BuildRequires: libdirectfb-devel BuildRequires: libts-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libdirectfb-devel >= 1.7.7 BuildRequires: libwebp-devel BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel %description SDL_image is an image file loading library. It loads images as SDL surfaces, and supports the following formats: BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG, TGA. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version}-%{release} %description devel SDL_image is an image file loading library. It loads images as SDL surfaces, and supports the following formats: BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG, TGA. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q -n SDL_image-%{version} sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %patch0 -p1 %patch1 -p1 ./autogen.sh %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libSDL_image-*.so.* %doc CHANGES COPYING %files devel %defattr(-,root,root) %{_includedir}/SDL/*.h %{_libdir}/libSDL_image.a %{_libdir}/libSDL_image.so %{_libdir}/pkgconfig/SDL_image.pc %doc README %changelog * Fri Mar 22 2024 Silvan Calarco 1.2.12-3mamba - rebuilt with libdirectfb 1.7.7 * Sun Mar 03 2013 Silvan Calarco 1.2.12-2mamba - rebuilt with current libpng * Sun Jan 22 2012 Silvan Calarco 1.2.12-1mamba - update to 1.2.12 * Fri Jan 20 2012 Automatic Build System 1.2.11-1mamba - automatic version update by autodist * Thu Dec 16 2010 Silvan Calarco 1.2.10-3mamba - rebuilt with debug package - added patch to prefer libpng 1.4.x over 1.2.x/1.0.x - added patch to prefer libjpeg 8 over libjpeg 7 * Sun Aug 22 2010 Automatic Build System 1.2.10-2mamba - automatic rebuild by autodist * Mon Jan 25 2010 Automatic Build System 1.2.10-1mamba - automatic update by autodist * Wed Oct 21 2009 Automatic Build System 1.2.8-1mamba - automatic update by autodist * Thu Dec 04 2008 gil 1.2.7-1mamba - update to 1.2.7 * Fri Nov 16 2007 Silvan Calarco 1.2.6-1mamba - update to 1.2.6 * Wed Oct 25 2006 Silvan Calarco 1.2.5-1qilnx - update to version 1.2.5 by autospec * Fri Aug 06 2004 Davide Madrisan 1.2.3-1qilnx - package creation