From 49243eb687b0473dbcce8ae21111948702253054 Mon Sep 17 00:00:00 2001 From: jackie_wu123 Date: Wed, 27 Nov 2019 21:07:38 +0800 Subject: [PATCH] celt051 package init --- celt051.spec | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) diff --git a/celt051.spec b/celt051.spec index 501c3eb..10b9437 100644 --- a/celt051.spec +++ b/celt051.spec @@ -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 - 0.5.1.3-17 +* Sat Nov 23 2019 wutao - 0.5.1.3-18 - Package init