]>
Commit | Line | Data |
---|---|---|
1 | Summary: Utility for extracting Broadcom 43xx firmware | |
2 | Summary(pl.UTF-8): Narzędzie do wyciągania firmware'u dla układów Broadcom 43xx | |
3 | Name: bcm43xx-fwcutter | |
4 | Version: 20071026 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://linuxwireless.org/download/bcm43xx/fwcutter/%{name}.tar.bz2 | |
9 | # Source0-md5: a9baae864957c19d4d9947a4ed72188a | |
10 | URL: http://linuxwireless.org/en/users/Drivers/b43#devicefirmware | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | fwcutter is a tool which can extract firmware from various source | |
15 | files. It's written for bcm43xx driver. | |
16 | ||
17 | %description -l pl.UTF-8 | |
18 | fwcutter to narzędzie potrafiące wyciągać firmware z różnych plików | |
19 | źródłowych. To narzędzie zostało napisane dla sterownika bcm43xx. | |
20 | ||
21 | %prep | |
22 | %setup -q -n %{name} | |
23 | ||
24 | %build | |
25 | %{__make} \ | |
26 | CC="%{__cc}" \ | |
27 | CFLAGS="%{rpmcflags} -D_BSD_SOURCE" | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
33 | ||
34 | install bcm43xx-fwcutter $RPM_BUILD_ROOT%{_bindir} | |
35 | install bcm43xx-fwcutter.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README | |
43 | %attr(755,root,root) %{_bindir}/bcm43xx-fwcutter | |
44 | %{_mandir}/man1/bcm43xx-fwcutter.1* |