From 690facf2ad951fa40a19de2837ef07cb561e8b4f763748427693fa5854cbb456 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 11 Nov 2013 03:53:34 +0000 Subject: [PATCH 1/3] SDL_gfx-2.0.25 OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=16 --- SDL_gfx-2.0.23.tar.gz | 3 --- SDL_gfx-2.0.25.tar.xz | 3 +++ SDL_gfx.changes | 10 ++++++++ SDL_gfx.spec | 55 ++++++++++++++----------------------------- 4 files changed, 31 insertions(+), 40 deletions(-) delete mode 100644 SDL_gfx-2.0.23.tar.gz create mode 100644 SDL_gfx-2.0.25.tar.xz diff --git a/SDL_gfx-2.0.23.tar.gz b/SDL_gfx-2.0.23.tar.gz deleted file mode 100644 index c85f041..0000000 --- a/SDL_gfx-2.0.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41bd601d65bba19eeac80a62570ce120098414ece22de402a8ee81b10e07faea -size 1707852 diff --git a/SDL_gfx-2.0.25.tar.xz b/SDL_gfx-2.0.25.tar.xz new file mode 100644 index 0000000..50eadec --- /dev/null +++ b/SDL_gfx-2.0.25.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17ef477ac2bb637c082f6eff0bf0cd73d9166395b8c1665b29680b71042b9920 +size 845948 diff --git a/SDL_gfx.changes b/SDL_gfx.changes index 840b0df..ecdac17 100644 --- a/SDL_gfx.changes +++ b/SDL_gfx.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Nov 11 03:49:34 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 2.0.25 +* Unspecified bugfixes related to MMX support, _aaline, + SDL_gfxBlitFunc.h, 32-bit RGBA blending function and pixel + blend routine +- Set RPM groups to the same values as on the main SDL packages +- Own /usr/include/SDL as well + ------------------------------------------------------------------- Wed Feb 22 17:16:10 UTC 2012 - jreidinger@suse.com diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 8c54e9b..9762428 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_gfx # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,35 +16,25 @@ # - Name: SDL_gfx -BuildRequires: libSDL-devel -Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/ +Version: 2.0.25 +Release: 0 Summary: SDL Graphics Routines for Primitives and Other Support Functions -Version: 2.0.23 -Release: 1 -Source0: %{name}-%{version}.tar.gz -Source1: baselibs.conf License: Zlib -Group: System/Libraries +Group: Development/Libraries/X11 +Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/ + +Source: %name-%version.tar.xz +Source2: baselibs.conf +BuildRequires: libSDL-devel +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL -surfaces. The current components of the SDL_gfx library are: - -- Graphic Primitives (SDL_gfxPrimitives.h) - -- Rotozoomer (SDL_rotozoom.h) - -- Framerate control (SDL_framerate.h) - -- MMX image filters (SDL_imageFilter.h) - -The library is backwards compatible to the above mentioned code. It is -written in plain C and can be used in C++ code. +surfaces. %package -n libSDL_gfx13 Summary: SDL Graphics Routines for Primitives and Other Support Functions @@ -56,23 +46,14 @@ Obsoletes: SDL_gfx < %{version} The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL -surfaces. The current components of the SDL_gfx library are: - -- Graphic Primitives (SDL_gfxPrimitives.h) - -- Rotozoomer (SDL_rotozoom.h) - -- Framerate control (SDL_framerate.h) - -- MMX image filters (SDL_imageFilter.h) - -The library is backwards compatible to the above mentioned code. It is -written in plain C and can be used in C++ code. +surfaces. %package -n libSDL_gfx-devel Summary: Libraries, includes and more to develop SDL_gfx applications -Group: Development/Libraries/C and C++ -Requires: libSDL_gfx13 = %{version} libSDL-devel pkgconfig +Group: Development/Libraries/X11 +Requires: libSDL-devel +Requires: libSDL_gfx13 = %{version} +Requires: pkgconfig Provides: SDL_gfx-devel = %{version} Obsoletes: SDL_gfx-devel < %{version} @@ -88,7 +69,7 @@ surfaces. The current components of the SDL_gfx library are: - Framerate control (SDL_framerate.h) -- MMX image filters (SDL_imageFilter.h) +- MMX image filters (SDL_imageFilter.h) The library is backwards compatible to the above mentioned code. It is written in plain C and can be used in C++ code. @@ -115,7 +96,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %files -n libSDL_gfx-devel %defattr(-,root,root) -%{_includedir}/SDL/* +%{_includedir}/SDL/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/SDL_gfx.pc From 366c129ef81fd25b09a6ba926584d739e78d7b0c14ead6554623c760c8a08b7c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 11 Nov 2013 03:59:50 +0000 Subject: [PATCH 2/3] Update with new URL OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=17 --- SDL_gfx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 9762428..9a9a4fd 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -22,7 +22,7 @@ Release: 0 Summary: SDL Graphics Routines for Primitives and Other Support Functions License: Zlib Group: Development/Libraries/X11 -Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/ +Url: http://www.ferzkopp.net/joomla/content/view/19/14/ Source: %name-%version.tar.xz Source2: baselibs.conf From bb0f4c35dcdb2a407357acd62eec2113f6159d2e1fcdfc8e4fa1e5b05cdc6f9d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 11 Nov 2013 21:58:47 +0000 Subject: [PATCH 3/3] Adjust package names for SO version bump OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=18 --- SDL_gfx.spec | 16 ++++++++-------- baselibs.conf | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 9a9a4fd..415b010 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -17,6 +17,7 @@ Name: SDL_gfx +%define lname libSDL_gfx15 Version: 2.0.25 Release: 0 Summary: SDL Graphics Routines for Primitives and Other Support Functions @@ -36,13 +37,13 @@ provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL surfaces. -%package -n libSDL_gfx13 +%package -n %lname Summary: SDL Graphics Routines for Primitives and Other Support Functions Group: System/Libraries Provides: SDL_gfx = %{version} Obsoletes: SDL_gfx < %{version} -%description -n libSDL_gfx13 +%description -n %lname The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL @@ -51,8 +52,8 @@ surfaces. %package -n libSDL_gfx-devel Summary: Libraries, includes and more to develop SDL_gfx applications Group: Development/Libraries/X11 +Requires: %lname = %version Requires: libSDL-devel -Requires: libSDL_gfx13 = %{version} Requires: pkgconfig Provides: SDL_gfx-devel = %{version} Obsoletes: SDL_gfx-devel < %{version} @@ -85,14 +86,13 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_gfx13 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%postun -n libSDL_gfx13 -p /sbin/ldconfig - -%files -n libSDL_gfx13 +%files -n %lname %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog LICENSE NEWS README -%{_libdir}/lib*.so.* +%_libdir/libSDL_gfx.so.15* %files -n libSDL_gfx-devel %defattr(-,root,root) diff --git a/baselibs.conf b/baselibs.conf index 7d8c913..1f93e5f 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,6 @@ -libSDL_gfx13 +libSDL_gfx15 provides "SDL_gfx- = " obsoletes "SDL_gfx- <= " libSDL_gfx-devel requires -libSDL_gfx- - requires "libSDL_gfx13- = " + requires "libSDL_gfx15- = "