|
|
|
@ -12,7 +12,9 @@ BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%if 0%{fedora}
|
|
|
|
|
BuildRequires: SDL2-devel >= 2.24
|
|
|
|
|
%{endif}
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
@ -75,8 +77,10 @@ cp -rp . ../mingw-build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if 0%{fedora}
|
|
|
|
|
%cmake
|
|
|
|
|
%cmake_build
|
|
|
|
|
%{endif}
|
|
|
|
|
|
|
|
|
|
pushd ../mingw-build
|
|
|
|
|
%mingw_cmake
|
|
|
|
@ -85,7 +89,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if 0%{fedora}
|
|
|
|
|
%cmake_install
|
|
|
|
|
%{endif}
|
|
|
|
|
|
|
|
|
|
pushd ../mingw-build
|
|
|
|
|
%mingw_make_install
|
|
|
|
@ -93,6 +99,7 @@ pushd ../mingw-build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{fedora}
|
|
|
|
|
%files -n libFAudio
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
@ -111,6 +118,7 @@ popd
|
|
|
|
|
%{_includedir}/FAPOFX.h
|
|
|
|
|
%{_includedir}/FAudio.h
|
|
|
|
|
%{_includedir}/FAudioFX.h
|
|
|
|
|
%{endif}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-%{name}
|
|
|
|
|