opus/opus.spec
zhouwenpei dc6bee031a rebuild package
(cherry picked from commit 5140f0fe175af151c5c482c89e988c8b74237e99)
2021-05-31 16:26:44 +08:00

75 lines
1.8 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: opus
Version: 1.3.1
Release: 3
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
Recommends: %{name}-help = %{version}-%{release}
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 Skypes SILK codec and Xiph.Orgs 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
* Sun Feb 7 2021 xinghe <xinghe1@huawei.com> - 1.3.1-3
- rebuild package
* Thu Nov 12 2020 xinghe <xinghe1@huawei.com> - 1.3.1-2
- add help for Recommends
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-1
- Package init