Name: libSDL_image Version: 1.2.11 Release: 1mamba 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}-png-1.4.patch Patch1: %{name}-libjpeg-8.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-build %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} %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 need for development. %debug_package %prep %setup -q -n SDL_image-%{version} %patch0 -p1 %patch1 -p1 %build %{__libtoolize} %configure \ --prefix=%{_prefix} %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}/*.so.* %doc CHANGES COPYING README %files devel %defattr(-,root,root) %{_includedir}/SDL/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/SDL_image.pc %changelog * 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