celt051/celt051.spec
2019-11-19 11:44:27 +08:00

65 lines
1.6 KiB
RPMSpec

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