From 2648d91e346e3d981d79617b50701e99b3211e5c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:31:47 +0100 Subject: [PATCH] package created using the webbuild interface [release 20170127git-1mamba;Fri Jan 27 2017] --- README.md | 2 ++ rtl8723bs_bt.service | 9 ++++++++ rtl8723bs_bt.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 rtl8723bs_bt.service create mode 100644 rtl8723bs_bt.spec diff --git a/README.md b/README.md index 9be4966..9281254 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rtl8723bs_bt +Programs and firmware to operate the Bluetooth section of the RTL8723BS hardware used on a number of tablets. + diff --git a/rtl8723bs_bt.service b/rtl8723bs_bt.service new file mode 100644 index 0000000..088a223 --- /dev/null +++ b/rtl8723bs_bt.service @@ -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 diff --git a/rtl8723bs_bt.spec b/rtl8723bs_bt.spec new file mode 100644 index 0000000..b280123 --- /dev/null +++ b/rtl8723bs_bt.spec @@ -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 +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 20170127git-1mamba +- package created using the webbuild interface