|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: codec2
|
|
|
|
|
Version: 0.9.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Next-Generation Digital Voice for Two-Way Radio
|
|
|
|
|
License: LGPLv2
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ Source0: https://github.com/drowe67/codec2/archive/v%{version}/%{name}-%{
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: cmake%{?rhel:3}
|
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
|
#BuildRequires: lpcnetfreedv-devel
|
|
|
|
|
BuildRequires: lpcnetfreedv-devel
|
|
|
|
|
BuildRequires: speex-devel
|
|
|
|
|
%if ! 0%{?rhel} < 8
|
|
|
|
|
BuildRequires: speexdsp-devel
|
|
|
|
@ -50,7 +50,7 @@ Example code for Codec 2
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
|
-DLPCNET=OFF
|
|
|
|
|
-DLPCNET=ON
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
@ -91,6 +91,9 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 20 2020 Richard Shaw <hobbes1069@gmail.com> - 0.9.2-6
|
|
|
|
|
- Re-enable normal build after bootstrapping lpcnetfreedv.
|
|
|
|
|
|
|
|
|
|
* Sun Dec 20 2020 Richard Shaw <hobbes1069@gmail.com> - 0.9.2-5
|
|
|
|
|
- Rebuild for updated lpcnetfreedv.
|
|
|
|
|
|
|
|
|
|