Accepting request 912504 from home:wkazubski:test:science

- Update to version 1.0.0:
  * No upstream changelog available
  * Added new mode 700E
- Test binaries not installed now, so package codec2 dropped,
  license and doc files moved to libcodec2 library.
- Patch codec2-no_return_random.patch rebased.

OBS-URL: https://build.opensuse.org/request/show/912504
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/codec2?expand=0&rev=17
This commit is contained in:
Martin Hauke 2021-08-17 13:48:13 +00:00 committed by Git OBS Bridge
parent e91b19837c
commit 2a928b9443
5 changed files with 23 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19181a446f4df3e6d616b50cabdac4485abb9cd3242cf312a0785f892ed4c76c
size 12244006

3
codec2-1.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:020f34dfa08cf66126633b3899a2f732995ffd471f512254c601e17cc561985d
size 15019266

View File

@ -1,10 +1,9 @@
Index: codec2-0.9.2/src/gp_interleaver.c
===================================================================
--- codec2-0.9.2.orig/src/gp_interleaver.c
+++ codec2-0.9.2/src/gp_interleaver.c
@@ -80,6 +80,7 @@ int choose_interleaver_b(int Nbits)
fprintf(stderr, "Nbits: %d, b not found!\n", Nbits);
diff -up codec2-1.0.0/src/gp_interleaver.c.aaaa codec2-1.0.0/src/gp_interleaver.c
--- codec2-1.0.0/src/gp_interleaver.c.aaaa 2021-08-15 21:49:47.062641389 +0200
+++ codec2-1.0.0/src/gp_interleaver.c 2021-08-15 21:50:14.712490217 +0200
@@ -65,6 +65,7 @@ int choose_interleaver_b(int Nbits)
fprintf(stderr, "gp_interleaver: Nbits: %d, b not found!\n", Nbits);
assert(0);
+ return(0);
}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Aug 16 17:22:30 UTC 2021 - Wojciech Kazubski <wk@ire.pw.edu.pl>
- Update to version 1.0.0:
* No upstream changelog available
* Added new mode 700E
- Test binaries not installed now, so package codec2 dropped,
license and doc files moved to libcodec2 library.
- Patch codec2-no_return_random.patch rebased.
-------------------------------------------------------------------
Mon Mar 9 13:20:24 UTC 2020 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package codec2
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020-2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,9 +16,9 @@
#
%define libname lib%{name}-0_9
%define libname lib%{name}-1_0
Name: codec2
Version: 0.9.2
Version: 1.0.0
Release: 0
Summary: Low bit rate speech codec
# octave and asterisk directories contain GPL-2.0 licensed code but its not
@ -102,22 +102,9 @@ EOF
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%files -n %{libname}
%license COPYING
%doc README*
%{_bindir}/c2dec
%{_bindir}/c2enc
%{_bindir}/drs232
%{_bindir}/drs232_ldpc
%{_bindir}/fdmdv_demod
%{_bindir}/fdmdv_get_test_bits
%{_bindir}/fdmdv_mod
%{_bindir}/fdmdv_put_test_bits
%{_bindir}/fsk_mod
%{_bindir}/fm_demod
%{_bindir}/insert_errors
%files -n %{libname}
%{_libdir}/libcodec2.so.*
%files devel