|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package celt
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@ -16,19 +16,19 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: celt
|
|
|
|
|
Version: 0.11.1
|
|
|
|
|
Release: 1
|
|
|
|
|
Version: 0.11.3
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
|
Url: http://www.celt-codec.org/
|
|
|
|
|
Source: http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: baselibs.conf
|
|
|
|
|
BuildRequires: libogg-devel pkg-config
|
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
Requires: libcelt0-2 = %{version}-%{release}
|
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
|
Requires: libcelt0-2 = %{version}-%{release}
|
|
|
|
|
# Patch configure.ac to remove the "0" suffix from libcelt
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
@ -37,17 +37,18 @@ The CELT codec is an experimental audio codec for use in low-delay
|
|
|
|
|
speech and audio communication.
|
|
|
|
|
|
|
|
|
|
%package -n libcelt-devel
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: celt = %{version}-%{release} libcelt0-2 = %{version}-%{release} glibc-devel pkg-config
|
|
|
|
|
Requires: celt = %{version}-%{release}
|
|
|
|
|
Requires: glibc-devel
|
|
|
|
|
Requires: libcelt0-2 = %{version}-%{release}
|
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
|
|
%description -n libcelt-devel
|
|
|
|
|
The CELT codec is an experimental audio codec for use in low-delay
|
|
|
|
|
speech and audio communication.
|
|
|
|
|
|
|
|
|
|
%package -n libcelt0-2
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
@ -59,15 +60,15 @@ speech and audio communication.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -f -i
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure\
|
|
|
|
|
--disable-static\
|
|
|
|
|
--with-pic
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=%buildroot install
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
|
|
%post -n libcelt0-2 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|