2009-08-13 23:18:21 +02:00
|
|
|
#
|
2010-12-10 09:44:40 +01:00
|
|
|
# spec file for package celt (Version 0.7.1)
|
2009-08-13 23:18:21 +02:00
|
|
|
#
|
2010-02-11 20:57:32 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-08-13 23:18:21 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: celt
|
2010-12-10 16:00:38 +01:00
|
|
|
Version: 0.9.1_git201012081606
|
2010-12-10 09:44:40 +01:00
|
|
|
Release: 2
|
2010-04-24 17:32:50 +02:00
|
|
|
License: BSD3c(or similar)
|
2009-08-13 23:18:21 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
Url: http://www.celt-codec.org/
|
2010-12-10 16:00:39 +01:00
|
|
|
Source: http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.bz2
|
2010-02-11 20:57:32 +01:00
|
|
|
Source1: baselibs.conf
|
2010-12-10 16:00:39 +01:00
|
|
|
BuildRequires: libogg-devel pkg-config
|
2010-02-11 20:57:32 +01:00
|
|
|
# Patch configure.ac to remove the "0" suffix from libcelt
|
2009-08-13 23:18:21 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The CELT codec is an experimental audio codec for use in low-delay
|
2010-02-11 20:57:32 +01:00
|
|
|
speech and audio communication.
|
2009-08-13 23:18:21 +02:00
|
|
|
|
|
|
|
%package -n libcelt-devel
|
2010-02-11 20:57:32 +01:00
|
|
|
License: BSD3c(or similar)
|
2009-08-13 23:18:21 +02:00
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-10 16:00:38 +01:00
|
|
|
Requires: libcelt0-1 = %{version} glibc-devel pkg-config
|
2009-08-13 23:18:21 +02:00
|
|
|
|
|
|
|
%description -n libcelt-devel
|
|
|
|
The CELT codec is an experimental audio codec for use in low-delay
|
|
|
|
speech and audio communication.
|
|
|
|
|
2010-12-10 16:00:38 +01:00
|
|
|
%package -n libcelt0-1
|
2010-02-11 20:57:32 +01:00
|
|
|
License: BSD3c(or similar)
|
2009-08-13 23:18:21 +02:00
|
|
|
Summary: Ultra-Low Delay Audio Codec
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2010-12-10 16:00:38 +01:00
|
|
|
%description -n libcelt0-1
|
2009-08-13 23:18:21 +02:00
|
|
|
The CELT codec is an experimental audio codec for use in low-delay
|
|
|
|
speech and audio communication.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i
|
|
|
|
%configure\
|
|
|
|
--disable-static\
|
|
|
|
--with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%buildroot install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
|
2010-12-10 16:00:38 +01:00
|
|
|
%post -n libcelt0-1 -p /sbin/ldconfig
|
2009-08-13 23:18:21 +02:00
|
|
|
|
2010-12-10 16:00:38 +01:00
|
|
|
%postun -n libcelt0-1 -p /sbin/ldconfig
|
2009-08-13 23:18:21 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README COPYING TODO
|
|
|
|
%{_bindir}/celt*
|
|
|
|
|
|
|
|
%files -n libcelt-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/celt.pc
|
|
|
|
|
2010-12-10 16:00:38 +01:00
|
|
|
%files -n libcelt0-1
|
2009-08-13 23:18:21 +02:00
|
|
|
%defattr(-,root,root)
|
2010-12-10 16:00:38 +01:00
|
|
|
%{_libdir}/libcelt0.so.1*
|
2009-08-13 23:18:21 +02:00
|
|
|
|
|
|
|
%changelog
|