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..415b010 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,63 +16,45 @@ # - Name: SDL_gfx -BuildRequires: libSDL-devel -Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/ +%define lname libSDL_gfx15 +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/joomla/content/view/19/14/ + +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: +surfaces. -- 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. - -%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 -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: %lname = %version +Requires: libSDL-devel +Requires: pkgconfig Provides: SDL_gfx-devel = %{version} Obsoletes: SDL_gfx-devel < %{version} @@ -88,7 +70,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. @@ -104,18 +86,17 @@ 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) -%{_includedir}/SDL/* +%{_includedir}/SDL/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/SDL_gfx.pc 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- = "