From f589007e65634345720027c5a8121b4584984c68 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:37:49 +0100 Subject: [PATCH] automatic update by autodist [release 2.0.7-1mamba;Fri Dec 08 2017] --- libSDL2.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/libSDL2.spec b/libSDL2.spec index 618fa4d..0784054 100644 --- a/libSDL2.spec +++ b/libSDL2.spec @@ -1,6 +1,6 @@ Name: libSDL2 -Version: 2.0.4 -Release: 2mamba +Version: 2.0.7 +Release: 1mamba Summary: A library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware Group: System/Libraries Vendor: openmamba @@ -39,7 +39,7 @@ This package contains libraries and header files for developing applications tha %prep %setup -q -n SDL2-%{version} -%patch0 -p1 +#%patch0 -p1 %build %cmake -d build \ @@ -57,6 +57,10 @@ This package contains libraries and header files for developing applications tha # legacy workaround ln -s libSDL2-2.0.so.0 %{buildroot}%{_libdir}/libSDL2-2.0.so.1 +%ifarch x86_64 +mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/ +%endif + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -81,9 +85,15 @@ ln -s libSDL2-2.0.so.0 %{buildroot}%{_libdir}/libSDL2-2.0.so.1 %{_libdir}/libSDL2main.a %{_libdir}/pkgconfig/sdl2.pc %{_datadir}/aclocal/sdl2.m4 +%dir %{_libdir}/cmake/SDL2 +%{_libdir}/cmake/SDL2/SDL2Config*.cmake +%{_libdir}/cmake/SDL2/SDL2Targets*.cmake #%doc README-android.txt README-cmake.txt README-directfb.txt README-gesture.txt README-hg.txt README-ios.txt README-macosx.txt README-pandora.txt README-platforms.txt README-porting.txt README-psp.txt README-raspberrypi.txt README-SDL.txt README-touch.txt README.txt README-wince.txt %changelog +* Fri Dec 08 2017 Automatic Build System 2.0.7-1mamba +- automatic update by autodist + * Sun Feb 14 2016 Silvan Calarco 2.0.4-2mamba - provide libSDL2-2.0.so.1 for legacy with previous version