From 7d36b3cc15d03fb780630b10c660a6e8826bb4f3a77726318cfd9fa748905854 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 22:50:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_image?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + SDL_image-1.2.5-xcfinc.diff | 12 +++ SDL_image-1.2.5.tar.bz2 | 3 + SDL_image.changes | 118 +++++++++++++++++++++++++++++ SDL_image.spec | 143 ++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 300 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 SDL_image-1.2.5-xcfinc.diff create mode 100644 SDL_image-1.2.5.tar.bz2 create mode 100644 SDL_image.changes create mode 100644 SDL_image.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SDL_image-1.2.5-xcfinc.diff b/SDL_image-1.2.5-xcfinc.diff new file mode 100644 index 0000000..8685d25 --- /dev/null +++ b/SDL_image-1.2.5-xcfinc.diff @@ -0,0 +1,12 @@ +--- IMG_xcf.c ++++ IMG_xcf.c +@@ -640,7 +640,8 @@ + *row++ = 0xFF000000 + | (((Uint32) (*p8)) << 16) + | (((Uint32) (*p8)) << 8) +- | (((Uint32) (*p8++)) << 0); ++ | (((Uint32) (*p8)) << 0); ++ p8++; + } + break; + default: diff --git a/SDL_image-1.2.5.tar.bz2 b/SDL_image-1.2.5.tar.bz2 new file mode 100644 index 0000000..9043ece --- /dev/null +++ b/SDL_image-1.2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0c1d80f01cf24e1bbd9fb42d529fa99bfc09b67b44e8365160f3d53871dfa2e +size 1258132 diff --git a/SDL_image.changes b/SDL_image.changes new file mode 100644 index 0000000..1db95f6 --- /dev/null +++ b/SDL_image.changes @@ -0,0 +1,118 @@ +------------------------------------------------------------------- +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 to + +------------------------------------------------------------------- +Tue Jan 22 18:23:53 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +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 to + +------------------------------------------------------------------- +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 + diff --git a/SDL_image.spec b/SDL_image.spec new file mode 100644 index 0000000..e747333 --- /dev/null +++ b/SDL_image.spec @@ -0,0 +1,143 @@ +# +# spec file for package SDL_image (Version 1.2.5) +# +# Copyright (c) 2006 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. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: SDL_image +BuildRequires: SDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11 +URL: http://www.libsdl.org/projects/SDL_image/ +Summary: Simple DirectMedia Layer--Sample Image Loading Library +Version: 1.2.5 +Release: 18 +Source0: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}-xcfinc.diff +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Group: System/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: %{_prefix} + +%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 + +%package devel +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 + +%description devel +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 + +%prep +%setup +%patch0 + +%build +%{?suse_update_config:%{suse_update_config -f }} +rm acinclude.m4 ; touch acinclude.m4 # Only contains SDL.m4 and libtool.m4 +libtoolize --copy --force +aclocal +autoconf +CFLAGS="$RPM_OPT_FLAGS" ./configure \ + --prefix=%{prefix} \ + --libdir=%{prefix}/%_lib +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README CHANGES COPYING +%{prefix}/%_lib/lib*.so.* + +%files devel +%defattr(-,root,root) +%{prefix}/%_lib/*a +%{prefix}/include/SDL/ +%{prefix}/%_lib/lib*.so + +%changelog -n SDL_image +* Wed Nov 08 2006 - prusnak@suse.cz +- increment moved outside of assignement [#218752] +* Fri Sep 29 2006 - schwab@suse.de +- Require libtiff-devel for SDL_image-devel. +* Tue Sep 12 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 2006 - bk@suse.de +- SDL_image-devel: add libstdc++, gcc and gpm to Requires (.la check) +* Mon Jan 30 2006 - coolo@suse.de +- fixing BuildRequires to include png support +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Tue Jul 19 2005 - nadvornik@suse.cz +- updated to 1.2.4 +* Sat Jan 10 2004 - adrian@suse.de +- add %%run_ldconfig +* Fri Jul 25 2003 - nadvornik@suse.cz +- update to 1.2.3 +* Wed Jul 03 2002 - nadvornik@suse.cz +- updated to 1.2.2 +* Tue Jun 11 2002 - meissner@suse.de +- regenerate auto files, removed acinclude.m4 (which only contains + SDL.m4 and libtool.m4). +* Fri May 10 2002 - ro@suse.de +- libdir fixed +* Fri Feb 01 2002 - ro@suse.de +- changed neededforbuild to +* Tue Jan 22 2002 - ro@suse.de +- changed neededforbuild to +* Tue Jan 08 2002 - nadvornik@suse.cz +- updated to 1.2.1: + - added LBM format + - fixed transparent GIF and PNG +* Wed Aug 08 2001 - uli@suse.de +- fixed neededforbuild wrt SDL renaming +* Wed Jun 20 2001 - nadvornik@suse.cz +- added kdelibs and kdelibs-devel to neededforbuild +* Thu Apr 12 2001 - nadvornik@suse.cz +- update to 1.2.0 +* Mon Mar 26 2001 - ro@suse.de +- changed neededforbuild to +* Mon Feb 19 2001 - uli@suse.de +- added alsa* to neededforbuild (needed by new SDL) +* Tue Dec 05 2000 - nadvornik@suse.cz +- added suse_update_config +* Tue Nov 28 2000 - nadvornik@suse.cz +- new package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4