From aa4a1285461737a5e9a4fc29162c0f1cc65c1da7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 14 Nov 2023 08:39:35 +0000 Subject: [PATCH] initial import --- .gitignore | 1 + liblc3.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 liblc3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4c3c05 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/liblc3-*.tar.gz diff --git a/liblc3.spec b/liblc3.spec new file mode 100644 index 0000000..abb76cf --- /dev/null +++ b/liblc3.spec @@ -0,0 +1,70 @@ +Name: liblc3 +Version: 1.0.4 +Release: 2%{?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 + +BuildRequires: gcc +BuildRequires: meson + +%description +The Low Complexity Communication Codec (LC3) is used by +Bluetooth as the codec for LE Audio. It enables high +quality audio over the low bandwidth connections provided +by Bluetooth LE. + +%package devel +Summary: Development package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Files for development with %{name}. + +%package utils +Summary: Utility package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +Uitlities for command line use of and testing +the %{name} library. + +%prep +%autosetup -p1 + +%build +%meson -Dtools=true +%meson_build + +%install +%meson_install + +%check +%meson_test + +%files +%license LICENSE +%{_libdir}/liblc3.so.1{,.*} + +%files devel +%{_includedir}/lc3* +%{_libdir}/pkgconfig/lc3.pc +%{_libdir}/liblc3.so + +%files utils +%{_bindir}/dlc3 +%{_bindir}/elc3 + +%changelog +* Mon Nov 13 2023 Peter Robinson - 1.0.4-2 +- Review fixes + +* Fri Aug 04 2023 Peter Robinson - 1.0.4-1 +- Update to 1.0.4 +- Review updates +- Split utils out to subpackage + +* Thu Jun 22 2023 Peter Robinson 1.0.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..bf1456b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (liblc3-1.0.4.tar.gz) = bc047aa26059f2b2a7f5275b580f39a9237ffdd6da03645c7e95957447ba7410768ae5c08fcf1e0ac16fac873be4cbf62695b2298ef72f54f09e577664c27255