iwlwifi-1000-ucode-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Name: iwlwifi-1000-ucode
  2. Version: 128.50.3.1
  3. Release: 1%{?_dist_release}
  4. Summary: Firmware for Intel® PRO/Wireless 1000 B/G/N network adaptors
  5. Summary(ja): Intel® PRO/Wireless 1000 B/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-1000-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 iwl1000 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-1000-ucode README.iwlwifi-1000-ucode
  22. # Rename docs
  23. mv LICENSE.iwlwifi-1000-ucode ../LICENSE
  24. mv README.iwlwifi-1000-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> 128.50.3.1-1
  41. - initial build for Vine Linux
  42. * Tue Nov 10 2009 John W. Linville <linville@tuxdriver.com> - 128.50.3.1-2
  43. - Add Requires for udev
  44. * Wed Sep 16 2009 John W. Linville <linville@tuxdriver.com> - 128.50.3.1-1
  45. - Initial import