Skip to content
Snippets Groups Projects
Verified Commit 1d2b3632 authored by Bryan Zuelly's avatar Bryan Zuelly
Browse files

updated license location

parent 7e54acd2
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
Name: rpi-firmware-nonfree
Version: 20241222
Release: 1%{?dist}
Release: 3%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch
ExclusiveArch: aarch64
......@@ -22,14 +22,14 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
%prep
%setup -n %{nonfree_srcdir}
cp %{SOURCE1} .
%build
%install
install -d %{buildroot}%{_fwpath}/brcm
install -d %{buildroot}/usr/share/licenses/%{name}
cp debian/copyright %{buildroot}/usr/share/licenses/%{name}
install -d %{buildroot}/usr/share/licenses/brcm
cp %{SOURCE1} %{buildroot}/usr/share/licenses/brcm
cp debian/copyright %{buildroot}/usr/share/licenses/brcm
cp debian/config/brcm80211/brcm/brcmfmac43455-sdio.txt %{buildroot}%{_fwpath}/brcm/
cp debian/config/brcm80211/brcm/brcmfmac43456-sdio.txt %{buildroot}%{_fwpath}/brcm/
cp debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin %{buildroot}%{_fwpath}/brcm/
......@@ -41,6 +41,10 @@ xz -C crc32 %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.bin
xz -C crc32 %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.clm_blob
xz -C crc32 %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.txt
# Pi Zero 2W
ln -s brcmfmac43436s-sdio.txt %{buildroot}%{_fwpath}/brcm/brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.txt
ln -s brcmfmac43430-sdio.raspberrypi,model-zero-w.txt %{buildroot}%{_fwpath}/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt
# Raspberry Pi CM 4
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin.xz
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob.xz
......@@ -50,10 +54,11 @@ ln -s brcmfmac43456-sdio.clm_blob.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43456-s
ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt.xz
%files
%license LICENSE
%license copyright
%license /usr/share/licenses/brcm/LICENSE
%license /usr/share/licenses/brcm/copyright
%{_fwpath}/brcm/*
%changelog
* Sun Mar 02 2025 Bryan Zuelly <bzuelly@outlook.com> -
- Initial
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment