From 24d06b84e9fb9ab67979fde0cf0666c60b12e3009736ec6bfd3d2f9b99708efc Mon Sep 17 00:00:00 2001 From: Giacomo Comes Date: Fri, 8 Oct 2021 13:42:59 +0000 Subject: [PATCH] Accepting request 923589 from home:jengelh:branches:network:telephony - Remove old specfile constructs. - Wrap description and trim software history. OBS-URL: https://build.opensuse.org/request/show/923589 OBS-URL: https://build.opensuse.org/package/show/network:telephony/broadvoice16?expand=0&rev=2 --- broadvoice16.changes | 6 ++++++ broadvoice16.spec | 22 +++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/broadvoice16.changes b/broadvoice16.changes index 4f6b7b6..78e82bb 100644 --- a/broadvoice16.changes +++ b/broadvoice16.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 6 20:17:31 UTC 2021 - Jan Engelhardt + +- Remove old specfile constructs. +- Wrap description and trim software history. + ------------------------------------------------------------------- Mon Oct 4 16:56:44 UTC 2021 - Giacomo Comes - 1.2 diff --git a/broadvoice16.spec b/broadvoice16.spec index 84fab2b..e8cb7b6 100644 --- a/broadvoice16.spec +++ b/broadvoice16.spec @@ -32,14 +32,15 @@ Source2: README Source3: README.SUSE Source4: meson_options.txt Source5: meson.build -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: unzip BuildRequires: meson %description -BroadVoice is a family of speech coding algorithms created by Broadcom and standardized by CableLabs, SCTE, and ANSI for Voice over IP applications in cable telephony. BroadVoice is also part of the ITU-T Recommendations J.161 and J.361. To encourage wide-spread use of BroadVoice in diverse speech compression applications, Broadcom is providing the C source code of BroadVoice on a royalty-free basis under the GNU Lesser General Public License (LGPL), version 2.1, as published by the Free Software Foundation. +BroadVoice is a family of speech coding algorithms created by +Broadcom and standardized by CableLabs, SCTE, and ANSI for Voice over +IP applications in cable telephony. BroadVoice is also part of the +ITU-T Recommendations J.161 and J.361. -%if 0%{?static} || 0%{?shared} %package devel Summary: BroadVoice 16 development files Group: Development/Libraries/C and C++ @@ -52,10 +53,9 @@ Header files for the libbv16 library. %if 0%{?static} This package also includes the static library. %endif -%endif %prep -%setup -q -n BroadVoice16 +%autosetup -n BroadVoice16 %build cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . @@ -93,13 +93,12 @@ grep -qF DG192BITSTREAM=0 ../meson.build && \ sed -i '/cmp tv.bv16.bfe10.raw tv.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16 && \ sed -i '/cmp tvbe.bv16 tvbe.bv16.ref/,/fi/d' TestBroadVoice16 && \ sed -i '/cmp tvbe.bv16.bfe10.raw tvbe.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16 -%ifarch %ix86 x86_64 ppc64le aarch64 %arm -PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ - bash TestBroadVoice16 LittleEndian -%endif -%ifarch s390x ppc64 +%ifarch s390x ppc64 %sparc %sparc64 PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ bash TestBroadVoice16 BigEndian +%else +PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ + bash TestBroadVoice16 LittleEndian %endif %endif @@ -111,7 +110,6 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %files -%defattr(-,root,root,-) %license COPYING %doc README README.SUSE BroadVoice16.doc %if 0%{?tools} @@ -123,7 +121,6 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %if 0%{?static} || 0%{?shared} %files devel -%defattr(-,root,root,-) %dir %{_includedir}/bv16-floatingpoint %dir %{_includedir}/bv16-floatingpoint/* %{_includedir}/*/*/*.h @@ -133,4 +130,3 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %endif %changelog -