sbc/sbc.spec
2014-11-20 12:54:53 +01:00

81 lines
2.2 KiB
RPMSpec

Name: sbc
Version: 1.3
Release: 1%{?dist}
Summary: Sub Band Codec used by bluetooth A2DP
License: GPLv2 and LGPLv2+
URL: http://www.bluez.org
Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
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 devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING AUTHORS ChangeLog
%{_bindir}/sbc*
%{_libdir}/libsbc.so.1*
%files devel
%{_includedir}/sbc/
%{_libdir}/pkgconfig/sbc.pc
%{_libdir}/libsbc.so
%changelog
* Thu Nov 20 2014 Bastien Nocera <bnocera@redhat.com> 1.3-1
- Update to 1.3
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Jan 29 2014 Bastien Nocera <bnocera@redhat.com> 1.2-1
- Update to 1.2
* Sat Aug 24 2013 Bastien Nocera <bnocera@redhat.com> 1.1-1
- Update to 1.1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Dec 18 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0-2
- track lib soname, minor .spec cleanup
* Sat Dec 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-1
- Initial package