opus/opus.spec
linfeilong835 9090c83968 update opus.spec.
(cherry picked from commit f4cdb41fcc0180a7527547982aedb654bb5967a6)
2022-04-28 22:42:50 +08:00

74 lines
1.7 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
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
* 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