celt051 package init

This commit is contained in:
jackie_wu123 2019-11-27 21:07:38 +08:00
parent 1340371c28
commit 49243eb687

View File

@ -1,32 +1,25 @@
Name: celt051
Version: 0.5.1.3
Release: 17
Release: 18
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
BuildRequires: gcc libogg-devel
BuildRequires: libogg-devel
%description
The CELT codec is a compression algorithm for audio. Like MP3,
Vorbis, and AAC it is suitable for transmitting music with high
quality. Unlike these formats CELT imposes very little delay on
the signal, even less than is typical for speech centric formats
like Speex, GSM, or G.729.
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.
Using CELT application developers can build software that allows
musicians to perform together across the Internet, or simply
build great sounding telephony systems.
%package devel
Summary: Development package for celt051
Requires: libogg-devel pkgconfig
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Development package for celt051
Requires: libogg-devel pkgconfig celt051 = 0.5.1.3-18
%description devel
The celt051-devel package contains libraries and header files for
developing applications that use celt051.
libraries and header files for developing applications that use celt051.
%prep
%autosetup -n celt-%{version} -p1
@ -35,30 +28,29 @@ developing applications that use celt051.
%configure
%{?disable_rpath}
make %{?_smp_mflags}
%make_build
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%post
/sbin/ldconfig
%postun -p /sbin/ldconfig
%postun
/sbin/ldconfig
%files
%exclude %{_libdir}/libcelt051.la
%doc COPYING README TODO
%{_bindir}/celtenc051
%{_bindir}/celtdec051
%{_libdir}/libcelt051.so.0
%{_libdir}/libcelt051.so.0.0.0
%{_bindir}/{celtenc051,celtdec051}
%{_libdir}/{libcelt051.so.0,libcelt051.so.0.0.0}
%files devel
%doc COPYING README
%{_includedir}/celt051
%{_libdir}/pkgconfig/celt051.pc
%{_libdir}/libcelt051.so
%{_libdir}/*.a
%{_libdir}/{libcelt051.so,*.a}
%changelog
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.5.1.3-17
* Sat Nov 23 2019 wutao <wutao61@huawei.com> - 0.5.1.3-18
- Package init