|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: FAudio
|
|
|
|
|
Version: 22.03
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 22.08
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: FNA is a reimplementation of the Microsoft XNA Game Studio 4.0 Refresh libraries
|
|
|
|
|
|
|
|
|
|
License: zlib
|
|
|
|
@ -14,6 +14,13 @@ BuildRequires: make
|
|
|
|
|
|
|
|
|
|
BuildRequires: SDL2-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
|
BuildRequires: mingw32-SDL2
|
|
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
|
BuildRequires: mingw64-SDL2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is FAudio, an XAudio reimplementation that focuses solely on developing
|
|
|
|
@ -40,18 +47,47 @@ Requires: libFAudio%{?_isa} = %{version}-%{release}
|
|
|
|
|
Development files for the FAudio library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw32-%{name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw32-%{name}
|
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-%{name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n mingw64-%{name}
|
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
mkdir ../mingw-build
|
|
|
|
|
cp -rp . ../mingw-build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
pushd ../mingw-build
|
|
|
|
|
%mingw_cmake
|
|
|
|
|
%mingw_make %{?_smp_mflags}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
pushd ../mingw-build
|
|
|
|
|
%mingw_make_install
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libFAudio
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -73,7 +109,43 @@ Development files for the FAudio library.
|
|
|
|
|
%{_includedir}/FAudioFX.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-%{name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{mingw32_bindir}/FAudio.dll
|
|
|
|
|
%{mingw32_includedir}/F3DAudio.h
|
|
|
|
|
%{mingw32_includedir}/FACT.h
|
|
|
|
|
%{mingw32_includedir}/FACT3D.h
|
|
|
|
|
%{mingw32_includedir}/FAPO.h
|
|
|
|
|
%{mingw32_includedir}/FAPOBase.h
|
|
|
|
|
%{mingw32_includedir}/FAPOFX.h
|
|
|
|
|
%{mingw32_includedir}/FAudio.h
|
|
|
|
|
%{mingw32_includedir}/FAudioFX.h
|
|
|
|
|
%{mingw32_libdir}/cmake/%{name}/
|
|
|
|
|
%{mingw32_libdir}/libFAudio.dll.a
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-%{name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{mingw64_bindir}/FAudio.dll
|
|
|
|
|
%{mingw64_includedir}/F3DAudio.h
|
|
|
|
|
%{mingw64_includedir}/FACT.h
|
|
|
|
|
%{mingw64_includedir}/FACT3D.h
|
|
|
|
|
%{mingw64_includedir}/FAPO.h
|
|
|
|
|
%{mingw64_includedir}/FAPOBase.h
|
|
|
|
|
%{mingw64_includedir}/FAPOFX.h
|
|
|
|
|
%{mingw64_includedir}/FAudio.h
|
|
|
|
|
%{mingw64_includedir}/FAudioFX.h
|
|
|
|
|
%{mingw64_libdir}/cmake/%{name}/
|
|
|
|
|
%{mingw64_libdir}/libFAudio.dll.a
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 22 2022 Michael Cronenworth <mike@cchtml.com> - 22.08-1
|
|
|
|
|
- Update to 22.08
|
|
|
|
|
- Initial MinGW package
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.03-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|