SHA256
1
0
forked from pool/codec2

Accepting request 499754 from hardware:sdr

new package

OBS-URL: https://build.opensuse.org/request/show/499754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/codec2?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-05-31 10:20:24 +00:00 committed by Git OBS Bridge
commit 3b98383167
4 changed files with 27 additions and 9 deletions

View File

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

3
codec2-0.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57754bf3507a7ac9f9402cae054787a3572bea6a791137cdd5fa35f6c5af1144
size 8352824

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue May 30 12:25:22 UTC 2017 - mpluskal@suse.com
- Update licensing information
-------------------------------------------------------------------
Sun Apr 16 09:10:20 UTC 2017 - mardnh@gmx.de
- Update to version 0.6:
* No upstream changelog available
-------------------------------------------------------------------
Wed Mar 15 12:08:03 UTC 2017 - jengelh@inai.de

View File

@ -16,13 +16,14 @@
#
%define libname lib%{name}-0_5
%define libname lib%{name}-0_6
Name: codec2
Version: 0.5.1
Version: 0.6
Release: 0
Summary: Low bit rate speech codec
# octave and asterisk directories contain GPL-2.0 licensed code but its not
# used
# used build, only used in examples subpackage. src/horus_l2.* is not free
# for non-commercial usage but is not used either.
License: LGPL-2.1
Group: Productivity/Hamradio/Other
Url: http://rowetel.com/codec2.html
@ -31,6 +32,7 @@ Source1: %{name}-rpmlintrc
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(speexdsp)
@ -40,7 +42,6 @@ between 700 and 3200 bit/s.
%package -n %{libname}
Summary: Low bit rate speech codec
Summary: Low bit rate speech codec
License: LGPL-2.1
Group: System/Libraries
@ -61,6 +62,7 @@ between 700 and 3200 bit/s.
%package examples
Summary: Example code for Codec 2
License: GPL-2.0 AND LGPL-2.1
Group: Productivity/Hamradio/Other
Requires: %{name}-devel = %{version}
BuildArch: noarch
@ -69,6 +71,9 @@ Example code for Codec 2, including test voices and matlab/octave files.
%prep
%setup -q
# horus_l2.* is not needed for building and has to be removed due to
# licensing reasons
rm -rf src/horus_l2.*
%build
%cmake \
@ -77,7 +82,6 @@ Example code for Codec 2, including test voices and matlab/octave files.
-Wno-dev
make %{?_smp_mflags}
%install
%cmake_install
@ -91,7 +95,7 @@ libdir=\${exec_prefix}/%{_lib}
Name: codec2
Version: %{version}
License: GPL-2.0 AND LGPL-2.1
License: GPL-2.0 and LGPL-2.1
Description: Low bit rate speech codec for two-way radio
Cflags: -I\${includedir}
Libs: -L\${libdir} -l%{name}
@ -107,6 +111,8 @@ EOF
%{_bindir}/c2demo
%{_bindir}/c2enc
%{_bindir}/c2sim
%{_bindir}/drs232
%{_bindir}/drs232_ldpc
%{_bindir}/fdmdv_demod
%{_bindir}/fdmdv_get_test_bits
%{_bindir}/fdmdv_interleave
@ -114,6 +120,7 @@ EOF
%{_bindir}/fdmdv_put_test_bits
%{_bindir}/fec_dec
%{_bindir}/fec_enc
%{_bindir}/fsk_mod
%{_bindir}/fm_demod
%{_bindir}/insert_errors