From 94feaa053336b342454fbb94d6e8ddabda1ee1a3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jun 18 2015 16:57:03 +0000 Subject: initial import --- diff --git a/.gitignore b/.gitignore index e69de29..2c0ab7e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/bcm283x-firmware-*.tar.xz diff --git a/bcm283x-firmware.spec b/bcm283x-firmware.spec new file mode 100644 index 0000000..98f22d5 --- /dev/null +++ b/bcm283x-firmware.spec @@ -0,0 +1,50 @@ +%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 diff --git a/sources b/sources index e69de29..b0e7fa5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e4e9f4a71e42f5146667a812f6050d5f bcm283x-firmware-37600d5.tar.xz