From 65c96bae7889497eda0258b6879217b61ead15dc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:57:35 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0.2-1mamba;Sun Mar 26 2023] --- README.md | 2 ++ liblc3.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 liblc3.spec diff --git a/README.md b/README.md index 477b962..2303da9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # liblc3 +Low Complexity Communication Codec (LC3). + diff --git a/liblc3.spec b/liblc3.spec new file mode 100644 index 0000000..1db5e67 --- /dev/null +++ b/liblc3.spec @@ -0,0 +1,63 @@ +Name: liblc3 +Version: 1.0.2 +Release: 1mamba +Summary: Low Complexity Communication Codec (LC3) +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/google/liblc3 +Source: https://github.com/google/liblc3.git/v%{version}/liblc3-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +Low Complexity Communication Codec (LC3). + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/liblc3.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%{_includedir}/lc3.h +%{_includedir}/lc3_private.h +%{_libdir}/liblc3.so +%{_libdir}/pkgconfig/lc3.pc +%doc README.md + +%changelog +* Sun Mar 26 2023 Silvan Calarco 1.0.2-1mamba +- package created using the webbuild interface