]> git.pld-linux.org Git - packages/btsco.git/blame - btsco.spec
- %{_alt_kernel} macro works now
[packages/btsco.git] / btsco.spec
CommitLineData
80a94d8f 1#
7ebd2e19 2# Conditional build:
3%bcond_without dist_kernel # without kernel from distribution
4%bcond_without kernel # don't build kernel modules
80a94d8f 5%bcond_without userspace # don't build userspace utilities
7ebd2e19 6%bcond_without smp # don't build SMP module
7%bcond_with verbose # verbose build (V=1)
7ebd2e19 8#
304841dd 9%define rel 1
7ebd2e19 10Summary: Bluetooth-alsa Project
11Summary(pl): Projekt Bluetooth-alsa
12Name: btsco
7cf0ed0c 13Version: 0.5
7ebd2e19 14Release: %{rel}
15License: GPL
16Group: Applications/Sound
7cf0ed0c 17Source0: http://dl.sourceforge.net/bluetooth-alsa/%{name}-%{version}.tgz
18# Source0-md5: d9fdd63a9e22ba839a41c8a9b89c2dda
7ebd2e19 19Patch0: %{name}-readme-pl.diff
20URL: http://sourceforge.net/projects/bluetooth-alsa/
80a94d8f 21%if %{with kernel}
c954e546 22%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build}
80a94d8f
JB
23%endif
24%if %{with userspace}
25BuildRequires: alsa-driver-devel >= 1.0.9-1
26BuildRequires: alsa-lib-devel >= 1.0.9-1
f76a384f
JB
27BuildRequires: autoconf
28BuildRequires: automake
80a94d8f
JB
29BuildRequires: bluez-libs-devel >= 2.21-1
30BuildRequires: libao-devel >= 0.8.6-1
0c774113 31BuildRequires: libtool
9398df1b 32BuildRequires: rpmbuild(macros) >= 1.330
80a94d8f 33%endif
7ebd2e19 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37This project provides a way to use a bluetooth headset with Linux. We
38do this currently by making an alsa kernel driver which uses bluez to
39reach the headset. It works well enough now to get voice-quality audio
40to and from most headsets.
41
42%description -l pl
43