ALT Linux repos
Group :: System/Libraries
RPM: libsbc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%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
…
Full changelog you can see here
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
…
Full changelog you can see here