Split library out to sub package

This commit is contained in:
Peter Robinson 2019-12-12 05:28:06 +00:00
parent 3bcc09a7a4
commit 2fcdfa99aa

View File

@ -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 <pbrobinson@fedoraproject.org> 1.4-4
- Split library out to sub package
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild