Compare commits

..

No commits in common. "99e71ad4d3e39fd60383ae4415c8aed61ad3ec5d" and "48cfc016b694eb6a07ef55367be2f58d0ae54aba" have entirely different histories.

4 changed files with 12 additions and 49 deletions

Binary file not shown.

View File

@ -1,51 +1,36 @@
%global _lib_path /usr/lib/firmware %global _lib_path /usr/lib/firmware
%global _license_path /usr/share/licenses/raspi %global _license_path /usr/share/licenses/raspi
%global firmware_release 1.20241126 %global firmware_release 1.20230306
%global debug_package %{nil} %global debug_package %{nil}
Name: raspberrypi-firmware Name: raspberrypi-firmware
Version: 20241207 Version: 20231219
Release: 13 Release: 8
Summary: Firmware files used for RaspberryPi Summary: Firmware files used for RaspberryPi
License: GPL+ and GPLv2+ and Redistributable, no modification permitted and BCM_LEGAL and SYNAPTICS-END-USER-SOFTWARE-TOOL-LICENSE and binary-redist-Cypress and binary-redist-Broadcom-wifi and Synaptics and broadcom_bcm43xx License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
ExclusiveArch: aarch64 ExclusiveArch: aarch64
Provides: raspberrypi-firmware = %{version}-%{release} Provides: raspberrypi-firmware = %{version}-%{release}
URL: https://github.com/raspberrypi/firmware URL: https://github.com/raspberrypi/firmware
Source0: https://github.com/raspberrypi/firmware/archive/%{firmware_release}/firmware-%{firmware_release}.tar.gz Source0: https://github.com/raspberrypi/firmware/archive/%{firmware_release}/firmware-%{firmware_release}.tar.gz
Source1: bluez-firmware-1.2-9+rpt3.tar.gz Source1: %{name}-%{version}.tar.gz
Source2: firmware-nonfree-20230625-2+rpt3.tar.gz
Conflicts: linux-firmware Conflicts: linux-firmware
%description %description
This package contains firmware images required by some RaspberryPi devices. This package contains firmware images required by some RaspberryPi devices.
%prep %prep
%setup -q -n %{name}-%{version} -a 1 -a 2 -c %setup -q -n %{name}-%{version} -a 1 -c
mv bluez-firmware-* bluez-firmware
mv firmware-nonfree-* firmware-nonfree
%install %install
mkdir -p %{buildroot}%{_lib_path}/brcm %{buildroot}%{_lib_path}/synaptics %{buildroot}%{_lib_path}/cypress mkdir -p %{buildroot}%{_lib_path}/brcm
mkdir -p %{buildroot}%{_license_path} mkdir -p %{buildroot}%{_license_path}
mkdir -p %{buildroot}/boot mkdir -p %{buildroot}/boot
cd bluez-firmware cd %{name}-%{version}
install -p -m 644 broadcom/BCM2033-FW.bin %{buildroot}%{_lib_path} install -p -m 644 License/* %{buildroot}%{_license_path}
install -p -m 644 broadcom/BCM2033-MD.hex %{buildroot}%{_lib_path} install -p -m 644 $(find ./ -maxdepth 1 -type f) %{buildroot}%{_lib_path}
install -p -m 644 st/* %{buildroot}%{_lib_path}/ install -p -m 644 brcm/* %{buildroot}%{_lib_path}/brcm
install -p -m 644 debian/firmware/broadcom/*.hcd %{buildroot}%{_lib_path}/brcm
install -p -m 644 debian/firmware/synaptics/*.hcd %{buildroot}%{_lib_path}/synaptics
# install -p -m 644 broadcom/BCM-LEGAL.txt %{buildroot}%{_license_path}
# install -p -m 644 debian/firmware/broadcom/LICENSE.cypress %{buildroot}%{_license_path}
# install -p -m 644 debian/firmware/synaptics/LICENSE.synaptics %{buildroot}%{_license_path}
install -p -m 644 debian/copyright %{buildroot}%{_license_path}/LICENCE.bluez-firmware
cd ../firmware-nonfree
cp -a brcm/* %{buildroot}%{_lib_path}/brcm
install -p -m 644 cypress/* %{buildroot}%{_lib_path}/cypress
install -p -m 644 LICENCE.* %{buildroot}%{_license_path}
cd ../firmware-%{firmware_release} cd ../firmware-%{firmware_release}
install -p -m 644 boot/*.bin %{buildroot}/boot install -p -m 644 boot/*.bin %{buildroot}/boot
install -p -m 644 boot/*.linux %{buildroot}/boot install -p -m 644 boot/*.linux %{buildroot}/boot
@ -53,9 +38,6 @@ install -p -m 644 boot/*.dat %{buildroot}/boot
install -p -m 644 boot/*.elf %{buildroot}/boot install -p -m 644 boot/*.elf %{buildroot}/boot
install -p -m 644 boot/LICENCE.* %{buildroot}/boot install -p -m 644 boot/LICENCE.* %{buildroot}/boot
cd %{buildroot}%{_lib_path}/brcm
ln -sf ../cypress/cyfmac43455-sdio-minimal.bin cyfmac43455-sdio.bin
cd - cd -
%files %files
@ -65,25 +47,6 @@ cd -
%license %{_license_path} %license %{_license_path}
%changelog %changelog
* Tue Dec 17 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-13
- add license: broadcom_bcm43xx
- preserve the symbolic link format when installing firmwares of brcm
* Mon Dec 9 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-12
- update license
* Sat Dec 7 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241207-11
- update firmware version to 1.20241126
- update bluez-firmware to the latest commit (78d6a07730e2d20c035899521ab67726dc028e1c): Update changelog for 1.2-9+rpt3 release
- update firmware-nonfree to the latest commit (4b356e134e8333d073bd3802d767a825adec3807): Update changelog for 1:20230625-2+rpt3 release
* Mon Nov 4 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240419-10
- update firmware version to 1.20241008
* Fri Apr 19 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240419-9
- update firmware to version 1.20240306
- update bluez-firmware to the latest commit (5a204dae9b3dc521842c56d93f6b4ecfbe4ff44d): 1.2-4+rpt11 release
* Tue Dec 19 2023 Yafen Fang<yafen@iscas.ac.cn> - 20231219-8 * Tue Dec 19 2023 Yafen Fang<yafen@iscas.ac.cn> - 20231219-8
- delete files: regulatory.db* and LICENCE.wireless-regdb - delete files: regulatory.db* and LICENCE.wireless-regdb
@ -110,7 +73,7 @@ cd -
* Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1 * Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1
- Update firmware files. - Update firmware files.
* Mon Aug 31 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-3 * Mon 31 Aug 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-3
- Add source url in spec. - Add source url in spec.
* Fri Jul 17 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-1 * Fri Jul 17 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200717-1