From 7a341fd3cda66a23ded4b823c40da294b0c4756c Mon Sep 17 00:00:00 2001 From: bbrucezhang Date: Wed, 18 Mar 2026 11:01:33 +0800 Subject: [PATCH] Update to 1.1.3 --- 0001-Revert-build-fix-rpath-issue.patch | 31 +++++++++++++++++++++++++ liblc3.spec | 22 +++++++++++++++--- sources | 2 +- 3 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 0001-Revert-build-fix-rpath-issue.patch diff --git a/0001-Revert-build-fix-rpath-issue.patch b/0001-Revert-build-fix-rpath-issue.patch new file mode 100644 index 0000000..ea39bf6 --- /dev/null +++ b/0001-Revert-build-fix-rpath-issue.patch @@ -0,0 +1,31 @@ +From 061232c5fdce9783009c3d9878653188001942fd Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Sun, 21 Apr 2024 21:00:46 +0100 +Subject: [PATCH] Revert "build: fix rpath issue" + +This reverts commit 5e528fc54368ce826a3bb5751499061cfa1bda71. +--- + tools/meson.build | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/tools/meson.build b/tools/meson.build +index 5da77e7..8d0cf49 100644 +--- a/tools/meson.build ++++ b/tools/meson.build +@@ -24,11 +24,9 @@ lc3toolslib = static_library('lc3toolslib', + executable('elc3', ['elc3.c'], + link_with : lc3toolslib, + include_directories: inc, +- install: true, +- install_rpath: join_paths(get_option('prefix'), get_option('libdir'))) ++ install: true) + + executable('dlc3', ['dlc3.c'], + link_with : lc3toolslib, + include_directories: inc, +- install: true, +- install_rpath: join_paths(get_option('prefix'), get_option('libdir'))) ++ install: true) +-- +2.44.0 + diff --git a/liblc3.spec b/liblc3.spec index 7f4e1b0..fc964b0 100644 --- a/liblc3.spec +++ b/liblc3.spec @@ -1,14 +1,16 @@ Name: liblc3 -Version: 1.0.4 -Release: 2%{?dist} +Version: 1.1.3 +Release: 1%{?dist} Summary: Low Complexity Communication Codec (LC3) License: Apache-2.0 URL: https://github.com/google/liblc3 Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch3001: 0001-Revert-build-fix-rpath-issue.patch BuildRequires: gcc BuildRequires: meson +BuildRequires: python3-devel %description The Low Complexity Communication Codec (LC3) is used by @@ -23,6 +25,13 @@ Requires: %{name} = %{version}-%{release} %description devel Files for development with %{name}. +%package -n python3-lc3 +Summary: Python3 bindings for %{name} +Requires: %{name} = %{version}-%{release} + +%description -n python3-lc3 +Python3 bindings for %{name}. + %package utils Summary: Utility package for %{name} Requires: %{name} = %{version}-%{release} @@ -35,7 +44,7 @@ the %{name} library. %autosetup -p1 %build -%meson -Dtools=true +%meson -Dtools=true -Dpython=true %meson_build %install @@ -53,11 +62,18 @@ the %{name} library. %{_libdir}/pkgconfig/lc3.pc %{_libdir}/liblc3.so +%files -n python3-lc3 +%{python3_sitelib}/* + %files utils %{_bindir}/dlc3 %{_bindir}/elc3 %changelog +* Wed Mar 18 2026 bbrucezhang - 1.1.3-1 +- [Type] sync +- [DESC] Update to 1.1.3 + * Tue Jun 10 2025 bbrucezhang - 1.0.4-2 - Rebuilt for loongarch64 diff --git a/sources b/sources index bf1456b..cd7992b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (liblc3-1.0.4.tar.gz) = bc047aa26059f2b2a7f5275b580f39a9237ffdd6da03645c7e95957447ba7410768ae5c08fcf1e0ac16fac873be4cbf62695b2298ef72f54f09e577664c27255 +SHA512 (liblc3-1.1.3.tar.gz) = 0f06367651b2ebd5e5e8f8e6256fd818646f6674e5bd278ba224c2fdbce7e4b6985d8ef1c5e69aee2fdbeeb4f790fb1e80529d3f8da9fc2dff98e9b8f90d4bdb -- Gitee