From a3b83f06a08f12788d90d8f3d2cd9e6497ad6c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 14:04:09 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 codec2 revision fafdf8a49314589ef50bf5115305eb21 --- .gitattributes | 23 +++++++ baselibs.conf | 1 + codec2-1.0.5.tar.gz | 3 + codec2-rpmlintrc | 3 + codec2.changes | 146 ++++++++++++++++++++++++++++++++++++++++++++ codec2.spec | 103 +++++++++++++++++++++++++++++++ 6 files changed, 279 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 codec2-1.0.5.tar.gz create mode 100644 codec2-rpmlintrc create mode 100644 codec2.changes create mode 100644 codec2.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..4fc9cad --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libcodec2-1_0 diff --git a/codec2-1.0.5.tar.gz b/codec2-1.0.5.tar.gz new file mode 100644 index 0000000..255c9c7 --- /dev/null +++ b/codec2-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd9a065dd1c3477f6172a0156294f767688847e4d170103d1f08b3a075f82826 +size 14786826 diff --git a/codec2-rpmlintrc b/codec2-rpmlintrc new file mode 100644 index 0000000..7a74223 --- /dev/null +++ b/codec2-rpmlintrc @@ -0,0 +1,3 @@ +# these can't be helped +addFilter("no-manual-page-for-binary .*") +addFilter("codec2-examples.noarch: .*devel-dependency codec2-devel") diff --git a/codec2.changes b/codec2.changes new file mode 100644 index 0000000..a32147a --- /dev/null +++ b/codec2.changes @@ -0,0 +1,146 @@ +------------------------------------------------------------------- +Sun Jul 17 07:02:37 UTC 2022 - Wojciech Kazubski + +- Update to version 1.0.5 + * Bump version to 1.0.5 to clearly delineate from various 1.0.4 + tags, otherwise the same as 1.0.4_rc2 +- Update to version 1.0.4 + * 2020B, + * build system and tools maintenance. + * This RC fixes FreeDV API backwards compatibility issue in v1.0.4 + +------------------------------------------------------------------- +Fri Jan 21 07:44:06 UTC 2022 - Martin Pluskal + +- Update to version 1.0.3: + * Internal changes only +- Drop no longer needed patches: + * moved-freedv_callback_rx_sym-into-internal-header.patch + * codec2-no_return_random.patch +- Disable unit tests as they were not run anyways and require octave + +------------------------------------------------------------------- +Tue Oct 5 12:55:41 UTC 2021 - Wojciech Kazubski + +- Added a patch moved-freedv_callback_rx_sym-into-internal-header.patch + to fix building gnuradio (patch taken from upstream) + +------------------------------------------------------------------- +Sat Oct 2 15:58:11 UTC 2021 - Martin Hauke + +- Drop handcrafted generation of the pkgconfig file +- Remove "-Wno-dev" + +------------------------------------------------------------------- +Mon Sep 27 16:41:28 UTC 2021 - Wojciech Kazubski + +- Update to version 1.0.1: + * Release to support freedv-gui 1.6.1 + +------------------------------------------------------------------- +Tue Aug 17 14:29:29 UTC 2021 - Wojciech Kazubski + +- Update baselib.conf + +------------------------------------------------------------------- +Mon Aug 16 17:22:30 UTC 2021 - Wojciech Kazubski + +- 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 + +- Update to version 0.9.2: + * No upstream changelog available +- Drop no longer needed patches: + * codec2-licensed-stuff.patch + +------------------------------------------------------------------- +Sat Aug 11 07:14:59 UTC 2018 - tchvatal@suse.com + +- Apply upstream patch to fix ambiguous license situation: + * codec2-licensed-stuff.patch + +------------------------------------------------------------------- +Tue Jul 17 11:08:45 UTC 2018 - mpluskal@suse.com + +- Update to version 0.8.1: + * No upstream changelog provided +- Add codec2-no_return_random.patch +- Add baselibs.conf + +------------------------------------------------------------------- +Mon Jul 31 23:55:03 UTC 2017 - wk@ire.pw.edu.pl + +- Update to version 0.7 + +------------------------------------------------------------------- +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 + +- Update description with new bit rates from homepage. + +------------------------------------------------------------------- +Tue Mar 14 20:57:02 UTC 2017 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Tue Jan 17 22:40:33 UTC 2017 - dl8fcl@darc.de + +- Copyrigth information of spec file removed + +------------------------------------------------------------------- +Sat Jan 14 10:13:42 UTC 2017 - aloisio@gmx.com + +- Version 0.5.1 + * Updated golay +- Spec cleanup +- Added codec2-rpmlintrc + +------------------------------------------------------------------- +Sun Oct 11 18:56:52 UTC 2015 - wk@ire.pw.edu.pl + +- version 0.5 + +------------------------------------------------------------------- +Fri Sep 18 23:44:15 UTC 2015 - wk@ire.pw.edu.pl + +- version 0.4.1 + +------------------------------------------------------------------- +Tue Aug 18 09:43:14 UTC 2015 - wk@ire.pw.edu.pl + +- patch to install copm_prim.h needed by freedv2 + +------------------------------------------------------------------- +Tue Aug 18 07:18:07 UTC 2015 - wk@ire.pw.edu.pl + +- version 0.4 + +------------------------------------------------------------------- +Sun Feb 15 20:52:50 UTC 2015 - wk@ire.pw.edu.pl + +- version 0.3svn1917 +- mods based on Fedora package + +------------------------------------------------------------------- +Mon Apr 29 08:39:27 UTC 2013 - dl8fcl@darc.de + +- first try + diff --git a/codec2.spec b/codec2.spec new file mode 100644 index 0000000..e34c769 --- /dev/null +++ b/codec2.spec @@ -0,0 +1,103 @@ +# +# spec file for package codec2 +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define libname lib%{name}-1_0 +Name: codec2 +Version: 1.0.5 +Release: 0 +Summary: Low bit rate speech codec +# octave and asterisk directories contain GPL-2.0 licensed code but its not +# used build, only used in examples subpackage. +License: LGPL-2.1-only +Group: Productivity/Hamradio/Other +URL: https://rowetel.com/codec2.html +Source: https://github.com/drowe67/codec2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc +Source2: baselibs.conf +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(speex) +BuildRequires: pkgconfig(speexdsp) + +%description +Codec 2 is a speech codec designed for communications quality speech +between 700 and 3200 bit/s. + +%package -n %{libname} +Summary: Low bit rate speech codec +License: LGPL-2.1-only +Group: System/Libraries + +%description -n %{libname} +Codec 2 is a speech codec designed for communications quality speech +between 700 and 3200 bit/s. + +%package devel +Summary: Development library for codec2 +License: GPL-2.0-only AND LGPL-2.1-only +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} + +%description devel +Codec 2 is a speech codec designed for communications quality speech +between 700 and 3200 bit/s. + +%package examples +Summary: Example code for Codec 2 +License: GPL-2.0-only AND LGPL-2.1-only +Group: Productivity/Hamradio/Other +Requires: %{name}-devel = %{version} +BuildArch: noarch + +%description examples +Example code for Codec 2, including test voices and matlab/octave files. + +%prep +%autosetup + +%build +%cmake \ + -DINSTALL_EXAMPLES=TRUE \ + -DUNITTEST=FALSE +%cmake_build + +%install +%cmake_install + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%license COPYING +%doc README* +%{_libdir}/libcodec2.so.* + +%files devel +%{_includedir}/* +%dir %{_libdir}/cmake/codec2 +%{_libdir}/cmake/codec2/codec2-config-relwithdebinfo.cmake +%{_libdir}/cmake/codec2/codec2-config.cmake +%{_libdir}/libcodec2.so +%{_libdir}/pkgconfig/%{name}.pc + +%files examples +%{_datadir}/%{name}/ + +%changelog