From 5e0948938910f2ec3a38d36f19e182951803da49259ca098ed77bfdd35757659 Mon Sep 17 00:00:00 2001 From: Giacomo Comes Date: Fri, 8 Oct 2021 13:44:09 +0000 Subject: [PATCH] Accepting request 923588 from home:jengelh:branches:network:telephony - Remove old specfile constructs. - Wrap description and trim software history. OBS-URL: https://build.opensuse.org/request/show/923588 OBS-URL: https://build.opensuse.org/package/show/network:telephony/broadvoice32?expand=0&rev=2 --- broadvoice32.changes | 6 ++++++ broadvoice32.spec | 22 +++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/broadvoice32.changes b/broadvoice32.changes index 8d5db92..473d220 100644 --- a/broadvoice32.changes +++ b/broadvoice32.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 20:21:37 UTC 2021 - Giacomo Comes - 1.2 diff --git a/broadvoice32.spec b/broadvoice32.spec index f8a81b5..e90d32e 100644 --- a/broadvoice32.spec +++ b/broadvoice32.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 32 development files Group: Development/Libraries/C and C++ @@ -52,10 +53,9 @@ Header files for the libbv32 library. %if 0%{?static} This package also includes the static library. %endif -%endif %prep -%setup -q -n BroadVoice32 +%autosetup -n BroadVoice32 %build cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . @@ -93,13 +93,12 @@ grep -qF DG192BITSTREAM=0 ../meson.build && \ sed -i '/cmp tv.bv32.bfe10.raw tv.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32 && \ sed -i '/cmp tvbe.bv32 tvbe.bv32.ref/,/fi/d' TestBroadVoice32 && \ sed -i '/cmp tvbe.bv32.bfe10.raw tvbe.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32 -%ifarch %ix86 x86_64 ppc64le aarch64 %arm -PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ - bash TestBroadVoice32 LittleEndian -%endif -%ifarch s390x ppc64 +%ifarch s390x ppc64 %sparc %sparc64 PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ bash TestBroadVoice32 BigEndian +%else +PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ + bash TestBroadVoice32 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 BroadVoice32.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}/bv32-floatingpoint %dir %{_includedir}/bv32-floatingpoint/* %{_includedir}/*/*/*.h @@ -133,4 +130,3 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %endif %changelog -