diff --git a/SDL-2.0.0-7316.tar.gz b/SDL-2.0.0-7316.tar.gz new file mode 100644 index 0000000..29c1fdb --- /dev/null +++ b/SDL-2.0.0-7316.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a7e3064c078f791edd3bd6d2cea4352a609c6929953b38473e120e24dadbb25 +size 3740142 diff --git a/SDL-2.0.tar.gz b/SDL-2.0.tar.gz deleted file mode 100644 index d847dbe..0000000 --- a/SDL-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:835292d391eb32496db6c07f1b3e3fbdaee0ba8515156d9887b5d9762eafe79c -size 4727642 diff --git a/SDL2-2.0-voidptr.patch b/SDL2-2.0-voidptr.patch deleted file mode 100644 index 7b8eaf4..0000000 --- a/SDL2-2.0-voidptr.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: src/video/x11/SDL_x11opengles.c -=================================================================== ---- src/video/x11/SDL_x11opengles.c.orig -+++ src/video/x11/SDL_x11opengles.c -@@ -321,7 +321,7 @@ X11_GLES_CreateContext(_THIS, SDL_Window - - SDL_WindowData *data = (SDL_WindowData *) window->driverdata; - Display *display = data->videodata->display; -- SDL_GLContext context = 1; -+ SDL_GLContext context = (SDL_GLContext)1; - - XSync(display, False); - diff --git a/SDL2.changes b/SDL2.changes index ee8141a..298abe6 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 24 18:05:34 UTC 2013 - prusnak@opensuse.org + +- updated to revision 7316 + ------------------------------------------------------------------- Sat Dec 22 00:07:39 UTC 2012 - prusnak@opensuse.org diff --git a/SDL2.spec b/SDL2.spec index 23220b6..2c712b0 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -16,7 +16,7 @@ # -%define hg_rev 6754 +%define rev 7316 Name: SDL2 BuildRequires: Mesa-devel @@ -33,15 +33,14 @@ BuildRequires: pkgconfig(glu) %ifarch ppc ppc64 BuildRequires: libspe2-devel %endif -Version: 1.99.%{hg_rev} +Version: 1.99.%{rev} Release: 0 Summary: Simple DirectMedia Layer Library License: Zlib Group: System/Libraries Url: http://www.libsdl.org/ -Source: http://www.libsdl.org/tmp/SDL-2.0.tar.gz +Source: http://www.libsdl.org/tmp/SDL-2.0.0-%{rev}.tar.gz Source1: baselibs.conf -Patch0: %{name}-2.0-voidptr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -75,8 +74,7 @@ This package contains files needed for development with the SDL2 library. %prep -%setup -q -n SDL-2.0.0-%{hg_rev} -%patch0 +%setup -q -n SDL-2.0.0-%{rev} %build %configure \ @@ -98,12 +96,12 @@ rm -f %{buildroot}%{_libdir}/*.la %files -n libSDL2-2_0-0 %defattr(-,root,root) -%doc BUGS COPYING CREDITS README README-SDL.txt +%doc BUGS.txt COPYING.txt CREDITS.txt README.txt README-SDL.txt %{_libdir}/*.so.* %files -n libSDL2-devel %defattr(-,root,root) -%doc README.HG TODO WhatsNew +%doc TODO.txt WhatsNew.txt %{_bindir}/* %{_libdir}/*.so %{_libdir}/libSDL2.a