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
This commit is contained in:
Giacomo Comes 2021-10-08 13:44:09 +00:00 committed by Git OBS Bridge
parent 892e7dbf62
commit 5e09489389
2 changed files with 15 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 6 20:17:31 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs.
- Wrap description and trim software history.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 4 20:21:37 UTC 2021 - Giacomo Comes <gcomes.obs@gmail.com> - 1.2 Mon Oct 4 20:21:37 UTC 2021 - Giacomo Comes <gcomes.obs@gmail.com> - 1.2

View File

@ -32,14 +32,15 @@ Source2: README
Source3: README.SUSE Source3: README.SUSE
Source4: meson_options.txt Source4: meson_options.txt
Source5: meson.build Source5: meson.build
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: unzip BuildRequires: unzip
BuildRequires: meson BuildRequires: meson
%description %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 %package devel
Summary: BroadVoice 32 development files Summary: BroadVoice 32 development files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -52,10 +53,9 @@ Header files for the libbv32 library.
%if 0%{?static} %if 0%{?static}
This package also includes the static library. This package also includes the static library.
%endif %endif
%endif
%prep %prep
%setup -q -n BroadVoice32 %autosetup -n BroadVoice32
%build %build
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} . 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 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 tvbe.bv32.ref/,/fi/d' TestBroadVoice32 && \
sed -i '/cmp tvbe.bv32.bfe10.raw tvbe.bv32.bfe10.ref.raw/,/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 %ifarch s390x ppc64 %sparc %sparc64
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
bash TestBroadVoice32 LittleEndian
%endif
%ifarch s390x ppc64
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
bash TestBroadVoice32 BigEndian bash TestBroadVoice32 BigEndian
%else
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
bash TestBroadVoice32 LittleEndian
%endif %endif
%endif %endif
@ -111,7 +110,6 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
%files %files
%defattr(-,root,root,-)
%license COPYING %license COPYING
%doc README README.SUSE BroadVoice32.doc %doc README README.SUSE BroadVoice32.doc
%if 0%{?tools} %if 0%{?tools}
@ -123,7 +121,6 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
%if 0%{?static} || 0%{?shared} %if 0%{?static} || 0%{?shared}
%files devel %files devel
%defattr(-,root,root,-)
%dir %{_includedir}/bv32-floatingpoint %dir %{_includedir}/bv32-floatingpoint
%dir %{_includedir}/bv32-floatingpoint/* %dir %{_includedir}/bv32-floatingpoint/*
%{_includedir}/*/*/*.h %{_includedir}/*/*/*.h
@ -133,4 +130,3 @@ PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
%endif %endif
%changelog %changelog