celt051/celt051.spec

57 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-11-19 11:44:27 +08:00
Name: celt051
Version: 0.5.1.3
2019-11-27 21:07:38 +08:00
Release: 18
2019-11-19 11:44:27 +08:00
Summary: An audio codec for use in low-delay speech and audio communication
License: BSD
URL: http://www.celt-codec.org
Source0: http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz
2019-11-27 21:07:38 +08:00
BuildRequires: libogg-devel
2019-11-19 11:44:27 +08:00
%description
2019-11-27 21:07:38 +08:00
The CELT codec is an experimental audio codec for use in low-delay speech
and audio communication. CELT stands for "Constrained Energy Lapped Transform".
It applies some of the CELP principles, but does everything in the frequency
domain, which removes some of the limitations of CELP.
2019-11-19 11:44:27 +08:00
2019-11-27 21:07:38 +08:00
%package devel
Summary: Development package for celt051
2020-03-07 01:43:48 -05:00
Requires: libogg-devel pkgconfig celt051
2019-11-19 11:44:27 +08:00
%description devel
2019-11-27 21:07:38 +08:00
libraries and header files for developing applications that use celt051.
2019-11-19 11:44:27 +08:00
%prep
%autosetup -n celt-%{version} -p1
%build
%configure
%{?disable_rpath}
2019-11-27 21:07:38 +08:00
%make_build
2019-11-19 11:44:27 +08:00
%install
%make_install
2019-11-27 21:07:38 +08:00
%delete_la
2019-11-19 11:44:27 +08:00
2019-11-27 21:07:38 +08:00
%post
/sbin/ldconfig
2019-11-19 11:44:27 +08:00
2019-11-27 21:07:38 +08:00
%postun
/sbin/ldconfig
2019-11-19 11:44:27 +08:00
%files
%doc COPYING README TODO
2019-11-27 21:07:38 +08:00
%{_bindir}/{celtenc051,celtdec051}
%{_libdir}/{libcelt051.so.0,libcelt051.so.0.0.0}
2019-11-19 11:44:27 +08:00
%files devel
%doc COPYING README
%{_includedir}/celt051
%{_libdir}/pkgconfig/celt051.pc
2019-11-27 21:07:38 +08:00
%{_libdir}/{libcelt051.so,*.a}
2019-11-19 11:44:27 +08:00
%changelog
2019-11-27 21:07:38 +08:00
* Sat Nov 23 2019 wutao <wutao61@huawei.com> - 0.5.1.3-18
2019-11-19 11:44:27 +08:00
- Package init