1 | Name: b43-openfwwf |
---|
2 | Version: 5.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Open firmware for some Broadcom 43xx series WLAN chip |
---|
5 | Summary(ja): Broadcom 43xx シリーズ無線LAN用のオープンファームウエア |
---|
6 | Group: System Environment/Kernel |
---|
7 | License: GPLv2 |
---|
8 | URL: http://www.ing.unibs.it/openfwwf/ |
---|
9 | Source0: http://www.ing.unibs.it/openfwwf/firmware/openfwwf-%{version}.tar.gz |
---|
10 | Source1: README.openfwwf |
---|
11 | Source2: openfwwf.conf |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | BuildArch: noarch |
---|
14 | BuildRequires: b43-tools |
---|
15 | Requires: udev |
---|
16 | Requires: module-init-tools |
---|
17 | |
---|
18 | |
---|
19 | %description |
---|
20 | Open firmware for some Broadcom 43xx series WLAN chips. |
---|
21 | Currently supported models are 4306, 4311(rev1), 4318 and 4320. |
---|
22 | |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q -n openfwwf-%{version} |
---|
26 | sed -i s/"-o 0 -g 0"// Makefile |
---|
27 | install -p -m 0644 %{SOURCE1} . |
---|
28 | install -p -m 0644 %{SOURCE2} . |
---|
29 | |
---|
30 | %build |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf $RPM_BUILD_ROOT |
---|
36 | make install PREFIX=$RPM_BUILD_ROOT/lib/firmware/b43 |
---|
37 | install -p -D -m 0644 openfwwf.conf $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/openfwwf.conf |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -rf $RPM_BUILD_ROOT |
---|
43 | |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc COPYING LICENSE README.openfwwf |
---|
48 | %dir /lib/firmware/b43 |
---|
49 | /lib/firmware/b43/b0g0bsinitvals5.fw |
---|
50 | /lib/firmware/b43/b0g0initvals5.fw |
---|
51 | /lib/firmware/b43/ucode5.fw |
---|
52 | %{_sysconfdir}/modprobe.d/openfwwf.conf |
---|
53 | |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Thu Aug 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2-1 |
---|
57 | - initial build for Vine Linux |
---|
58 | |
---|
59 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2 |
---|
60 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
61 | |
---|
62 | * Thu Jul 23 2009 Peter Lemenkov <lemenkov@gmail.com> 5.2-1 |
---|
63 | - Ver. 5.2 |
---|
64 | |
---|
65 | * Mon Jun 29 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-3 |
---|
66 | - Changed README a lot |
---|
67 | - Changed description |
---|
68 | |
---|
69 | * Fri Jun 5 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-2 |
---|
70 | - Added config-file for modprobe |
---|
71 | |
---|
72 | * Wed Mar 18 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-1 |
---|
73 | - Initial package for Fedora |
---|
74 | |
---|