sbc-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: sbc
  2. Version: 1.3
  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. Group: System Environment/Libraries
  9. Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libsndfile-devel
  12. %description
  13. SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio
  14. Distribution Profile (A2DP) bluetooth standard but can be used standalone. It
  15. uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with
  16. an adaptive block PCM quantizers.
  17. %package devel
  18. Summary: Development package for %{name}
  19. Summary(ja): %{name} の開発用パッケージ
  20. Group: Development/Libraries
  21. Requires: %{name}%{?_isa} = %{version}-%{release}
  22. %description devel
  23. Files for development with %{name}.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --disable-static
  28. make %{?_smp_mflags} V=1
  29. %install
  30. make install DESTDIR=%{buildroot} INSTALL='install -p'
  31. #Remove libtool archives.
  32. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  33. %post -p /sbin/ldconfig
  34. %postun -p /sbin/ldconfig
  35. %files
  36. %doc COPYING AUTHORS ChangeLog
  37. %{_bindir}/sbc*
  38. %{_libdir}/libsbc.so.1*
  39. %files devel
  40. %{_includedir}/sbc/
  41. %{_libdir}/pkgconfig/sbc.pc
  42. %{_libdir}/libsbc.so
  43. %changelog
  44. * Fri Jan 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
  45. - new upstream release.
  46. * Sat Dec 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0-2
  47. - added Group tag
  48. * Thu Jul 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  49. - initial build for Vine Linux
  50. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  52. * Tue Dec 18 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0-2
  53. - track lib soname, minor .spec cleanup
  54. * Sat Dec 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-1
  55. - Initial package