iwlwifi-5150-ucode-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Name: iwlwifi-5150-ucode
  2. Version: 8.24.2.2
  3. Release: 1%{?_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. %description
  14. This package contains the firmware required by the iwlagn driver
  15. for Linux to support the iwl5150 hardware. Usage of the firmware
  16. is subject to the terms and conditions contained inside the provided
  17. LICENSE file. Please read it carefully.
  18. %prep
  19. %setup -q
  20. # Change encoding
  21. sed -i 's/\r//' LICENSE.iwlwifi-5150-ucode README.iwlwifi-5150-ucode
  22. # Rename docs
  23. mv LICENSE.iwlwifi-5150-ucode ../LICENSE
  24. mv README.iwlwifi-5150-ucode ../README
  25. # Preserve timestamp
  26. touch -r *.ucode ../LICENSE ../README
  27. %build
  28. # Nothing to build
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. mkdir -p $RPM_BUILD_ROOT/lib/firmware
  32. install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc LICENSE README
  38. /lib/firmware/*.ucode
  39. %changelog
  40. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 8.24.2.2-1
  41. - initial build for Vine Linux
  42. * Mon Jan 25 2010 John W. Linville <linville@tuxdriver.com> - 8.24.2.2-1
  43. - Initial import