sbc-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: sbc
  2. Version: 1.0
  3. Release: 1%{?_dist_release}
  4. Summary: Sub Band Codec used by bluetooth A2DP
  5. Summary(ja): Bluetooth A2DP で使用する Sub Band Codec
  6. License: GPLv2 and LGPLv2+
  7. URL: http://www.bluez.org
  8. Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
  9. BuildRequires: libsndfile-devel
  10. %description
  11. SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio
  12. Distribution Profile (A2DP) bluetooth standard but can be used standalone. It
  13. uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with
  14. an adaptive block PCM quantizers.
  15. %package devel
  16. Summary: Development package for %{name}
  17. Summary(ja): %{name} の開発用パッケージ
  18. Group: Development/Libraries
  19. Requires: %{name}%{?_isa} = %{version}-%{release}
  20. %description devel
  21. Files for development with %{name}.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --disable-static
  26. make %{?_smp_mflags} V=1
  27. %install
  28. make install DESTDIR=%{buildroot} INSTALL='install -p'
  29. #Remove libtool archives.
  30. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  31. %post -p /sbin/ldconfig
  32. %postun -p /sbin/ldconfig
  33. %files
  34. %doc COPYING AUTHORS ChangeLog
  35. %{_bindir}/sbc*
  36. %{_libdir}/libsbc.so.1*
  37. %files devel
  38. %{_includedir}/sbc/
  39. %{_libdir}/pkgconfig/sbc.pc
  40. %{_libdir}/libsbc.so
  41. %changelog
  42. * Thu Jul 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  43. - initial build for Vine Linux
  44. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  46. * Tue Dec 18 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0-2
  47. - track lib soname, minor .spec cleanup
  48. * Sat Dec 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-1
  49. - Initial package