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
This commit is contained in:
parent
97c7f006d1
commit
24d06b84e9
@ -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 16:56:44 UTC 2021 - Giacomo Comes <gcomes.obs@gmail.com> - 1.2
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user