diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a79b1a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sbc-1.3.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sbc.spec b/sbc.spec new file mode 100644 index 0000000..89168fb --- /dev/null +++ b/sbc.spec @@ -0,0 +1,105 @@ +Name: sbc +Version: 1.3 +Release: 9%{?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: gcc +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} +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} -type f -name "*.la" -delete + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING +%doc AUTHORS ChangeLog +%{_bindir}/sbc* +%{_libdir}/libsbc.so.1* + +%files devel +%{_includedir}/sbc/ +%{_libdir}/pkgconfig/sbc.pc +%{_libdir}/libsbc.so + +%changelog +* Fri Mar 9 2018 Peter Robinson 1.3-9 +- Add gcc BR + +* Fri Feb 09 2018 Fedora Release Engineering - 1.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 4 2015 Peter Robinson 1.3-2 +- Use %%license + +* Thu Nov 20 2014 Bastien Nocera 1.3-1 +- Update to 1.3 + +* Mon Aug 18 2014 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jan 29 2014 Bastien Nocera 1.2-1 +- Update to 1.2 + +* Sat Aug 24 2013 Bastien Nocera 1.1-1 +- Update to 1.1 + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Dec 18 2012 Rex Dieter 1.0-2 +- track lib soname, minor .spec cleanup + +* Sat Dec 1 2012 Peter Robinson 1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..c43196f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sbc-1.3.tar.gz) = 74d3fa1722963159ca458b71b0795033c8e3293235bc8f4018a86fb35f5e9d7e4516f6038ae1bacf549cd26535f34074637c2e40537c467369c05224f46353cd