opusfile/opusfile.spec

75 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-03 21:36:32 +08:00
Name: opusfile
Version: 0.11
2023-01-29 15:40:35 +08:00
Release: 7
2019-12-03 21:36:32 +08:00
Summary: A high-level API provides seeking, decode, and playback of Opus streams
License: BSD
URL: http://www.opus-codec.org/
Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
2020-12-03 10:02:45 +08:00
Patch0000: 0001-fix-MemorySanitizer-use-of-uninitialized-value.patch
Patch0001: Fix-short-circuit-test-when-seeking-in-short-files.patch
2021-12-14 20:48:05 +08:00
Patch0002: fix-left-shift.patch
Patch0003: Fix-intermediate-overflow-in-op_pcm_total.patch
2023-01-29 15:40:35 +08:00
Patch0004: CVE-2022-47021.patch
2019-12-03 21:36:32 +08:00
BuildRequires: libogg-devel openssl-devel opus-devel
%description
The opusfile library provides seeking, decode, and playback of Opus streams in the Ogg
container (.opus files) including over http(s) on posix and windows systems.
opusfile depends on libopus and libogg.The included opusurl library for http(s) access
depends on opusfile and openssl.
%package devel
Summary: Development package for opusfile package
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Development package for opusfile package.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING
%{_libdir}/{libopusfile.so.*,libopusurl.so.*}
%files devel
%doc %{_docdir}/%{name}
%{_includedir}/opus/opus*
%{_libdir}/pkgconfig/{opusfile.pc,opusurl.pc}
%{_libdir}/{libopusfile.so,libopusurl.so}
%changelog
2023-01-29 15:40:35 +08:00
* Sun Jan 29 2023 yaoxin <yaoxin30@h-partners.com> - 0.11-7
- Fix CVE-2022-47021
* Wed Dec 22 2021 xu_ping <xuping33@huawei.com> - 0.11-6
- Fix intermediate overflow in op_pcm_total
2021-12-14 20:48:05 +08:00
* Tue Dec 14 2021 caodongxia <caodongxia@huawei.com> - 0.11-5
- Fix left shift
* Tue Dec 14 2021 chenchen <chen_aka_jan@163.com> - 0.11-4
- Fix short-circuit test when seeking in short files
2020-12-03 10:02:45 +08:00
* Thu Dec 03 2020 maminjie <maminjie1@huawei.com> - 0.11-3
- fix MemorySanitizer: use-of-uninitialized-value
2019-12-03 21:36:32 +08:00
* Sat Nov 30 2019 daiqianwen <daiqianwen@huawei.com> - 0.11-2
- Package init