From 9c2408647eab68b9949ba4adc5ec01a9d1344d24 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 8 Jul 2020 14:08:33 +0000 Subject: [PATCH 1/8] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b5be7cc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# libspatialaudio + +The libspatialaudio package \ No newline at end of file From 66e8ad989ffba86903593ac307f8c3350d0c9c8e Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 8 Jul 2020 22:33:37 +0200 Subject: [PATCH 2/8] Import package --- .gitignore | 1 + libspatialaudio.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 libspatialaudio.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4054ce2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +libspatialaudio-*.tar.gz diff --git a/libspatialaudio.spec b/libspatialaudio.spec new file mode 100644 index 0000000..acd4364 --- /dev/null +++ b/libspatialaudio.spec @@ -0,0 +1,72 @@ +%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 +* Mon Apr 13 2020 Nicolas Chauvet - 3.1-1.20200406gitd926a2e +- Initial spec file diff --git a/sources b/sources new file mode 100644 index 0000000..f9270a5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libspatialaudio-d926a2e.tar.gz) = 3a14dedea762f1c16df624c7795b108673768e8552c490b64fe65830e108b3da33fe9b1414b3dc98da90048a23b89baaa9608280a81ac574106fcb758fb52efa From 6665c836066c942175fff29a98ab4574b20cae64 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 05:38:14 +0000 Subject: [PATCH 3/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspatialaudio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspatialaudio.spec b/libspatialaudio.spec index acd4364..02f6284 100644 --- a/libspatialaudio.spec +++ b/libspatialaudio.spec @@ -4,7 +4,7 @@ Name: libspatialaudio Version: 3.1 -Release: 1.%{date0}git%{?shortcommit0}%{?dist} +Release: 2.%{date0}git%{?shortcommit0}%{?dist} Summary: Ambisonic encoding / decoding and binauralization library License: LGPLv2+ @@ -68,5 +68,8 @@ cd build %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 3.1-2.20200406gitd926a2e +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Apr 13 2020 Nicolas Chauvet - 3.1-1.20200406gitd926a2e - Initial spec file From 470affd8a188ac27ad81dd4ffe4f24ffea85b9cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 04:10:07 +0000 Subject: [PATCH 4/8] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspatialaudio.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libspatialaudio.spec b/libspatialaudio.spec index 02f6284..b553d6b 100644 --- a/libspatialaudio.spec +++ b/libspatialaudio.spec @@ -4,7 +4,7 @@ Name: libspatialaudio Version: 3.1 -Release: 2.%{date0}git%{?shortcommit0}%{?dist} +Release: 3.%{date0}git%{?shortcommit0}%{?dist} Summary: Ambisonic encoding / decoding and binauralization library License: LGPLv2+ @@ -68,6 +68,10 @@ cd build %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 3.1-3.20200406gitd926a2e +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 3.1-2.20200406gitd926a2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 93ab4779117f46945550d83036510ff61dd84f1e Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 7 Oct 2020 08:16:10 +0200 Subject: [PATCH 5/8] Fix FTBFS --- libspatialaudio.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libspatialaudio.spec b/libspatialaudio.spec index b553d6b..8f58ceb 100644 --- a/libspatialaudio.spec +++ b/libspatialaudio.spec @@ -39,18 +39,14 @@ developing applications that use %{name}. %build -mkdir -p build -cd build %cmake3 \ - -DBUILD_STATIC_LIBS=OFF \ - .. + -DBUILD_STATIC_LIBS=OFF -%make_build +%cmake_build %install -cd build -%make_install +%cmake_install %ldconfig_scriptlets From 5b98612a3e37942e433a6049629fb73c19a8d4dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 18:03:35 +0000 Subject: [PATCH 6/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspatialaudio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspatialaudio.spec b/libspatialaudio.spec index 8f58ceb..e35a609 100644 --- a/libspatialaudio.spec +++ b/libspatialaudio.spec @@ -4,7 +4,7 @@ Name: libspatialaudio Version: 3.1 -Release: 3.%{date0}git%{?shortcommit0}%{?dist} +Release: 4.%{date0}git%{?shortcommit0}%{?dist} Summary: Ambisonic encoding / decoding and binauralization library License: LGPLv2+ @@ -64,6 +64,9 @@ developing applications that use %{name}. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 3.1-4.20200406gitd926a2e +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 3.1-3.20200406gitd926a2e - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 41a08705a9b703e18d25beb4f410601e7ce2067b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 12:26:08 +0000 Subject: [PATCH 7/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libspatialaudio.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libspatialaudio.spec b/libspatialaudio.spec index e35a609..6415cc5 100644 --- a/libspatialaudio.spec +++ b/libspatialaudio.spec @@ -4,7 +4,7 @@ Name: libspatialaudio Version: 3.1 -Release: 4.%{date0}git%{?shortcommit0}%{?dist} +Release: 5.%{date0}git%{?shortcommit0}%{?dist} Summary: Ambisonic encoding / decoding and binauralization library License: LGPLv2+ @@ -64,6 +64,9 @@ developing applications that use %{name}. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 3.1-5.20200406gitd926a2e +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 3.1-4.20200406gitd926a2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From bace04fb2c2b1cba10bb4fc1adce402f72552558 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:16:12 +0300 Subject: [PATCH 8/8] Remove unnecessary files --- README.md | 3 --- sources | 1 - 2 files changed, 4 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index b5be7cc..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# libspatialaudio - -The libspatialaudio package \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index f9270a5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (libspatialaudio-d926a2e.tar.gz) = 3a14dedea762f1c16df624c7795b108673768e8552c490b64fe65830e108b3da33fe9b1414b3dc98da90048a23b89baaa9608280a81ac574106fcb758fb52efa