.gear/rules | 2 + .../tags/0a4b6e514bcd7ee026c4199ca4751a8e6239a7f9 | 6 ++ .../tags/d94ba72a953958d72f45c0f5e60a55dfa3d97c09 | 6 ++ .gear/tags/list | 2 + libsbc.spec | 96 ++++++++++++++++++++++ 5 files changed, 112 insertions(+) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4fcfd99 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. +diff: @version@:. . diff --git a/.gear/tags/0a4b6e514bcd7ee026c4199ca4751a8e6239a7f9 b/.gear/tags/0a4b6e514bcd7ee026c4199ca4751a8e6239a7f9 new file mode 100644 index 0000000..f2fed4a --- /dev/null +++ b/.gear/tags/0a4b6e514bcd7ee026c4199ca4751a8e6239a7f9 @@ -0,0 +1,6 @@ +object 8dc5d5ba381512ad5b1afa45c63ec6b0a3833244 +type commit +tag 2.0 +tagger Marcel Holtmann 1655742021 +0200 + +Release 2.0 diff --git a/.gear/tags/d94ba72a953958d72f45c0f5e60a55dfa3d97c09 b/.gear/tags/d94ba72a953958d72f45c0f5e60a55dfa3d97c09 new file mode 100644 index 0000000..3fbe905 --- /dev/null +++ b/.gear/tags/d94ba72a953958d72f45c0f5e60a55dfa3d97c09 @@ -0,0 +1,6 @@ +object 431e5c2d3243371e4ade8bceab587424c1b2aa6c +type commit +tag 1.2 +tagger Marcel Holtmann 1390491593 -0800 + +Release 1.2 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..ce5e5ee --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1,2 @@ +d94ba72a953958d72f45c0f5e60a55dfa3d97c09 1.2 +0a4b6e514bcd7ee026c4199ca4751a8e6239a7f9 2.0 diff --git a/libsbc.spec b/libsbc.spec new file mode 100644 index 0000000..da24def --- /dev/null +++ b/libsbc.spec @@ -0,0 +1,96 @@ +%define soname 1 + +Name: libsbc +Version: 2.0 +Release: alt2 + +Summary: Sub Band Codec used by bluetooth A2DP +License: GPLv2 and LGPLv2+ +Group: System/Libraries + +Url: http://www.bluez.org +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +BuildRequires: libsndfile-devel + +%description +SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio +Distribution Profile (A2DP) bluetooth standard but can be used standalone. It +uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with +an adaptive block PCM quantizers. + +%package -n %name%soname +Summary: Sub Band Codec used by bluetooth A2DP +Group: System/Libraries +Obsoletes: %name < %version + +%description -n %name%soname +SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio +Distribution Profile (A2DP) bluetooth standard but can be used standalone. It +uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with +an adaptive block PCM quantizers. + +%package devel +Summary: Development package for %name +Group: Development/C +Requires: %name%soname = %EVR + +%description devel +Files for development with %name + +%package -n sbcinfo +Summary: Sub Band Codec analyzer +Group: Sound +Requires: %name%soname = %EVR + +%description -n sbcinfo +Bluetooth low-complexity, Sub Band Codec analyzer. + +%prep +%setup +%patch -p1 +%ifarch %e2k +sed -i -e 's,-fgcse-after-reload,,' -e 's,-funswitch-loops,,' Makefile.am +%endif + +%build +%autoreconf +%configure --disable-static +%make_build + +%install +%makeinstall_std + +%files -n %name%soname +%doc COPYING AUTHORS ChangeLog +%_libdir/*.so.* + +%files devel +%_includedir/sbc +%_pkgconfigdir/*.pc +%_libdir/*.so + +%files -n sbcinfo +%_bindir/sbc* + +%changelog +* Fri Jun 09 2023 Michael Shigorin 2.0-alt2 +- E2K: update for multiple arch versions + +* Fri May 26 2023 L.A. Kostis 2.0-alt1 +- 2.0. + +* Thu Aug 03 2017 Michael Shigorin 1.2-alt1.1 +- E2K: avoid lcc-unsupported options +- minor spec cleanup + +* Fri Jan 24 2014 Valery Inozemtsev 1.2-alt1 +- 1.2 + +* Tue Jun 25 2013 Valery Inozemtsev 1.1-alt1 +- 1.1 + +* Wed Dec 19 2012 Valery Inozemtsev 1.0-alt1 +- 1.0 +