65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
|
Name: hciattach-rpi
|
||
|
Version: 5.41
|
||
|
Release: 1mamba
|
||
|
Summary: Userspace tools for the Bluetooth wireless library for Linux
|
||
|
Group: Applications/Communication
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.bluez.org
|
||
|
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.gz
|
||
|
Patch0: bluez5-5.41-mode-43xx-firmware-into-lib-firmware.patch
|
||
|
Patch1: bluez5-5.41-bcm43xx-Add-bcm43xx-3wire-variant.patch
|
||
|
Patch2: bluez5-5.41-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
|
||
|
Patch3: bluez5-5.41-Increase-firmware-load-timeout-to-30s.patch
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libdbus-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libical-devel
|
||
|
BuildRequires: libreadline-devel
|
||
|
BuildRequires: libtermcap-devel
|
||
|
BuildRequires: libudev-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: flex
|
||
|
BuildRequires: bison
|
||
|
BuildRequires: libcap-ng-devel
|
||
|
BuildRequires: systemd-devel
|
||
|
ExclusiveArch: arm aarch64
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Userspace tool hciattach-rpi for RaspberryPi 3 bluetooth support.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n bluez-%{version}
|
||
|
%patch0 -p1
|
||
|
%patch1 -p1
|
||
|
%patch2 -p1
|
||
|
%patch3 -p1
|
||
|
|
||
|
%build
|
||
|
%configure \
|
||
|
--libexecdir=/%{_lib} \
|
||
|
--enable-tools
|
||
|
|
||
|
%make tools/hciattach
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
install -D -m0755 tools/hciattach %{buildroot}%{_sbindir}/hciattach-rpi
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_sbindir}/hciattach-rpi
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jul 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.41-1mamba
|
||
|
- package created from bluez5-5.41-2mamba
|