%global _bin_path /usr/bin %global _rules_path /lib/udev/rules.d %global _systemd_path /lib/systemd/system %global _license_path /usr/share/licenses/raspi %global commitid 87248a382d1a81b80a62730975135d87fffd7ef1 %global debug_package %{nil} Name: raspberrypi-bluetooth Version: 20230315 Release: 6 Summary: bluetooth files used for RaspberryPi License: BSD-3-Clause ExclusiveArch: aarch64 Provides: raspberrypi-bluetooth = %{version}-%{release} URL: https://github.com/RPi-Distro/pi-bluetooth Source0: https://github.com/RPi-Distro/pi-bluetooth/archive/%{commitid}/pi-bluetooth-%{commitid}.tar.gz %description This package contains executable files of bluetooth required by some RaspberryPi devices. %prep %setup -q -n %{name}-%{version} -c %install mkdir -p %{buildroot}%{_bin_path} mkdir -p %{buildroot}%{_rules_path} mkdir -p %{buildroot}%{_systemd_path} mkdir -p %{buildroot}%{_license_path} cd pi-bluetooth-%{commitid} install -p -m 755 usr/bin/* %{buildroot}%{_bin_path}/ install -p -m 644 lib/udev/rules.d/90-pi-bluetooth.rules %{buildroot}%{_rules_path}/ install -p -m 644 debian/pi-bluetooth.bthelper\@.service %{buildroot}%{_systemd_path}/bthelper\@.service install -p -m 644 debian/pi-bluetooth.hciuart.service %{buildroot}%{_systemd_path}/hciuart.service install -p -m 644 debian/copyright %{buildroot}%{_license_path}/LICENSE.pi-bluetooth cd - %files %dir %{_rules_path} %dir %{_systemd_path} %dir %{_license_path} %{_license_path} %{_bin_path}/* %{_rules_path}/* %{_systemd_path}/* %changelog * Wed Mar 15 2023 Yafen Fang - 20230315-6 - update pi-bluetooth to commit(87248a382d1a81b80a62730975135d87fffd7ef1): 0.1.19 release * Fri Mar 18 2022 Yafen Fang - 20220318-5 - update pi-bluetooth to commit(23af66cff597c80523bf9581d7f75d387227f183): Add AA:AA:AA:AA:AA:AA as an "unprogrammed" address * Tue Feb 23 2021 Yafen Fang - 20210223-4 - update to the latest commit(6f6386e91e33966d3c4a3cfee72d61e14c6a11ef) of pi-bluetooth(0.1.15). * Tue Nov 10 2020 Yafen Fang - 20201110-3 - update to the latest commit(a69d8f54901aab31f2f47e0cc4f9d2879e183f1d) of pi-bluetooth(0.1.15). * Wed Sep 16 2020 Yafen Fang - 20200904-2 - Change source0's name. * Fri Sep 4 2020 Yafen Fang - 20200904-1 - Update pi-bluetooth version to 0.1.15 release. * Mon Aug 31 2020 Yafen Fang - 20200729-2 - Add source url in spec. * Wed Jul 29 2020 Yafen Fang - 20200729-1 - Add rules file, bthelper and hciuart from pi-bluetooth.