%bcond_without userspace # don't build userspace utilities
%bcond_with verbose # verbose build (V=1)
#
-%define rel 7
+%define rel 42
Summary: Bluetooth-alsa Project
Summary(pl.UTF-8): Projekt Bluetooth-alsa
Name: btsco
# Source0-md5: d9fdd63a9e22ba839a41c8a9b89c2dda
Patch0: %{name}-readme-pl.diff
Patch1: %{name}-kernel.patch
+Patch2: %{name}-2.6.27.patch
URL: http://sourceforge.net/projects/bluetooth-alsa/
%if %{with kernel}
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%if %{with userspace}
+%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}