This commit is contained in:
parent
987d742ec9
commit
65c5f9e8b2
@ -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
|
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_image (Version 1.2.6)
|
# spec file for package SDL_image (Version 1.2.6)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 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.
|
|
||||||
#
|
#
|
||||||
|
# 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/
|
# 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/
|
Url: http://www.libsdl.org/projects/SDL_image/
|
||||||
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Release: 84
|
Release: 152
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch0: %{name}-%{version}-gif-overflow.patch
|
Patch0: %{name}-%{version}-gif-overflow.patch
|
||||||
Patch1: %{name}-%{version}-lbm-overflow.patch
|
Patch1: %{name}-%{version}-lbm-overflow.patch
|
||||||
@ -39,7 +46,7 @@ Authors:
|
|||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: Libraries, includes and more to develop SDL_image applications
|
Summary: Libraries, includes and more to develop SDL_image applications
|
||||||
Group: Development/Libraries/X11
|
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
|
%description devel
|
||||||
This is a simple library to load images of various formats as SDL
|
This is a simple library to load images of various formats as SDL
|
||||||
@ -59,11 +66,12 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f }}
|
%{?suse_update_config:%{suse_update_config -f }}
|
||||||
%configure
|
%configure --disable-static --with-pic
|
||||||
make %{?jobs:-j %jobs}
|
make %{?jobs:-j %jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -79,11 +87,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*a
|
|
||||||
%{_includedir}/SDL
|
%{_includedir}/SDL
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Apr 10 2008 ro@suse.de
|
||||||
- added baselibs.conf file to build xxbit packages
|
- added baselibs.conf file to build xxbit packages
|
||||||
for multilib support
|
for multilib support
|
||||||
|
Loading…
Reference in New Issue
Block a user