%global debug_package %{nil} # Tarfile created using git # git clone https://github.com/raspberrypi/firmware.git # cd firmware/boot # tar cJvf ../bcm283x-firmware-%{gitshort}.tar.xz *bin *dat *elf LICENCE.broadcom overlays/README %define gitshort 37600d5 Name: bcm283x-firmware Version: 20150615 Release: 3.%{gitshort}%{?dist} Summary: Broadcom bcm283x firmware for the Raspberry Pi Group: System Environment/Kernel # see LICENSE.broadcom License: Redistributable, no modification permitted URL: https://github.com/raspberrypi/ Source0: %{name}-%{gitshort}.tar.xz ExclusiveArch: %{arm} %description Firmware for the Broadcom bcm283x SoC as shipped in devices such as the Raspberry Pi. %prep %setup -q -n %{name}-%{gitshort} -c %{name}-%{gitshort} %build %install mkdir -p %{buildroot}/%{_datadir}/%{name} mkdir -p %{buildroot}/%{_datadir}/%{name}/overlays install -p *bin %{buildroot}/%{_datadir}/%{name} install -p *dat %{buildroot}/%{_datadir}/%{name} install -p *elf %{buildroot}/%{_datadir}/%{name} install -p overlays/README %{buildroot}/%{_datadir}/%{name}/overlays %files %license LICENCE.broadcom %{_datadir}/%{name} %changelog * Thu Jun 18 2015 Peter Robinson 20150615-3.37600d5 - Fix license field * Thu Jun 18 2015 Peter Robinson 20150615-2.37600d5 - Updates for review * Mon Jun 15 2015 Peter Robinson 20150615-1.37600d5 - Initial version