2012-05-31 16:34:09 +02:00
|
|
|
#
|
|
|
|
# spec file for package opus
|
|
|
|
#
|
2019-05-25 12:07:07 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-05-31 16:34:09 +02:00
|
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-19 09:15:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-31 16:34:09 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-06-21 10:40:37 +02:00
|
|
|
%define sover 0
|
2012-05-31 16:34:09 +02:00
|
|
|
Name: opus
|
2019-05-25 12:07:07 +02:00
|
|
|
Version: 1.3.1
|
2012-05-31 16:34:09 +02:00
|
|
|
Release: 0
|
2017-06-26 22:14:11 +02:00
|
|
|
Summary: Audio Codec Library
|
2012-05-31 16:34:09 +02:00
|
|
|
License: BSD-3-Clause
|
2017-03-11 17:19:04 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-10-19 09:15:21 +02:00
|
|
|
URL: https://opus-codec.org/
|
2017-05-28 21:00:16 +02:00
|
|
|
Source: https://archive.mozilla.org/pub/opus/%{name}-%{version}.tar.gz
|
2012-05-31 16:34:09 +02:00
|
|
|
Source99: baselibs.conf
|
2017-06-22 11:29:54 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Opus codec is designed for interactive speech and audio transmission over
|
|
|
|
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
2016-01-27 08:38:00 +01:00
|
|
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
2012-05-31 16:34:09 +02:00
|
|
|
|
2017-03-11 17:19:04 +01:00
|
|
|
%package -n libopus%{sover}
|
2012-05-31 16:34:09 +02:00
|
|
|
Summary: Opus Audio Codec Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-03-11 17:19:04 +01:00
|
|
|
%description -n libopus%{sover}
|
2012-05-31 16:34:09 +02:00
|
|
|
The Opus codec is designed for interactive speech and audio transmission over
|
|
|
|
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
2016-01-27 08:38:00 +01:00
|
|
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%package -n libopus-devel
|
|
|
|
Summary: Opus Audio Codec Library Development Environment
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-03-11 17:19:04 +01:00
|
|
|
Requires: libopus%{sover} = %{version}
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%description -n libopus-devel
|
|
|
|
The Opus codec is designed for interactive speech and audio transmission over
|
|
|
|
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
2016-01-27 08:38:00 +01:00
|
|
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2017-06-21 10:40:37 +02:00
|
|
|
--disable-static \
|
2016-01-27 08:38:00 +01:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-doc \
|
2016-01-27 10:32:51 +01:00
|
|
|
--enable-custom-modes
|
2016-01-27 08:38:00 +01:00
|
|
|
make %{?_smp_mflags}
|
2012-09-23 23:05:15 +02:00
|
|
|
|
2016-01-27 08:38:00 +01:00
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} check
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%install
|
2017-06-22 11:29:54 +02:00
|
|
|
%make_install
|
2016-01-27 08:38:00 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-05-31 16:34:09 +02:00
|
|
|
|
2017-03-11 17:19:04 +01:00
|
|
|
%post -n libopus%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libopus%{sover} -p /sbin/ldconfig
|
2012-05-31 16:34:09 +02:00
|
|
|
|
2017-03-11 17:19:04 +01:00
|
|
|
%files -n libopus%{sover}
|
2018-10-19 09:15:21 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README
|
2017-06-22 11:29:54 +02:00
|
|
|
%{_libdir}/libopus.so.%{sover}*
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%files -n libopus-devel
|
|
|
|
%{_libdir}/libopus.so
|
|
|
|
%{_includedir}/opus
|
|
|
|
%{_libdir}/pkgconfig/opus.pc
|
2012-09-23 23:05:15 +02:00
|
|
|
%{_datadir}/aclocal/opus.m4
|
2012-05-31 16:34:09 +02:00
|
|
|
|
|
|
|
%changelog
|