]>
Commit | Line | Data |
---|---|---|
c605aa58 JP |
1 | Summary: Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi |
2 | Name: raspberrypi-firmware | |
5c764e81 | 3 | Version: 1.20220830 |
c605aa58 | 4 | Release: 1 |
d829ecd0 | 5 | Epoch: 1 |
c605aa58 JP |
6 | # see LICENSE.broadcom |
7 | # DT Overlays covered under Linux Kernel GPLv2 | |
8 | License: Redistributable, no modification permitted | |
9 | Group: Base/Kernel | |
d829ecd0 | 10 | Source0: https://github.com/raspberrypi/firmware/archive/%{version}/%{name}-%{version}.tar.gz |
5c764e81 | 11 | # Source0-md5: d20dcaac761d4d63dd6c397bd8728cd8 |
c605aa58 | 12 | URL: https://github.com/raspberrypi/firmware/ |
66c68186 JP |
13 | BuildRequires: tar >= 1:1.22 |
14 | BuildRequires: xz | |
c605aa58 JP |
15 | ExclusiveArch: %{arm} aarch64 |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define no_install_post_strip 1 | |
19 | ||
20 | %description | |
21 | Firmware for the Broadcom bcm283x and bcm2711 series of systems on a | |
22 | chip as shipped in the Raspberry Pi series of devices. | |
23 | ||
24 | %prep | |
d829ecd0 | 25 | %setup -q -n firmware-%{version} |
c605aa58 JP |
26 | |
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
7d4651fd | 29 | install -d $RPM_BUILD_ROOT/boot/firmware |
d829ecd0 | 30 | cd boot |
7d4651fd | 31 | cp -pr *.{bin,dat,elf,dtb} overlays $RPM_BUILD_ROOT/boot/firmware |
c605aa58 JP |
32 | |
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
d829ecd0 | 38 | %doc boot/LICENCE.broadcom boot/COPYING.linux |
7d4651fd JP |
39 | %dir /boot/firmware |
40 | /boot/firmware/*.dtb | |
41 | /boot/firmware/fixup*.dat | |
42 | /boot/firmware/start*.elf | |
43 | /boot/firmware/bootcode.bin | |
44 | /boot/firmware/overlays |