commit
87c987685d
@ -0,0 +1,2 @@
|
||||
SOURCES/LPCNet-0.2.tar.gz
|
||||
SOURCES/lpcnet_191005_v1.0.tgz
|
@ -0,0 +1,2 @@
|
||||
2b1128c4f9805d0776d748d4b12910cadd96b0f5 SOURCES/LPCNet-0.2.tar.gz
|
||||
9e588a52b56aed7c0909cab802207b37311fbb21 SOURCES/lpcnet_191005_v1.0.tgz
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,119 @@
|
||||
%undefine __cmake_in_source_build
|
||||
%global sover 0.2
|
||||
|
||||
Name: lpcnetfreedv
|
||||
Version: 0.2
|
||||
Release: 11%{?dist}
|
||||
Summary: LPCNet for FreeDV
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/drowe67/LPCNet
|
||||
Source0: https://github.com/drowe67/LPCNet/archive/v%{version}/LPCNet-%{version}.tar.gz
|
||||
Source1: http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz
|
||||
|
||||
Patch0: lpcnetfreedv-test.patch
|
||||
|
||||
BuildRequires: cmake gcc
|
||||
BuildRequires: codec2-devel
|
||||
|
||||
%description
|
||||
Experimental version of LPCNet that has been used to develop FreeDV 2020 - a HF
|
||||
radio Digial Voice mode for over the air experimentation with Neural Net speech
|
||||
coding. Possibly the first use of Neural Net speech coding in real world
|
||||
operation.
|
||||
|
||||
%package devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Summary: Development files and tools for LPCNet
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n LPCNet-%{version}
|
||||
|
||||
|
||||
%build
|
||||
# Add model data archive to the build directory so CMake finds it.
|
||||
mkdir -p %{_vpath_builddir}
|
||||
cp %{SOURCE1} %{__cmake_builddir}/
|
||||
|
||||
# We need to force optimizations to specific values since the build system and
|
||||
# host system will likely be different.
|
||||
%ifarch i686 x86_64
|
||||
%global _cpuopt "-DAVX=TRUE"
|
||||
%endif
|
||||
%ifarch armv7hl
|
||||
%global _cpuopt "-DNEON=TRUE"
|
||||
%endif
|
||||
%ifarch aarch64 ppc64le s390x
|
||||
# NEON instructions are native in arm64.
|
||||
%global _cpuopt ""
|
||||
%endif
|
||||
|
||||
%cmake -DDISABLE_CPU_OPTIMIZATION=TRUE %{_cpuopt}
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
# Test scripts incorrectly assume build directory name. Need to fix.
|
||||
#ctest
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}.so.%{sover}
|
||||
|
||||
%files devel
|
||||
%{_bindir}/*
|
||||
%{_includedir}/lpcnet/
|
||||
%{_libdir}/cmake/lpcnetfreedv/
|
||||
%{_libdir}/lib%{name}.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 02 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.2-11
|
||||
- Rebuilt for MSVSphere 9.2
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sun Dec 05 2021 Richard Shaw <hobbes1069@gmail.com> - 0.2-10
|
||||
- Rebuild for codec2 1.0.1.
|
||||
|
||||
* Sun Aug 08 2021 Richard Shaw <hobbes1069@gmail.com> - 0.2-9
|
||||
- Rebuild for codec2 1.0.0.
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sun Dec 20 2020 Richard Shaw <hobbes1069@gmail.com> - 0.2-6
|
||||
- Bootstrap build for codec2.
|
||||
|
||||
* Sun Dec 20 2020 Richard Shaw <hobbes1069@gmail.com> - 0.2-5
|
||||
- Change library install location to %%{_libdir}.
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-4
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed May 13 2020 Richard Shaw <hobbes1069@gmail.com> - 0.2-2
|
||||
- Update per reviewer comments.
|
||||
- Renamed package to lpcnetfreedv (same as library), repo will be renamed in
|
||||
the near future.
|
||||
- Made library private as it is essentially a plugin for freedv.
|
||||
|
||||
* Mon Apr 20 2020 Richard Shaw <hobbes1069@gmail.com> - 0.2-1
|
||||
- Initial packaging.
|
Loading…
Reference in new issue