OBS User unknown 2009-03-02 00:29:17 +00:00 committed by Git OBS Bridge
parent 987d742ec9
commit 65c5f9e8b2
2 changed files with 25 additions and 7 deletions

View File

@ -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

View File

@ -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