64 lines
1.4 KiB
RPMSpec
64 lines
1.4 KiB
RPMSpec
Name: liblc3
|
|
Version: 1.0.2
|
|
Release: 1mamba
|
|
Summary: Low Complexity Communication Codec (LC3)
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.0.2-1mamba
|
|
- package created using the webbuild interface
|