diff --git a/SDL_image.changes b/SDL_image.changes index 9439c7c..4ed3024 100644 --- a/SDL_image.changes +++ b/SDL_image.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list +- Enable WEBP support + ------------------------------------------------------------------- Thu Jan 3 02:02:36 UTC 2013 - crrodriguez@opensuse.org diff --git a/SDL_image.spec b/SDL_image.spec index 7e44a60..a5d54fe 100644 --- a/SDL_image.spec +++ b/SDL_image.spec @@ -17,42 +17,46 @@ Name: SDL_image -BuildRequires: libSDL-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -Url: http://www.libsdl.org/projects/SDL_image/ +%define lname libSDL_image-1_2-0 Summary: Simple DirectMedia Layer--Sample Image Loading Library License: LGPL-2.1+ -Group: System/Libraries +Group: Development/Libraries/X11 Version: 1.2.12 Release: 0 +Url: http://libsdl.org/projects/SDL_image/release-1.2.html + # removed VisualC.zip, VisualCE.zip, Watcom-OS2.zip, Xcode.tar.gz, Xcode_iPhone.tar.gz from upstream tarball [bnc#508084] Source: %{name}-%{version}-repack.tar.bz2 Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libSDL-devel +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libwebp) %description This is a simple library to load images of various formats as SDL surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. -%package -n libSDL_image-1_2-0 +%package -n %lname Summary: Simple DirectMedia Layer--Sample Image Loading Library Group: System/Libraries Provides: SDL_image = %{version} Obsoletes: SDL_image <= %{version} -%description -n libSDL_image-1_2-0 +%description -n %lname This is a simple library to load images of various formats as SDL surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. %package -n libSDL_image-devel Summary: Libraries, includes and more to develop SDL_image applications -Group: Development/Libraries/C and C++ +Group: Development/Libraries/X11 +Requires: %lname = %{version} Requires: libSDL-devel -Requires: libSDL_image-1_2-0 = %{version} Provides: SDL_image-devel = %{version} Obsoletes: SDL_image-devel <= %{version} @@ -72,19 +76,19 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_image-1_2-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_image-1_2-0 +%files -n %lname %defattr(-,root,root) %doc CHANGES COPYING README -%{_libdir}/lib*.so.* +%{_libdir}/libSDL_image-1*.so.* %files -n libSDL_image-devel %defattr(-,root,root) -%{_includedir}/SDL -%{_libdir}/lib*.so -%{_libdir}/pkgconfig/* +%{_includedir}/SDL/ +%{_libdir}/libSDL_image.so +%{_libdir}/pkgconfig/SDL_image.pc %changelog