package created using the webbuild interface [release 20170127git-1mamba;Fri Jan 27 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:31:47 +01:00
parent 6c67de747c
commit 2648d91e34
3 changed files with 63 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# rtl8723bs_bt
Programs and firmware to operate the Bluetooth section of the RTL8723BS hardware used on a number of tablets.

9
rtl8723bs_bt.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Bluetooth daemon for RTL8723BS
[Service]
Type=simple
ExecStart=/usr/sbin/rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5
[Install]
WantedBy=multi-user.target

52
rtl8723bs_bt.spec Normal file
View File

@ -0,0 +1,52 @@
Name: rtl8723bs_bt
Version: 20170127git
Release: 1mamba
Summary: Bluetooth Code for RTL8723bs
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lwfinger/rtl8723bs_bt
## GITSOURCE https://github.com/lwfinger/rtl8723bs_bt.git master
Source: https://github.com/lwfinger/rtl8723bs_bt.git/master/rtl8723bs_bt-%{version}.tar.bz2
Source1: rtl8723bs_bt.service
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Programs and firmware to operate the Bluetooth section of the RTL8723BS hardware used on a number of tablets.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0775 %{buildroot}/lib/firmware/rtl_bt
cp -p rtlbt_* %{buildroot}/lib/firmware/rtl_bt/
install -D -m0755 rtk_hciattach %{buildroot}%{_sbindir}/rtk_hciattach
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/rtl8723bs_bt.service
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir /lib/firmware/rtl_bt
/lib/firmware/rtl_bt/rtlbt_config
/lib/firmware/rtl_bt/rtlbt_fw
/lib/firmware/rtl_bt/rtlbt_fw_new
%{_unitdir}/rtl8723bs_bt.service
%{_sbindir}/rtk_hciattach
%changelog
* Fri Jan 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20170127git-1mamba
- package created using the webbuild interface