iwlwifi-5150-ucode-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: iwlwifi-5150-ucode
  2. Version: 8.24.2.2
  3. Release: 2%{?_dist_release}
  4. Summary: Firmware for Intel® Wireless 5150 A/G/N network adaptors
  5. Summary(ja): Intel® Wireless 5150 A/G/N ネットワークアダプタ用ファームウェア
  6. Group: System Environment/Kernel
  7. License: Redistributable, no modification permitted
  8. URL: http://intellinuxwireless.org/
  9. Source0: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5150-ucode-%{version}.tgz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. Requires: udev
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: daisuke
  16. %description
  17. This package contains the firmware required by the iwlagn driver
  18. for Linux to support the iwl5150 hardware. Usage of the firmware
  19. is subject to the terms and conditions contained inside the provided
  20. LICENSE file. Please read it carefully.
  21. %prep
  22. %setup -q
  23. # Change encoding
  24. sed -i 's/\r//' LICENSE.iwlwifi-5150-ucode README.iwlwifi-5150-ucode
  25. # Rename docs
  26. mv LICENSE.iwlwifi-5150-ucode ../LICENSE
  27. mv README.iwlwifi-5150-ucode ../README
  28. # Preserve timestamp
  29. touch -r *.ucode ../LICENSE ../README
  30. %build
  31. # Nothing to build
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. mkdir -p $RPM_BUILD_ROOT/lib/firmware
  35. install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc LICENSE README
  41. /lib/firmware/*.ucode
  42. %changelog
  43. * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 8.24.2.2-2
  44. - rebuild for Vine 6
  45. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 8.24.2.2-1
  46. - initial build for Vine Linux
  47. * Mon Jan 25 2010 John W. Linville <linville@tuxdriver.com> - 8.24.2.2-1
  48. - Initial import