iwlwifi-6050-ucode-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: iwlwifi-6050-ucode
  2. Version: 41.28.5.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. Source1: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6050-ucode-9.201.4.1.tgz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. Requires: udev
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: daisuke
  17. %description
  18. This package contains the firmware required by the iwlagn driver
  19. for Linux to support the iwl6050 hardware. Usage of the firmware
  20. is subject to the terms and conditions contained inside the provided
  21. LICENSE file. Please read it carefully.
  22. %prep
  23. %setup -c -q -a 1
  24. # Change permission
  25. find . -type f -exec chmod 0644 {} ';'
  26. pushd iwlwifi-6050-ucode-%{version}
  27. # Change encoding
  28. sed -i 's/\r//' LICENSE.iwlwifi-6050-ucode README.iwlwifi-6050-ucode
  29. # Rename docs
  30. mv LICENSE.iwlwifi-6050-ucode ../LICENSE
  31. mv README.iwlwifi-6050-ucode ../README
  32. # Preserve timestamp
  33. touch -r *.ucode ../LICENSE ../README
  34. popd
  35. %build
  36. # Nothing to build
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT/lib/firmware
  40. install -pm 0644 */*.ucode $RPM_BUILD_ROOT/lib/firmware/
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc LICENSE README
  46. /lib/firmware/*.ucode
  47. %changelog
  48. * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 41.28.5.1-1
  49. - add 41.28.5.1 (iwlwidi-6050-5.ucode)
  50. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9.201.4.1-1
  51. - initial build for Vine Linux
  52. * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-2
  53. - Cleanse permissions of extracted files
  54. * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-1
  55. - Initial import