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