Martin Pluskal 2017-03-15 15:12:32 +00:00 committed by Git OBS Bridge
parent 3b0a5caae9
commit 0b8d25c7fa

View File

@ -21,7 +21,7 @@ Name: codec2
Version: 0.5.1 Version: 0.5.1
Release: 0 Release: 0
Summary: Low bit rate speech codec Summary: Low bit rate speech codec
License: LGPL-2.1 License: GPL-2.0 AND LGPL-2.1
Group: Productivity/Hamradio/Other Group: Productivity/Hamradio/Other
Url: http://rowetel.com/codec2.html Url: http://rowetel.com/codec2.html
Source: http://files.freedv.org/codec2/codec2-%{version}.tar.xz Source: http://files.freedv.org/codec2/codec2-%{version}.tar.xz
@ -38,6 +38,9 @@ between 700 and 3200 bit/s.
%package -n %{libname} %package -n %{libname}
Summary: Low bit rate speech codec Summary: Low bit rate speech codec
Summary: Low bit rate speech codec
License: LGPL-2.1
Group: System/Libraries
%description -n %{libname} %description -n %{libname}
Codec 2 is a speech codec designed for communications quality speech Codec 2 is a speech codec designed for communications quality speech
@ -45,6 +48,7 @@ between 700 and 3200 bit/s.
%package devel %package devel
Summary: Development library for codec2 Summary: Development library for codec2
License: GPL-2.0 AND LGPL-2.1
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
@ -54,6 +58,7 @@ between 700 and 3200 bit/s.
%package examples %package examples
Summary: Example code for Codec 2 Summary: Example code for Codec 2
License: GPL-2.0 AND LGPL-2.1
Requires: %{name}-devel = %{version} Requires: %{name}-devel = %{version}
BuildArch: noarch BuildArch: noarch
@ -84,6 +89,7 @@ libdir=\${exec_prefix}/%{_lib}
Name: codec2 Name: codec2
Version: %{version} Version: %{version}
License: GPL-2.0 AND LGPL-2.1
Description: Low bit rate speech codec for two-way radio Description: Low bit rate speech codec for two-way radio
Cflags: -I\${includedir} Cflags: -I\${includedir}
Libs: -L\${libdir} -l%{name} Libs: -L\${libdir} -l%{name}
@ -94,7 +100,7 @@ EOF
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README README_fdmdv.txt %doc COPYING README README_fdmdv.txt
%{_bindir}/c2dec %{_bindir}/c2dec
%{_bindir}/c2demo %{_bindir}/c2demo
%{_bindir}/c2enc %{_bindir}/c2enc