b43-openfwwf-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. %description
  18. Open firmware for some Broadcom 43xx series WLAN chips.
  19. Currently supported models are 4306, 4311(rev1), 4318 and 4320.
  20. %prep
  21. %setup -q -n openfwwf-%{version}
  22. sed -i s/"-o 0 -g 0"// Makefile
  23. install -p -m 0644 %{SOURCE1} .
  24. install -p -m 0644 %{SOURCE2} .
  25. %build
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install PREFIX=$RPM_BUILD_ROOT/lib/firmware/b43
  30. install -p -D -m 0644 openfwwf.conf $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/openfwwf.conf
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc COPYING LICENSE README.openfwwf
  36. %dir /lib/firmware/b43
  37. /lib/firmware/b43/b0g0bsinitvals5.fw
  38. /lib/firmware/b43/b0g0initvals5.fw
  39. /lib/firmware/b43/ucode5.fw
  40. %{_sysconfdir}/modprobe.d/openfwwf.conf
  41. %changelog
  42. * Thu Aug 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2-1
  43. - initial build for Vine Linux
  44. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  46. * Thu Jul 23 2009 Peter Lemenkov <lemenkov@gmail.com> 5.2-1
  47. - Ver. 5.2
  48. * Mon Jun 29 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-3
  49. - Changed README a lot
  50. - Changed description
  51. * Fri Jun 5 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-2
  52. - Added config-file for modprobe
  53. * Wed Mar 18 2009 Peter Lemenkov <lemenkov@gmail.com> 5.1-1
  54. - Initial package for Fedora