2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-05-20 00:16:17 +02:00
|
|
|
# spec file for package SDL_image (Version 1.2.7)
|
2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-03-02 01:29:17 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-03-02 01:29:17 +01:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:50:23 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:32:26 +02:00
|
|
|
|
2007-01-15 23:50:23 +01:00
|
|
|
Name: SDL_image
|
2009-05-28 23:26:30 +02:00
|
|
|
BuildRequires: libSDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel
|
2007-12-17 12:05:05 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_image/
|
2007-01-15 23:50:23 +01:00
|
|
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
2009-05-20 00:16:17 +02:00
|
|
|
Version: 1.2.7
|
2009-05-28 23:26:30 +02:00
|
|
|
Release: 2
|
2009-05-20 00:16:17 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-12-17 12:05:05 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:50:23 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%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 <slouken@devolution.com>
|
|
|
|
|
|
|
|
%package -n libSDL_image-devel
|
2008-04-10 15:32:26 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:50:23 +01:00
|
|
|
Summary: Libraries, includes and more to develop SDL_image applications
|
2009-05-28 23:26:30 +02:00
|
|
|
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}
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%description -n libSDL_image-devel
|
2007-01-15 23:50:23 +01:00
|
|
|
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 <slouken@devolution.com>
|
|
|
|
|
|
|
|
%prep
|
2007-03-03 14:36:00 +01:00
|
|
|
%setup -q
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%build
|
2009-03-02 01:29:17 +01:00
|
|
|
%configure --disable-static --with-pic
|
2007-03-03 14:36:00 +01:00
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-03-02 01:29:17 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%post -n libSDL_image-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%files -n libSDL_image-1_2-0
|
2007-01-15 23:50:23 +01:00
|
|
|
%defattr(-,root,root)
|
2009-05-20 00:16:17 +02:00
|
|
|
%doc CHANGES COPYING README
|
2007-07-27 02:09:20 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%files -n libSDL_image-devel
|
2007-01-15 23:50:23 +01:00
|
|
|
%defattr(-,root,root)
|
2007-07-27 02:09:20 +02:00
|
|
|
%{_includedir}/SDL
|
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2007-03-03 14:36:00 +01:00
|
|
|
%changelog
|
2009-05-28 23:26:30 +02:00
|
|
|
* Wed May 20 2009 prusnak@suse.cz
|
|
|
|
- follow Shared Library Policy
|
2009-05-20 00:16:17 +02:00
|
|
|
* Tue May 19 2009 prusnak@suse.cz
|
|
|
|
- updated to 2.1.7
|
|
|
|
* Fixed buffer overflow in BMP loading code
|
|
|
|
* Fixed buffer overflow in GIF loading code
|
|
|
|
- removed obsoleted patches:
|
|
|
|
* gif-overflow.patch (mainline)
|
|
|
|
* lbm-overflow.patch (mainline)
|
2009-03-02 01:29:17 +01:00
|
|
|
* Sat Feb 28 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files, useless without
|
|
|
|
SDL static libraries too.
|
|
|
|
- fix -devel package dependencies.
|
2008-04-10 15:32:26 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Jan 29 2008 prusnak@suse.cz
|
|
|
|
- fix buffer overflow in LBM code (lbm-overflow.patch) [#355864]
|
|
|
|
* Fri Jan 25 2008 prusnak@suse.cz
|
|
|
|
- fix buffer overflow in GIF code (gif-overflow.patch) [#355864]
|
|
|
|
* Sun Dec 16 2007 sndirsch@suse.de
|
2007-12-17 12:05:05 +01:00
|
|
|
- fixed BuildRequires for SUSE < 10.2
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
2007-07-27 02:09:20 +02:00
|
|
|
- updated to 1.2.6
|
|
|
|
* PNG and TIFF images are correctly identified even if dynamic
|
|
|
|
libraries to load them aren't available
|
|
|
|
* fixed loading of TIFF images using libtiff
|
|
|
|
* fixed static linking with libjpeg
|
|
|
|
* fixed crash in IMG_ReadXPMFromArray()
|
|
|
|
- dropped obsolete patch:
|
|
|
|
* xcfinc.diff (included in update)
|
2008-02-02 00:20:41 +01:00
|
|
|
* Sun Jul 22 2007 aj@suse.de
|
2007-07-23 02:19:27 +02:00
|
|
|
- Cleanup build requires.
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
2007-03-03 14:36:00 +01:00
|
|
|
- cleaned specfile
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Nov 08 2006 prusnak@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- increment moved outside of assignement [#218752]
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri Sep 29 2006 schwab@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- Require libtiff-devel for SDL_image-devel.
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Sep 12 2006 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- updated to 1.2.5:
|
|
|
|
* Added support for dynamically loading libjpeg, libpng, and libtiff.
|
|
|
|
* Added gcc-fat.sh for generating Universal binaries on Mac OS X
|
|
|
|
* Added support for XV thumbnail images
|
|
|
|
* Added support for 32-bit BMP files with alpha
|
|
|
|
- fixed requires of devel subpackage [#192736]
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri Mar 10 2006 bk@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- SDL_image-devel: add libstdc++, gcc and gpm to Requires (.la check)
|
2008-02-02 00:20:41 +01:00
|
|
|
* Mon Jan 30 2006 coolo@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- fixing BuildRequires to include png support
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Jul 19 2005 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- updated to 1.2.4
|
2008-02-02 00:20:41 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- add %%run_ldconfig
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri Jul 25 2003 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- update to 1.2.3
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Jul 03 2002 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- updated to 1.2.2
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Jun 11 2002 meissner@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- regenerate auto files, removed acinclude.m4 (which only contains
|
|
|
|
SDL.m4 and libtool.m4).
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri May 10 2002 ro@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- libdir fixed
|
2008-02-02 00:20:41 +01:00
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Jan 22 2002 ro@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Jan 08 2002 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- updated to 1.2.1:
|
|
|
|
- added LBM format
|
|
|
|
- fixed transparent GIF and PNG
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Aug 08 2001 uli@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- fixed neededforbuild wrt SDL renaming
|
2008-02-02 00:20:41 +01:00
|
|
|
* Wed Jun 20 2001 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- added kdelibs and kdelibs-devel to neededforbuild
|
2008-02-02 00:20:41 +01:00
|
|
|
* Thu Apr 12 2001 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- update to 1.2.0
|
2008-02-02 00:20:41 +01:00
|
|
|
* Mon Mar 26 2001 ro@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- changed neededforbuild <sdl> to <sdl sdl-devel>
|
2008-02-02 00:20:41 +01:00
|
|
|
* Mon Feb 19 2001 uli@suse.de
|
2007-01-15 23:50:23 +01:00
|
|
|
- added alsa* to neededforbuild (needed by new SDL)
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Dec 05 2000 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- added suse_update_config
|
2008-02-02 00:20:41 +01:00
|
|
|
* Tue Nov 28 2000 nadvornik@suse.cz
|
2007-01-15 23:50:23 +01:00
|
|
|
- new package
|