From 50a670b51c1bc040b54ef1e4c64a7c54a06cfa71ad5a5fcbfb5d15f7af812a30 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 May 2009 21:26:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_image?expand=0&rev=11 --- SDL_image.changes | 5 +++++ SDL_image.spec | 42 ++++++++++++++++++++++++++++++++---------- baselibs.conf | 2 +- 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/SDL_image.changes b/SDL_image.changes index ee2d195..f1ac211 100644 --- a/SDL_image.changes +++ b/SDL_image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 20 16:10:42 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + ------------------------------------------------------------------- Tue May 19 15:42:59 CEST 2009 - prusnak@suse.cz diff --git a/SDL_image.spec b/SDL_image.spec index cccf43c..b4cfcfd 100644 --- a/SDL_image.spec +++ b/SDL_image.spec @@ -19,11 +19,11 @@ Name: SDL_image -BuildRequires: SDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel +BuildRequires: libSDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel Url: http://www.libsdl.org/projects/SDL_image/ Summary: Simple DirectMedia Layer--Sample Image Loading Library Version: 1.2.7 -Release: 1 +Release: 2 Source: %{name}-%{version}.tar.bz2 License: LGPL v2.1 or later Group: System/Libraries @@ -40,13 +40,33 @@ Authors: -------- Sam Lantinga -%package devel +%package -n libSDL_image-1_2-0 +Summary: Simple DirectMedia Layer--Sample Image Loading Library +Group: System/Libraries +License: LGPL v2.1 or later +Provides: SDL_image = %{version} +Obsoletes: SDL_image < %{version} + +%description -n libSDL_image-1_2-0 +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. + + + +Authors: +-------- + Sam Lantinga + +%package -n libSDL_image-devel License: LGPL v2.1 or later Summary: Libraries, includes and more to develop SDL_image applications -Group: Development/Libraries/X11 -Requires: %{name} = %{version} SDL-devel +Group: Development/Libraries/C and C++ +Requires: libSDL_image-1_2-0 = %{version} libSDL-devel +Provides: SDL_image-devel = %{version} +Obsoletes: SDL_image-devel < %{version} -%description devel +%description -n libSDL_image-devel 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. @@ -68,24 +88,26 @@ make %{?jobs:-j %jobs} make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -f %{buildroot}%{_libdir}/*.la -%post -p /sbin/ldconfig +%post -n libSDL_image-1_2-0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n libSDL_image-1_2-0 %defattr(-,root,root) %doc CHANGES COPYING README %{_libdir}/lib*.so.* -%files devel +%files -n libSDL_image-devel %defattr(-,root,root) %{_includedir}/SDL %{_libdir}/lib*.so %changelog +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy * Tue May 19 2009 prusnak@suse.cz - updated to 2.1.7 * Fixed buffer overflow in BMP loading code diff --git a/baselibs.conf b/baselibs.conf index 3be29b0..2fff179 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -SDL_image +libSDL_image-1_2-0