bcm43xx-fwcutter-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Summary: Firmware extraction tool for Broadcom wireless driver
  2. Summary(ja): Broadcom 無線LANドライバ用のファームウエア切り出しツール
  3. Name: bcm43xx-fwcutter
  4. Version: 004
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. License: GPL
  8. URL: http://bcm43xx.berlios.de/
  9. Source0: http://download.berlios.de/bcm43xx/%{name}-%{version}.tar.bz2
  10. Source2: modprobe.bcm43xx
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. %description
  13. This package contains the 'bcm43xx-fwcutter' tool which is used to
  14. extract firmware for the Broadcom network devices, from the official
  15. Windows, MacOS or Linux drivers.
  16. See the README.Fedora file shipped in the package's documentation for
  17. instructions on using this tool.
  18. %prep
  19. %setup -q
  20. sed -i -e 's/-O2/$(RPM_OPT_FLAGS)/' Makefile
  21. %build
  22. %__make
  23. cp %{SOURCE2} .
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  27. install -m0755 bcm43xx-fwcutter $RPM_BUILD_ROOT%{_bindir}/bcm43xx-fwcutter
  28. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  29. install -m0644 bcm43xx-fwcutter.1 $RPM_BUILD_ROOT%{_mandir}/man1
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %{_bindir}/bcm43xx-fwcutter
  35. %{_mandir}/man1/*
  36. %doc README modprobe.bcm43xx
  37. %changelog
  38. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 004-1vl5
  39. - applied new versioning policy, spec in utf-8
  40. * Sun Oct 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 004-0vl1
  41. - initial build for Vine Linux
  42. * Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 004-2
  43. - Rebuild
  44. * Fri Mar 31 2006 David Woodhouse <dwmw2@infradead.org> 004-1
  45. - Update to 004
  46. * Thu Mar 23 2006 David Woodhouse <dwmw2@infradead.org> 003-2
  47. - Package review. Use $RPM_OPT_FLAGS, ship man page, etc.
  48. - Complete documentation, add sample bcm43xx.modprobe file
  49. * Wed Mar 22 2006 David Woodhouse <dwmw2@infradead.org> 003-1
  50. - Initial build.