update to 2.0.12 [release 2.0.12-1mamba;Sat May 02 2020]
This commit is contained in:
parent
e3a3f14cab
commit
fa7f40837e
19
libSDL2.spec
19
libSDL2.spec
@ -1,5 +1,5 @@
|
||||
Name: libSDL2
|
||||
Version: 2.0.8
|
||||
Version: 2.0.12
|
||||
Release: 1mamba
|
||||
Summary: A library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware
|
||||
Group: System/Libraries
|
||||
@ -12,8 +12,12 @@ Patch0: libSDL2-2.0.4-libwayland-1.9.93.patch
|
||||
License: zlib/libpng
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libdbus-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libibus-devel
|
||||
BuildRequires: libts-devel
|
||||
BuildRequires: libunwind-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%ifarch x86_64
|
||||
Provides: libSDL2-2.0.so.1()(64bit)
|
||||
@ -39,7 +43,6 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%prep
|
||||
%setup -q -n SDL2-%{version}
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake -d build \
|
||||
@ -57,9 +60,9 @@ 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
|
||||
#%ifarch x86_64
|
||||
#mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
|
||||
#%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -80,7 +83,6 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
|
||||
%{_includedir}/SDL2/begin_code.h
|
||||
%{_includedir}/SDL2/close_code.h
|
||||
%{_libdir}/libSDL2-2.0.so
|
||||
%{_libdir}/libSDL2.a
|
||||
%{_libdir}/libSDL2.so
|
||||
%{_libdir}/libSDL2main.a
|
||||
%{_libdir}/pkgconfig/sdl2.pc
|
||||
@ -91,6 +93,9 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
|
||||
#%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
|
||||
* Sat May 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-1mamba
|
||||
- update to 2.0.12
|
||||
|
||||
* Sat Sep 01 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8-1mamba
|
||||
- update to 2.0.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user