source: projects/specs/trunk/s/sbc/sbc-vl.spec @ 7789

Revision 7789, 1.7 KB checked in by daisuke, 11 years ago (diff)

sbc: new package

Line 
1Name:          sbc
2Version:       1.0
3Release:       1%{?_dist_release}
4Summary:       Sub Band Codec used by bluetooth A2DP
5Summary(ja):   Bluetooth A2DP で使用する Sub Band Codec
6
7License:       GPLv2 and LGPLv2+
8URL:           http://www.bluez.org
9Source0:       http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
10
11BuildRequires: libsndfile-devel
12
13%description
14SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio
15Distribution Profile (A2DP) bluetooth standard but can be used standalone. It
16uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with
17an adaptive block PCM quantizers.
18
19%package devel
20Summary: Development package for %{name}
21Summary(ja): %{name} の開発用パッケージ
22Group: Development/Libraries
23Requires: %{name}%{?_isa} = %{version}-%{release}
24
25%description devel
26Files for development with %{name}.
27
28%prep
29%setup -q
30
31%build
32%configure --disable-static
33
34make %{?_smp_mflags} V=1
35
36%install
37make install DESTDIR=%{buildroot} INSTALL='install -p'
38
39#Remove libtool archives.
40find %{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
Note: See TracBrowser for help on using the repository browser.