From 65c5f9e8b269c26431dea83db5ff4d9bd1f940143136d050ee1ff601267d1362 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 2 Mar 2009 00:29:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_image?expand=0&rev=9 --- SDL_image.changes | 7 +++++++ SDL_image.spec | 25 ++++++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/SDL_image.changes b/SDL_image.changes index d4f7545..6d0fb88 100644 --- a/SDL_image.changes +++ b/SDL_image.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Feb 28 00:11:03 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files, useless without + SDL static libraries too. +- fix -devel package dependencies. + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/SDL_image.spec b/SDL_image.spec index ad76f04..af9ed86 100644 --- a/SDL_image.spec +++ b/SDL_image.spec @@ -1,10 +1,17 @@ # # spec file for package SDL_image (Version 1.2.6) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,7 +23,7 @@ BuildRequires: SDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-deve Url: http://www.libsdl.org/projects/SDL_image/ Summary: Simple DirectMedia Layer--Sample Image Loading Library Version: 1.2.6 -Release: 84 +Release: 152 Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-gif-overflow.patch Patch1: %{name}-%{version}-lbm-overflow.patch @@ -39,7 +46,7 @@ Authors: 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 libjpeg-devel libpng-devel libtiff-devel libstdc++-devel gcc gpm +Requires: %{name} = %{version} SDL-devel %description devel This is a simple library to load images of various formats as SDL @@ -59,11 +66,12 @@ Authors: %build %{?suse_update_config:%{suse_update_config -f }} -%configure +%configure --disable-static --with-pic make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT +%{__rm} -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig @@ -79,11 +87,14 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) -%{_libdir}/*a %{_includedir}/SDL %{_libdir}/lib*.so %changelog +* Sat Feb 28 2009 crrodriguez@suse.de +- remove static libraries and "la" files, useless without + SDL static libraries too. +- fix -devel package dependencies. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support