rebuilt with fixes [release 0.20210420-2mamba;Tue Apr 20 2021]
This commit is contained in:
parent
78e1aa8fdb
commit
f8ccdd8350
64
pi-bluetooth.spec
Normal file
64
pi-bluetooth.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: pi-bluetooth
|
||||
Version: 0.20210420
|
||||
Release: 2mamba
|
||||
Summary: Loads BCM43430A1 firmware on boot
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/RPi-Distro/pi-bluetooth
|
||||
Source: https://github.com/RPi-Distro/pi-bluetooth.git/master/pi-bluetooth-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: bluez
|
||||
|
||||
%description
|
||||
Loads BCM43430A1 firmware on boot.
|
||||
|
||||
#% debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i "s|dev.serial1|dev/ttyAMA0|" usr/bin/* debian/*.service
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -d -m0755 %{buildroot}%{_bindir}
|
||||
cp usr/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
install -D -m0644 debian/pi-bluetooth.bthelper@.service %{buildroot}%{_unitdir}/pi-bluetooth.bthelper@.service
|
||||
install -D -m0644 debian/pi-bluetooth.hciuart.service %{buildroot}%{_unitdir}/pi-bluetooth.hciuart.service
|
||||
install -D -m0644 lib/udev/rules.d/90-pi-bluetooth.rules %{buildroot}%{_udevrulesdir}/90-pi-bluetooth.rules
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%preun
|
||||
%systemd_preun pi-bluetooth.hciuart
|
||||
:
|
||||
|
||||
%postun
|
||||
%systemd_postun pi-bluetooth.hciuart
|
||||
:
|
||||
|
||||
%post
|
||||
%systemd_post pi-bluetooth.hciuart
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/bthelper
|
||||
%{_bindir}/btuart
|
||||
%{_unitdir}/pi-bluetooth.bthelper@.service
|
||||
%{_unitdir}/pi-bluetooth.hciuart.service
|
||||
%{_udevrulesdir}/90-pi-bluetooth.rules
|
||||
|
||||
%changelog
|
||||
* Tue Apr 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20210420-2mamba
|
||||
- rebuilt with fixes
|
||||
|
||||
* Tue Apr 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20210420-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user