iwlwifi-6050-ucode-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: iwlwifi-6050-ucode
  2. Version: 9.201.4.1
  3. Release: 1%{?_dist_release}
  4. Summary: Firmware for Intel(R) Wireless WiFi Link 6050 Series Adapters
  5. Summary(ja): Intel(R) Wireless WiFi Link 6050 シリーズアダプタ用ファームウェア
  6. Group: System Environment/Kernel
  7. License: Redistributable, no modification permitted
  8. URL: http://intellinuxwireless.org/
  9. Source0: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6050-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 iwl6050 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 permission
  21. find . -type f -exec chmod 0644 {} ';'
  22. # Change encoding
  23. sed -i 's/\r//' LICENSE.iwlwifi-6050-ucode README.iwlwifi-6050-ucode
  24. # Rename docs
  25. mv LICENSE.iwlwifi-6050-ucode ../LICENSE
  26. mv README.iwlwifi-6050-ucode ../README
  27. # Preserve timestamp
  28. touch -r *.ucode ../LICENSE ../README
  29. %build
  30. # Nothing to build
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. mkdir -p $RPM_BUILD_ROOT/lib/firmware
  34. install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc LICENSE README
  40. /lib/firmware/*.ucode
  41. %changelog
  42. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9.201.4.1-1
  43. - initial build for Vine Linux
  44. * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-2
  45. - Cleanse permissions of extracted files
  46. * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-1
  47. - Initial import