Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package codec2 for openSUSE:Factory checked in at 2023-08-02 16:48:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/codec2 (Old) and /work/SRC/openSUSE:Factory/.codec2.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "codec2" Wed Aug 2 16:48:13 2023 rev:12 rq:1101653 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/codec2/codec2.changes 2023-06-17 22:20:28.835598292 +0200 +++ /work/SRC/openSUSE:Factory/.codec2.new.22712/codec2.changes 2023-08-02 16:48:28.484631640 +0200 @@ -1,0 +2,8 @@ +Mon Jul 31 21:17:06 UTC 2023 - Andreas Stieger <[email protected]> + +- update to 1.2.0 + * sources reorganized upstream +- package the command binaries + codec2-1.2.0-install-binaries.patch + +------------------------------------------------------------------- Old: ---- codec2-1.1.1.tar.gz codec2-rpmlintrc New: ---- codec2-1.2.0-install-binaries.patch codec2-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ codec2.spec ++++++ --- /var/tmp/diff_new_pack.Vx0qq4/_old 2023-08-02 16:48:30.796645703 +0200 +++ /var/tmp/diff_new_pack.Vx0qq4/_new 2023-08-02 16:48:30.800645728 +0200 @@ -16,25 +16,21 @@ # -%define libname lib%{name}-1_1 +%define libname lib%{name}-1_2 Name: codec2 -Version: 1.1.1 +Version: 1.2.0 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. +# octave/plot_fsk_demod_stats.py is GPL-3.0-or-later, unused 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 +Source: https://github.com/drowe67/codec2/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source2: baselibs.conf -BuildRequires: cmake -BuildRequires: gcc-c++ +Patch0: codec2-1.2.0-install-binaries.patch +BuildRequires: c++_compiler +BuildRequires: cmake >= 3.13 BuildRequires: pkgconfig -BuildRequires: pkgconfig(samplerate) -BuildRequires: pkgconfig(speex) -BuildRequires: pkgconfig(speexdsp) %description Codec 2 is a speech codec designed for communications quality speech @@ -42,7 +38,6 @@ %package -n %{libname} Summary: Low bit rate speech codec -License: LGPL-2.1-only Group: System/Libraries %description -n %{libname} @@ -51,7 +46,6 @@ %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} @@ -61,34 +55,39 @@ %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 +%autosetup -p1 +rm -rf octave/ %build %cmake \ - -DINSTALL_EXAMPLES=TRUE \ -DUNITTEST=FALSE %cmake_build %install %cmake_install +mkdir -p %{buildroot}%{_datadir}/%{name} +cp -rv raw wav %{buildroot}%{_datadir}/%{name}/ %ldconfig_scriptlets -n %{libname} +%files +%license COPYING +%{_bindir}/* + %files -n %{libname} %license COPYING %doc README* %{_libdir}/libcodec2.so.* %files devel +%license COPYING %{_includedir}/* %dir %{_libdir}/cmake/codec2 %{_libdir}/cmake/codec2/codec2-config-relwithdebinfo.cmake @@ -97,6 +96,7 @@ %{_libdir}/pkgconfig/%{name}.pc %files examples -%{_datadir}/%{name}/ +%license COPYING +%{_datadir}/%{name} %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.Vx0qq4/_old 2023-08-02 16:48:30.836645947 +0200 +++ /var/tmp/diff_new_pack.Vx0qq4/_new 2023-08-02 16:48:30.836645947 +0200 @@ -1,2 +1,2 @@ -libcodec2-1_1 +libcodec2-1_2 ++++++ codec2-1.2.0-install-binaries.patch ++++++ Index: codec2-1.2.0/src/CMakeLists.txt =================================================================== --- codec2-1.2.0.orig/src/CMakeLists.txt +++ codec2-1.2.0/src/CMakeLists.txt @@ -385,3 +385,43 @@ install(TARGETS codec2 EXPORT codec2-con RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/codec2 COMPONENT dev ) + +install(TARGETS + c2enc + c2dec + c2sim + fdmdv_get_test_bits + fdmdv_mod + fdmdv_demod + fdmdv_put_test_bits + freedv_tx + freedv_rx + freedv_data_raw_tx + freedv_data_raw_rx + freedv_data_tx + freedv_data_rx + freedv_mixed_tx + freedv_mixed_rx + fsk_mod + fsk_demod + fsk_get_test_bits + fsk_put_test_bits + framer + deframer + cohpsk_mod + ofdm_get_test_bits + ofdm_put_test_bits + ofdm_mod + ofdm_demod + vhf_deframe_c2 + vhf_frame_c2 + cohpsk_demod + cohpsk_get_test_bits + cohpsk_put_test_bits + ch + tollr + ldpc_noise + ldpc_enc + ldpc_dec + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +) ++++++ codec2-1.1.1.tar.gz -> codec2-1.2.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/codec2/codec2-1.1.1.tar.gz /work/SRC/openSUSE:Factory/.codec2.new.22712/codec2-1.2.0.tar.gz differ: char 12, line 1
