80 lines
1.9 KiB
RPMSpec
80 lines
1.9 KiB
RPMSpec
Name: opus
|
||
Version: 1.4
|
||
Release: 1
|
||
Summary: An audio codec for use in low-delay speech and audio communication
|
||
License: BSD
|
||
URL: https://www.opus-codec.org/
|
||
|
||
Source0: https://archive.mozilla.org/pub/%{name}/%{name}-%{version}.tar.gz
|
||
Source1: http://tools.ietf.org/rfc/rfc6716.txt
|
||
Source2: http://tools.ietf.org/rfc/rfc8251.txt
|
||
|
||
BuildRequires: gcc doxygen
|
||
|
||
%description
|
||
Opus is unmatched for interactive speech and music transmission over the
|
||
Internet, but is also intended for storage and streaming applications. It is
|
||
standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which
|
||
incorporated technology from Skype’s SILK codec and Xiph.Org’s CELT codec.
|
||
|
||
%package devel
|
||
Summary: Development package for %{name}
|
||
Requires: libogg-devel
|
||
Requires: %{name} = %{version}-%{release}
|
||
|
||
%description devel
|
||
Files for development with %{name}.
|
||
|
||
%package_help
|
||
|
||
%prep
|
||
%setup -q %{name}-%{version}
|
||
cp %{SOURCE1} .
|
||
cp %{SOURCE2} .
|
||
|
||
%build
|
||
%configure --enable-custom-modes --disable-static \
|
||
--enable-hardening --enable-ambisonics
|
||
|
||
%install
|
||
make install DESTDIR=%{buildroot}
|
||
|
||
# Remove libtool archives and static libs
|
||
%delete_la
|
||
|
||
%check
|
||
make check
|
||
|
||
%ldconfig_scriptlets
|
||
|
||
%files
|
||
%license COPYING
|
||
%{_libdir}/libopus.so.*
|
||
%exclude %{_datadir}/doc/opus/html
|
||
|
||
%files devel
|
||
%{_includedir}/opus
|
||
%{_libdir}/libopus.so
|
||
%{_libdir}/pkgconfig/opus.pc
|
||
|
||
%files help
|
||
%doc README doc/html rfc6716.txt rfc8251.txt
|
||
%{_datadir}/aclocal/opus.m4
|
||
%{_datadir}/man/man3/opus_*.3.gz
|
||
|
||
%changelog
|
||
* Thu Jul 13 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.4-1
|
||
- Updated to 1.4 version.
|
||
|
||
* Fri Oct 14 2022 Qingqing Li <liqingqing3@huawei.com> - 1.3.1-4
|
||
- rebuild package
|
||
|
||
* Wed Apr 27 2022 volcanodragon <linfeilong@huawei.com> - 1.3.1-3
|
||
- rebuild package
|
||
|
||
* Wed Apr 27 2022 volcanodragon <linfeilong@huawei.com> - 1.3.1-2
|
||
- rebuild package
|
||
|
||
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-1
|
||
- Package init
|