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 Name: celt051
Version: 0.5.1.3 Version: 0.5.1.3
Release: 17 Release: 18
Summary: An audio codec for use in low-delay speech and audio communication Summary: An audio codec for use in low-delay speech and audio communication
License: BSD License: BSD
URL: http://www.celt-codec.org URL: http://www.celt-codec.org
Source0: http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz Source0: http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz
BuildRequires: gcc libogg-devel BuildRequires: libogg-devel
%description %description
The CELT codec is a compression algorithm for audio. Like MP3, The CELT codec is an experimental audio codec for use in low-delay speech
Vorbis, and AAC it is suitable for transmitting music with high and audio communication. CELT stands for "Constrained Energy Lapped Transform".
quality. Unlike these formats CELT imposes very little delay on It applies some of the CELP principles, but does everything in the frequency
the signal, even less than is typical for speech centric formats domain, which removes some of the limitations of CELP.
like Speex, GSM, or G.729.
Using CELT application developers can build software that allows %package devel
musicians to perform together across the Internet, or simply Summary: Development package for celt051
build great sounding telephony systems. Requires: libogg-devel pkgconfig celt051 = 0.5.1.3-18
%package devel
Summary: Development package for celt051
Requires: libogg-devel pkgconfig
Requires: %{name} = %{version}-%{release}
%description devel %description devel
The celt051-devel package contains libraries and header files for libraries and header files for developing applications that use celt051.
developing applications that use celt051.
%prep %prep
%autosetup -n celt-%{version} -p1 %autosetup -n celt-%{version} -p1
@ -35,30 +28,29 @@ developing applications that use celt051.
%configure %configure
%{?disable_rpath} %{?disable_rpath}
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%delete_la
%post -p /sbin/ldconfig %post
/sbin/ldconfig
%postun -p /sbin/ldconfig %postun
/sbin/ldconfig
%files %files
%exclude %{_libdir}/libcelt051.la
%doc COPYING README TODO %doc COPYING README TODO
%{_bindir}/celtenc051 %{_bindir}/{celtenc051,celtdec051}
%{_bindir}/celtdec051 %{_libdir}/{libcelt051.so.0,libcelt051.so.0.0.0}
%{_libdir}/libcelt051.so.0
%{_libdir}/libcelt051.so.0.0.0
%files devel %files devel
%doc COPYING README %doc COPYING README
%{_includedir}/celt051 %{_includedir}/celt051
%{_libdir}/pkgconfig/celt051.pc %{_libdir}/pkgconfig/celt051.pc
%{_libdir}/libcelt051.so %{_libdir}/{libcelt051.so,*.a}
%{_libdir}/*.a
%changelog %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 - Package init