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 @@ ...@@ -4,7 +4,7 @@
Name: rpi-firmware-nonfree Name: rpi-firmware-nonfree
Version: 20241222 Version: 20241222
Release: 1%{?dist} Release: 3%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch BuildArch: noarch
ExclusiveArch: aarch64 ExclusiveArch: aarch64
...@@ -22,14 +22,14 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models. ...@@ -22,14 +22,14 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
%prep %prep
%setup -n %{nonfree_srcdir} %setup -n %{nonfree_srcdir}
cp %{SOURCE1} .
%build %build
%install %install
install -d %{buildroot}%{_fwpath}/brcm install -d %{buildroot}%{_fwpath}/brcm
install -d %{buildroot}/usr/share/licenses/%{name} install -d %{buildroot}/usr/share/licenses/brcm
cp debian/copyright %{buildroot}/usr/share/licenses/%{name} 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/brcmfmac43455-sdio.txt %{buildroot}%{_fwpath}/brcm/
cp debian/config/brcm80211/brcm/brcmfmac43456-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/ cp debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin %{buildroot}%{_fwpath}/brcm/
...@@ -41,6 +41,10 @@ xz -C crc32 %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.bin ...@@ -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.clm_blob
xz -C crc32 %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.txt 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 # 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.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 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 ...@@ -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 ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt.xz
%files %files
%license LICENSE %license /usr/share/licenses/brcm/LICENSE
%license copyright %license /usr/share/licenses/brcm/copyright
%{_fwpath}/brcm/* %{_fwpath}/brcm/*
%changelog %changelog
* Sun Mar 02 2025 Bryan Zuelly <bzuelly@outlook.com> - * Sun Mar 02 2025 Bryan Zuelly <bzuelly@outlook.com> -
- Initial - 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