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