]>
Commit | Line | Data |
---|---|---|
36ea8ef7 AM |
1 | # |
2 | Summary: Firmware for the Broadcom wireless chipsets | |
3 | Name: bcm43xx-firmware | |
4 | Version: 3 | |
5 | Release: 1 | |
8d48a01d | 6 | License: Copyrighted by Broadcom Corporation |
36ea8ef7 | 7 | Group: Base/Kernel |
5cb94a2a | 8 | Source0: http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o |
8d48a01d | 9 | # NoSource0-md5: e08665c5c5b66beb9c3b2dd54aa80cb3 |
5cb94a2a | 10 | NoSource: 0 |
36ea8ef7 AM |
11 | URL: http://linuxwireless.org/en/users/Drivers/bcm43xx#devicefirmware |
12 | BuildRequires: bcm43xx-fwcutter | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | This package contains the firmware for the bcm43xx driver. | |
18 | ||
19 | %prep | |
5cb94a2a | 20 | %setup -q -c -T |
36ea8ef7 AM |
21 | |
22 | %build | |
23 | install -d fw | |
24 | %{_bindir}/bcm43xx-fwcutter -w fw %{SOURCE0} | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT/lib/firmware | |
29 | ||
30 | install fw/*.fw $RPM_BUILD_ROOT/lib/firmware | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | /lib/firmware/*.fw |