From 2fcdfa99aa91c0c62a3f083b787f5643779a1f42 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 12 Dec 2019 05:28:06 +0000 Subject: [PATCH] Split library out to sub package --- sbc.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/sbc.spec b/sbc.spec index 79f867b..c39da05 100644 --- a/sbc.spec +++ b/sbc.spec @@ -1,6 +1,6 @@ Name: sbc Version: 1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Sub Band Codec used by bluetooth A2DP License: GPLv2 and LGPLv2+ @@ -9,6 +9,7 @@ Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar. BuildRequires: gcc BuildRequires: libsndfile-devel +Requires: lib%{name}%{?_isa} = %{version}-%{release} %description SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio @@ -16,9 +17,19 @@ 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 libsbc +Summary: Library for the SBC (Sub Band Codec) + +%description -n libsbc +Library for 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} Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: lib%{name}%{?_isa} = %{version}-%{release} %description devel Files for development with %{name}. @@ -40,9 +51,11 @@ find %{buildroot} -type f -name "*.la" -delete %ldconfig_scriptlets %files -%license COPYING %doc AUTHORS ChangeLog %{_bindir}/sbc* + +%files -n libsbc +%license COPYING %{_libdir}/libsbc.so.1* %files devel @@ -51,6 +64,9 @@ find %{buildroot} -type f -name "*.la" -delete %{_libdir}/libsbc.so %changelog +* Thu Dec 12 2019 Peter Robinson 1.4-4 +- Split library out to sub package + * Fri Jul 26 2019 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild