b43-openfwwf-vl.spec 2.1 KB

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