Package init

This commit is contained in:
dogsheng 2019-11-19 11:44:27 +08:00
commit 1340371c28
2 changed files with 64 additions and 0 deletions

BIN
celt-0.5.1.3.tar.gz Normal file

Binary file not shown.

64
celt051.spec Normal file
View File

@ -0,0 +1,64 @@
Name: celt051
Version: 0.5.1.3
Release: 17
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
%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.
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}
%description devel
The celt051-devel package contains libraries and header files for
developing applications that use celt051.
%prep
%autosetup -n celt-%{version} -p1
%build
%configure
%{?disable_rpath}
make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /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
%files devel
%doc COPYING README
%{_includedir}/celt051
%{_libdir}/pkgconfig/celt051.pc
%{_libdir}/libcelt051.so
%{_libdir}/*.a
%changelog
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.5.1.3-17
- Package init