automatic update by autodist [release 2.0.7-1mamba;Fri Dec 08 2017]

This commit is contained in:
Automatic Build System 2024-01-06 03:37:49 +01:00
parent 40091929ee
commit f589007e65

View File

@ -1,6 +1,6 @@
Name: libSDL2 Name: libSDL2
Version: 2.0.4 Version: 2.0.7
Release: 2mamba Release: 1mamba
Summary: A library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware Summary: A library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -39,7 +39,7 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q -n SDL2-%{version} %setup -q -n SDL2-%{version}
%patch0 -p1 #%patch0 -p1
%build %build
%cmake -d build \ %cmake -d build \
@ -57,6 +57,10 @@ This package contains libraries and header files for developing applications tha
# legacy workaround # legacy workaround
ln -s libSDL2-2.0.so.0 %{buildroot}%{_libdir}/libSDL2-2.0.so.1 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 %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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}/libSDL2main.a
%{_libdir}/pkgconfig/sdl2.pc %{_libdir}/pkgconfig/sdl2.pc
%{_datadir}/aclocal/sdl2.m4 %{_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 #%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 %changelog
* Fri Dec 08 2017 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
- automatic update by autodist
* Sun Feb 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-2mamba * Sun Feb 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-2mamba
- provide libSDL2-2.0.so.1 for legacy with previous version - provide libSDL2-2.0.so.1 for legacy with previous version