From d0d041a30d086211895e15937d4e73abd03351bb5df813e996bae39b245b108e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Jun 2014 09:06:09 +0000 Subject: [PATCH] SDL2_gfx-1.0.1 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=7 --- SDL2_gfx-1.0.0.tar.gz | 3 --- SDL2_gfx-1.0.1.tar.gz | 3 +++ SDL2_gfx.changes | 9 +++++++++ SDL2_gfx.spec | 16 ++++++++++------ 4 files changed, 22 insertions(+), 9 deletions(-) delete mode 100644 SDL2_gfx-1.0.0.tar.gz create mode 100644 SDL2_gfx-1.0.1.tar.gz diff --git a/SDL2_gfx-1.0.0.tar.gz b/SDL2_gfx-1.0.0.tar.gz deleted file mode 100644 index 68b7bdd..0000000 --- a/SDL2_gfx-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9843924d46eacbabba685a239cf2284b948766a20ef2caa48cb18462a3295caf -size 1081660 diff --git a/SDL2_gfx-1.0.1.tar.gz b/SDL2_gfx-1.0.1.tar.gz new file mode 100644 index 0000000..d0724ef --- /dev/null +++ b/SDL2_gfx-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66a7cc45add20eef8759830c418fc01d93c1d2236f60e1d93c10d45c99c015bd +size 1078740 diff --git a/SDL2_gfx.changes b/SDL2_gfx.changes index d6726b3..99ea57e 100644 --- a/SDL2_gfx.changes +++ b/SDL2_gfx.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jun 17 09:01:15 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.0.1 +* Various minor and major fixes to drawing algorithms +* Use of the SDLTest library for tests +* pkg-config support. +- Only disable MMX for i586 (x86_64 has it implied) + ------------------------------------------------------------------- Mon Nov 11 04:00:40 UTC 2013 - jengelh@inai.de diff --git a/SDL2_gfx.spec b/SDL2_gfx.spec index 5090fb9..808b39b 100644 --- a/SDL2_gfx.spec +++ b/SDL2_gfx.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2_gfx # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,16 +17,17 @@ Name: SDL2_gfx -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: SDL2 Graphics Routines for Primitives and Other Support Functions License: Zlib Group: Development/Libraries/X11 Url: http://www.ferzkopp.net/joomla/content/view/19/14/ -Source: %{name}-%{version}.tar.gz +Source: http://www.ferzkopp.net/Software/SDL2_gfx/%name-%version.tar.gz Source1: baselibs.conf BuildRequires: libSDL2-devel +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,9 +44,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo %package -n libSDL2_gfx-devel Summary: Libraries, includes and more to develop SDL2_gfx applications Group: Development/Libraries/X11 -Requires: libSDL2-devel Requires: libSDL2_gfx-1_0-0 = %{version} -Requires: pkgconfig Provides: SDL2_gfx-devel = %{version} %description -n libSDL2_gfx-devel @@ -55,7 +54,11 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo %setup -q %build -%configure --disable-static --with-pic --disable-mmx +%configure --disable-static \ +%ifarch i586 + --disable-mmx \ +%endif + --with-pic make %{?_smp_mflags} %install @@ -75,5 +78,6 @@ rm -f %{buildroot}%{_libdir}/*.la %defattr(-,root,root) %{_includedir}/SDL2/ %{_libdir}/lib*.so +%_libdir/pkgconfig/*.pc %changelog