]> git.pld-linux.org Git - packages/raspberrypi-firmware.git/blob - raspberrypi-firmware.spec
up to 1.20220331
[packages/raspberrypi-firmware.git] / raspberrypi-firmware.spec
1 Summary:        Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi
2 Name:           raspberrypi-firmware
3 Version:        1.20220331
4 Release:        1
5 Epoch:          1
6 # see LICENSE.broadcom
7 # DT Overlays covered under Linux Kernel GPLv2
8 License:        Redistributable, no modification permitted
9 Group:          Base/Kernel
10 Source0:        https://github.com/raspberrypi/firmware/archive/%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5:  8450d98c24f51e971b26fe461dc9aea5
12 URL:            https://github.com/raspberrypi/firmware/
13 BuildRequires:  tar >= 1:1.22
14 BuildRequires:  xz
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
25 %setup -q -n firmware-%{version}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT/boot/firmware
30 cd boot
31 cp -pr *.{bin,dat,elf,dtb} overlays $RPM_BUILD_ROOT/boot/firmware
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc boot/LICENCE.broadcom boot/COPYING.linux
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
This page took 0.077957 seconds and 3 git commands to generate.