From 2dfd87b81339939ae4d8048c6865ee65086b8d8aa1b3ac48a366a12fe332dea6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Aug 2018 07:55:11 +0000 Subject: [PATCH 1/3] Accepting request 628471 from home:susnux:branches:games Reverted % to %{} where lines are not touched otherwise. - Update to 2.0.26 * Included patch for CMake builds against SDL2 * Fixed bug in rotozoomSurfaceSizeTrig OBS-URL: https://build.opensuse.org/request/show/628471 OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=25 --- SDL_gfx-2.0.25.tar.gz | 3 --- SDL_gfx-2.0.26.tar.gz | 3 +++ SDL_gfx.changes | 7 +++++++ SDL_gfx.spec | 29 +++++++++++++---------------- 4 files changed, 23 insertions(+), 19 deletions(-) delete mode 100644 SDL_gfx-2.0.25.tar.gz create mode 100644 SDL_gfx-2.0.26.tar.gz diff --git a/SDL_gfx-2.0.25.tar.gz b/SDL_gfx-2.0.25.tar.gz deleted file mode 100644 index e8ee794..0000000 --- a/SDL_gfx-2.0.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0 -size 1760656 diff --git a/SDL_gfx-2.0.26.tar.gz b/SDL_gfx-2.0.26.tar.gz new file mode 100644 index 0000000..3961c7a --- /dev/null +++ b/SDL_gfx-2.0.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446 +size 1771164 diff --git a/SDL_gfx.changes b/SDL_gfx.changes index 640880d..8f79338 100644 --- a/SDL_gfx.changes +++ b/SDL_gfx.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 9 14:21:55 UTC 2018 - rpm@fthiessen.de + +- Update to 2.0.26 + * Included patch for CMake builds against SDL2 + * Fixed bug in rotozoomSurfaceSizeTrig + ------------------------------------------------------------------- Thu Jan 8 09:35:47 UTC 2015 - jengelh@inai.de diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 9503439..77a5486 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_gfx # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,19 +16,19 @@ # -Name: SDL_gfx %define lname libSDL_gfx15 -Version: 2.0.25 +Name: SDL_gfx +Version: 2.0.26 Release: 0 Summary: SDL Graphics Routines for Primitives and Other Support Functions License: Zlib Group: Development/Libraries/X11 -Url: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx - -Source: http://downloads.sf.net/sdlgfx/%name-%version.tar.gz +URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/ +Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz Source2: baselibs.conf +BuildRequires: dos2unix +BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The SDL_gfx library evolved out of the SDL_gfxPrimitives code which @@ -39,8 +39,6 @@ surfaces. %package -n %lname Summary: SDL Graphics Routines for Primitives and Other Support Functions Group: System/Libraries -Provides: SDL_gfx = %version-%release -Obsoletes: SDL_gfx < %version-%release %description -n %lname The SDL_gfx library evolved out of the SDL_gfxPrimitives code which @@ -52,8 +50,6 @@ surfaces. Summary: Libraries, includes and more to develop SDL_gfx applications Group: Development/Libraries/X11 Requires: %lname = %version -Provides: SDL_gfx-devel = %{version} -Obsoletes: SDL_gfx-devel < %{version} %description -n libSDL_gfx-devel The SDL_gfx library evolved out of the SDL_gfxPrimitives code which @@ -80,21 +76,22 @@ written in plain C and can be used in C++ code. # on for x86_64 anyway - but that one can use SSE instead. %configure --disable-static --disable-mmx make %{?_smp_mflags} +dos2unix README +chmod 644 LICENSE AUTHORS ChangeLog NEWS README %install -make install DESTDIR=$RPM_BUILD_ROOT -rm -f "%buildroot/%_libdir"/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog LICENSE NEWS README +%license LICENSE +%doc AUTHORS ChangeLog NEWS README %_libdir/libSDL_gfx.so.15* %files -n libSDL_gfx-devel -%defattr(-,root,root) %_includedir/SDL/ %_libdir/lib*.so %_libdir/pkgconfig/SDL_gfx.pc From cc29d46319ec122948e39dcf2d6063140e83023336278eb6671553a8cc8e7607 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 10 Aug 2018 07:56:31 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=26 --- SDL_gfx.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 77a5486..dc9b11c 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -24,7 +24,7 @@ Summary: SDL Graphics Routines for Primitives and Other Support Functions License: Zlib Group: Development/Libraries/X11 URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/ -Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz +Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%name-%version.tar.gz Source2: baselibs.conf BuildRequires: dos2unix BuildRequires: pkgconfig @@ -81,7 +81,7 @@ chmod 644 LICENSE AUTHORS ChangeLog NEWS README %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find %buildroot -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig From 2348e949698a33803fffb4887126dbfdbfd52d1877699078e07feefe290f4cba Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 18 Aug 2018 09:31:07 +0000 Subject: [PATCH 3/3] Accepting request 630010 from home:iznogood:branches:games - Readd SDL_gfx-devel Provides/Obsoletes, still needed. OBS-URL: https://build.opensuse.org/request/show/630010 OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=27 --- SDL_gfx.changes | 5 +++++ SDL_gfx.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/SDL_gfx.changes b/SDL_gfx.changes index 8f79338..3b211b2 100644 --- a/SDL_gfx.changes +++ b/SDL_gfx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 17 21:09:08 UTC 2018 - bjorn.lie@gmail.com + +- Readd SDL_gfx-devel Provides/Obsoletes, still needed. + ------------------------------------------------------------------- Thu Aug 9 14:21:55 UTC 2018 - rpm@fthiessen.de diff --git a/SDL_gfx.spec b/SDL_gfx.spec index dc9b11c..6f8caa0 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -39,6 +39,8 @@ surfaces. %package -n %lname Summary: SDL Graphics Routines for Primitives and Other Support Functions Group: System/Libraries +Provides: SDL_gfx = %version-%release +Obsoletes: SDL_gfx < %version-%release %description -n %lname The SDL_gfx library evolved out of the SDL_gfxPrimitives code which @@ -50,6 +52,8 @@ surfaces. Summary: Libraries, includes and more to develop SDL_gfx applications Group: Development/Libraries/X11 Requires: %lname = %version +Provides: SDL_gfx-devel = %{version} +Obsoletes: SDL_gfx-devel < %{version} %description -n libSDL_gfx-devel The SDL_gfx library evolved out of the SDL_gfxPrimitives code which