|
|
|
@ -1,16 +1,24 @@
|
|
|
|
|
Name: opusfile
|
|
|
|
|
Version: 0.12
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
%global soname_version 0
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Summary: A high-level API for decoding and seeking within .opus files
|
|
|
|
|
License: BSD
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://www.opus-codec.org/
|
|
|
|
|
Source0: https://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
|
|
|
|
|
# Propagate allocation failure from ogg_sync_buffer.
|
|
|
|
|
# https://github.com/xiph/opusfile/commit/0a4cd796df5b030cb866f3f4a5e41a4b92caddf5
|
|
|
|
|
#
|
|
|
|
|
# Fixes CVE-2022-47021.
|
|
|
|
|
# A potential bug of NPD
|
|
|
|
|
# https://github.com/xiph/opusfile/issues/36
|
|
|
|
|
Patch1: https://github.com/xiph/opusfile/commit/0a4cd796df5b030cb866f3f4a5e41a4b92caddf5.patch#/CVE-2022-47021.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: opus-devel
|
|
|
|
|
BuildRequires: pkgconfig(ogg)
|
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libopusfile provides a high-level API for decoding and seeking
|
|
|
|
@ -27,13 +35,14 @@ decoded with a single output format, even if the channel count changes).
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
# The public API headers include ogg/ogg.h.
|
|
|
|
|
Requires: pkgconfig(ogg)
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Files for development with %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
@ -46,13 +55,11 @@ Files for development with %{name}.
|
|
|
|
|
#Remove libtool archives.
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%{_libdir}/libopusfile.so.*
|
|
|
|
|
%{_libdir}/libopusurl.so.*
|
|
|
|
|
%{_libdir}/libopusfile.so.%{soname_version}{,.*}
|
|
|
|
|
%{_libdir}/libopusurl.so.%{soname_version}{,.*}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
@ -63,6 +70,37 @@ find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
%{_libdir}/libopusurl.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.12-15
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Sat Sep 21 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.12-15
|
|
|
|
|
- Identify the license as BSD-3-Clause
|
|
|
|
|
- Make opusfile-devel depend on libogg-devel
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 0.12-14
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 01 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 0.12-9
|
|
|
|
|
- Add upstream fix for CVE-2022-47021
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|