- created package (version 2.0.0) - based on SDL_image package

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_image?expand=0&rev=2
This commit is contained in:
Pavol Rusnak 2013-07-12 22:23:04 +00:00 committed by Git OBS Bridge
parent 6081838e50
commit b7a2fdcbae
6 changed files with 44 additions and 286 deletions

3
SDL2_image-2.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a005117a6122dbaec24eab29724582eed6e24e8a3081178fec77888d338cc0c3
size 8398364

5
SDL2_image.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Jul 12 21:56:54 UTC 2013 - prusnak@opensuse.org
- created package (version 2.0.0) - based on SDL_image package

View File

@ -1,5 +1,5 @@
# #
# spec file for package SDL_image # spec file for package SDL2_image
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -16,20 +16,20 @@
# #
Name: SDL_image Name: SDL2_image
BuildRequires: libSDL-devel Version: 2.0.0
Release: 0
Summary: Simple DirectMedia Layer--Sample Image Loading Library
License: Zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_image/
Source: http://www.libsdl.org/tmp/SDL_image/release/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: libSDL2-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
Url: http://www.libsdl.org/projects/SDL_image/ BuildRequires: libwebp-devel
Summary: Simple DirectMedia Layer--Sample Image Loading Library
License: LGPL-2.1+
Group: System/Libraries
Version: 1.2.12
Release: 0
# removed VisualC.zip, VisualCE.zip, Watcom-OS2.zip, Xcode.tar.gz, Xcode_iPhone.tar.gz from upstream tarball [bnc#508084]
Source: %{name}-%{version}-repack.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -37,53 +37,52 @@ 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 surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
%package -n libSDL_image-1_2-0 %package -n libSDL2_image-2_0-0
Summary: Simple DirectMedia Layer--Sample Image Loading Library Summary: Simple DirectMedia Layer--Sample Image Loading Library
Group: System/Libraries Group: System/Libraries
Provides: SDL_image = %{version} Provides: SDL2_image = %{version}
Obsoletes: SDL_image <= %{version}
%description -n libSDL_image-1_2-0 %description -n libSDL2_image-2_0-0
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
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
%package -n libSDL_image-devel %package -n libSDL2_image-devel
Summary: Libraries, includes and more to develop SDL_image applications Summary: Libraries, includes and more to develop SDL_image applications
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libSDL-devel Requires: libSDL2-devel
Requires: libSDL_image-1_2-0 = %{version} Requires: libSDL2_image-2_0-0 = %{version}
Provides: SDL_image-devel = %{version} Provides: SDL2_image-devel = %{version}
Obsoletes: SDL_image-devel <= %{version}
%description -n libSDL_image-devel %description -n libSDL2_image-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
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
%prep %prep
%setup -q %setup -q
rm -rf external
%build %build
%configure --disable-png-shared --disable-jpg-shared --disable-tif-shared --disable-static --with-pic %configure --disable-png-shared --disable-jpg-shared --disable-tif-shared --disable-webp-shared --disable-static --with-pic
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %make_install
%{__rm} -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%post -n libSDL_image-1_2-0 -p /sbin/ldconfig %post -n libSDL2_image-2_0-0 -p /sbin/ldconfig
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig %postun -n libSDL2_image-2_0-0 -p /sbin/ldconfig
%files -n libSDL_image-1_2-0 %files -n libSDL2_image-2_0-0
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES COPYING README %doc CHANGES.txt COPYING.txt README.txt
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%files -n libSDL_image-devel %files -n libSDL2_image-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/SDL %{_includedir}/SDL2/
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3942454c04f9dd3a73f27537ae6ffaaee3dbc58450af700149d3ba9fce1615d9
size 303837

View File

@ -1,246 +0,0 @@
-------------------------------------------------------------------
Thu Jan 3 02:02:36 UTC 2013 - crrodriguez@opensuse.org
- Disable dynamic loading of common libraries, this
is a bad idea to beging with.
- Cleanup buildRequires. metpackage xorg-x11-devel is not required
-------------------------------------------------------------------
Wed Aug 29 10:54:59 UTC 2012 - pgajdos@suse.com
- updated to 1.2.12:
* Fixed regression in 1.2.11 loading 8-bit PNG images with libpng
* Fixed loading 8-bit PNG images on Mac OS X
* SDL_image is now under the zlib license
* Added WEBP image support
* Fixed compiling with libpng 1.4
* Added Android.mk to build on the Android platform
* Fixed loading HAM6 images with stencil mask
* Fixed bug loading 15 and 16 bit BMP images
-------------------------------------------------------------------
Sat Sep 17 10:23:01 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Mon Aug 1 09:37:21 UTC 2011 - jengelh@medozas.de
- Update baselibs.conf to also ship libSDL_image-devel-32bit
-------------------------------------------------------------------
Sat Jul 2 14:51:55 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
-------------------------------------------------------------------
Mon Dec 21 14:23:25 UTC 2009 - prusnak@suse.cz
- updated to 1.2.10
* Fixed bug loading multiple images
* Fixed checking for IMG_Init() return value in image loaders
* Added support for uncompressed PCX files
* Added IMG_Init()/IMG_Quit() to prevent constantly loading and unloading DLLs
* Added support for ICO and CUR image files
-------------------------------------------------------------------
Sat Dec 19 22:09:23 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Wed Oct 7 14:52:28 CEST 2009 - prusnak@suse.cz
- fix provides and obsoletes [bnc#544957]
-------------------------------------------------------------------
Fri May 29 13:00:18 CEST 2009 - prusnak@suse.cz
- removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream
tarball [bnc#508084]
-------------------------------------------------------------------
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
- 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)
-------------------------------------------------------------------
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
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Tue Jan 29 12:09:41 CET 2008 - prusnak@suse.cz
- fix buffer overflow in LBM code (lbm-overflow.patch) [#355864]
-------------------------------------------------------------------
Fri Jan 25 12:58:25 CET 2008 - prusnak@suse.cz
- fix buffer overflow in GIF code (gif-overflow.patch) [#355864]
-------------------------------------------------------------------
Sun Dec 16 21:40:05 CET 2007 - sndirsch@suse.de
- fixed BuildRequires for SUSE < 10.2
-------------------------------------------------------------------
Wed Jul 25 17:47:08 CEST 2007 - prusnak@suse.cz
- 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)
-------------------------------------------------------------------
Sun Jul 22 18:50:51 CEST 2007 - aj@suse.de
- Cleanup build requires.
-------------------------------------------------------------------
Fri Mar 2 12:37:53 CET 2007 - prusnak@suse.cz
- cleaned specfile
-------------------------------------------------------------------
Wed Nov 8 14:23:43 CET 2006 - prusnak@suse.cz
- increment moved outside of assignement [#218752]
-------------------------------------------------------------------
Fri Sep 29 13:39:29 CEST 2006 - schwab@suse.de
- Require libtiff-devel for SDL_image-devel.
-------------------------------------------------------------------
Tue Sep 12 15:50:18 CEST 2006 - nadvornik@suse.cz
- 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]
-------------------------------------------------------------------
Fri Mar 10 14:24:38 CET 2006 - bk@suse.de
- SDL_image-devel: add libstdc++, gcc and gpm to Requires (.la check)
-------------------------------------------------------------------
Mon Jan 30 11:56:35 CET 2006 - coolo@suse.de
- fixing BuildRequires to include png support
-------------------------------------------------------------------
Wed Jan 25 21:33:56 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Tue Jul 19 16:57:58 CEST 2005 - nadvornik@suse.cz
- updated to 1.2.4
-------------------------------------------------------------------
Sat Jan 10 18:51:52 CET 2004 - adrian@suse.de
- add %run_ldconfig
-------------------------------------------------------------------
Fri Jul 25 12:18:49 CEST 2003 - nadvornik@suse.cz
- update to 1.2.3
-------------------------------------------------------------------
Wed Jul 3 12:40:18 CEST 2002 - nadvornik@suse.cz
- updated to 1.2.2
-------------------------------------------------------------------
Tue Jun 11 15:50:33 CEST 2002 - meissner@suse.de
- regenerate auto files, removed acinclude.m4 (which only contains
SDL.m4 and libtool.m4).
-------------------------------------------------------------------
Fri May 10 15:43:04 CEST 2002 - ro@suse.de
- libdir fixed
-------------------------------------------------------------------
Fri Feb 1 00:26:06 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Tue Jan 22 18:23:53 CET 2002 - ro@suse.de
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
-------------------------------------------------------------------
Tue Jan 8 11:34:16 CET 2002 - nadvornik@suse.cz
- updated to 1.2.1:
- added LBM format
- fixed transparent GIF and PNG
-------------------------------------------------------------------
Wed Aug 8 14:32:13 CEST 2001 - uli@suse.de
- fixed neededforbuild wrt SDL renaming
-------------------------------------------------------------------
Wed Jun 20 09:32:35 CEST 2001 - nadvornik@suse.cz
- added kdelibs and kdelibs-devel to neededforbuild
-------------------------------------------------------------------
Thu Apr 12 16:50:05 CEST 2001 - nadvornik@suse.cz
- update to 1.2.0
-------------------------------------------------------------------
Mon Mar 26 12:05:39 CEST 2001 - ro@suse.de
- changed neededforbuild <sdl> to <sdl sdl-devel>
-------------------------------------------------------------------
Mon Feb 19 17:38:57 CET 2001 - uli@suse.de
- added alsa* to neededforbuild (needed by new SDL)
-------------------------------------------------------------------
Tue Dec 5 12:58:46 CET 2000 - nadvornik@suse.cz
- added suse_update_config
-------------------------------------------------------------------
Tue Nov 28 14:18:37 CET 2000 - nadvornik@suse.cz
- new package

View File

@ -1,6 +1,6 @@
libSDL_image-1_2-0 libSDL2_image-2_0-0
provides "SDL_image-<targettype> = <version>" provides "SDL2_image-<targettype> = <version>"
obsoletes "SDL_image-<targettype> <= <version>" obsoletes "SDL2_image-<targettype> <= <version>"
libSDL_image-devel libSDL2_image-devel
requires -libSDL_image-<targettype> requires -libSDL2_image-<targettype>
requires "libSDL_image-1_2-0-<targettype> = <version>" requires "libSDL2_image-2_0-0-<targettype> = <version>"