commit d5e8d16a328508976e2faa665fc5f50a17bb5bc07f92487f41e53a51f2d3b323 Author: Pascal Bleser Date: Thu May 31 14:34:09 2012 +0000 0.9.14 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/opus?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..78c9159 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libopus0 diff --git a/opus-0.9.14.tar.gz b/opus-0.9.14.tar.gz new file mode 100644 index 0000000..ddf478a --- /dev/null +++ b/opus-0.9.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1cad6846a8f819a141009fe3f8f10c946e8eff7e9c2339cd517bb136cc59eae +size 727782 diff --git a/opus.changes b/opus.changes new file mode 100644 index 0000000..78e4544 --- /dev/null +++ b/opus.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 31 14:31:47 CET 2012 - pascal.bleser@opensuse.org + +- initial version (0.9.14) + diff --git a/opus.spec b/opus.spec new file mode 100644 index 0000000..58d283b --- /dev/null +++ b/opus.spec @@ -0,0 +1,114 @@ +# vim: set sw=4 ts=4 et nu: +# +# spec file for package opus +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 Pascal Bleser +# +# 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/ +# + + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + +Name: opus +Version: 0.9.14 +Release: 0 +%define soname 0 +Summary: Opus Audio Codec Library +License: BSD-3-Clause +Group: System/Libraries +Source: http://downloads.xiph.org/releases/opus/opus-%{version}.tar.gz +Source99: baselibs.conf +Url: http://opus-codec.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: glibc-devel +BuildRequires: libtool +BuildRequires: make +BuildRequires: pkgconfig + +%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 +technology from Skype's SILK codec and Xiph.Org's CELT codec. + +%package -n libopus%{soname} +Summary: Opus Audio Codec Library +Group: System/Libraries + +%description -n libopus%{soname} +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 +technology from Skype's SILK codec and Xiph.Org's CELT codec. + +%package -n libopus-devel +Summary: Opus Audio Codec Library Development Environment +Group: Development/Libraries/C and C++ +Requires: libopus%{soname} = %{version} + +%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 +technology from Skype's SILK codec and Xiph.Org's CELT codec. + +%package -n libopus-devel-static +Summary: Opus Audio Codec Library Static Library +Group: Development/Libraries/C and C++ +Requires: libopus-devel = %{version} + +%description -n libopus-devel-static +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 +technology from Skype's SILK codec and Xiph.Org's CELT codec. + +%prep +%setup -q + +%build +%configure \ + --disable-silent-rules \ + --enable-custom-modes +%__make %{?_smp_mflags} + +%install +%makeinstall + +%__rm -rf "%{buildroot}%{_datadir}/doc" +%__rm -f "%{buildroot}%{_libdir}"/*.la + +%post -n libopus%{soname} -p /sbin/ldconfig + +%postun -n libopus%{soname} -p /sbin/ldconfig + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -n libopus%{soname} +%defattr(-,root,root) +%doc AUTHORS COPYING README +%{_libdir}/libopus.so.%{soname} +%{_libdir}/libopus.so.%{soname}.* + +%files -n libopus-devel +%defattr(-,root,root) +%{_libdir}/libopus.so +%{_includedir}/opus +%{_libdir}/pkgconfig/opus.pc + +%files -n libopus-devel-static +%defattr(-,root,root) +%{_libdir}/libopus.a + +%changelog