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