From 84e7b3defa4756dc33fbb7df0317e1b178dde4f9 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 29 Feb 2024 17:41:51 +0300 Subject: [PATCH] import libspatialaudio-3.1-1.20200406gitd926a2e.el8 --- .gitignore | 1 + .libspatialaudio.metadata | 1 + SOURCES/README.md | 3 ++ SPECS/libspatialaudio.spec | 75 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 .gitignore create mode 100644 .libspatialaudio.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/libspatialaudio.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe908a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libspatialaudio-d926a2e.tar.gz diff --git a/.libspatialaudio.metadata b/.libspatialaudio.metadata new file mode 100644 index 0000000..1323a80 --- /dev/null +++ b/.libspatialaudio.metadata @@ -0,0 +1 @@ +fae381e157e9c106b460285e1ac4949169c3b13c SOURCES/libspatialaudio-d926a2e.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..b5be7cc --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# libspatialaudio + +The libspatialaudio package \ No newline at end of file diff --git a/SPECS/libspatialaudio.spec b/SPECS/libspatialaudio.spec new file mode 100644 index 0000000..41538ad --- /dev/null +++ b/SPECS/libspatialaudio.spec @@ -0,0 +1,75 @@ +%global commit0 d926a2ee469a3fefd50a9364fb9ac6fb484c3f70 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global date0 20200406 + +Name: libspatialaudio +Version: 3.1 +Release: 1.%{date0}git%{?shortcommit0}%{?dist} +Summary: Ambisonic encoding / decoding and binauralization library + +License: LGPLv2+ +URL: https://github.com/videolabs/libspatialaudio +Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz + +BuildRequires: cmake3 +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(libmysofa) + + +%description +libspatialaudio is an open-source and cross-platform C++ library for +Ambisonic encoding and decoding, filtering and binaural rendering. It is +targetted to render High-Order Ambisonic (HOA) and VR/3D audio samples +in multiple environments, from headphones to classic loudspeakers. Its +binaural rendering can be used for classical 5.1/7.1 spatial channels +as well as Ambisonics inputs. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -n %{name}-%{commit0} + + +%build +mkdir -p build +cd build +%cmake3 \ + -DBUILD_STATIC_LIBS=OFF \ + .. + +%make_build + + +%install +cd build +%make_install + + +%ldconfig_scriptlets + + +%files +%license LICENSE +%doc README.md +%{_libdir}/libspatialaudio.so.1* + +%files devel +%{_includedir}/* +%{_libdir}/libspatialaudio.so +%{_libdir}/pkgconfig/spatialaudio.pc + + +%changelog +* Thu Feb 29 2024 Sergey Cherevko - 3.1-1.20200406gitd926a2e +- Rebuilt for MSVSphere 8.9 + +* Mon Apr 13 2020 Nicolas Chauvet - 3.1-1.20200406gitd926a2e +- Initial spec file