[2131] | 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 | |
---|
| 7 | Group: System Environment/Kernel |
---|
| 8 | License: Redistributable, no modification permitted |
---|
| 9 | URL: http://intellinuxwireless.org/ |
---|
| 10 | Source0: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6050-ucode-%{version}.tgz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
| 15 | Requires: udev |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | This package contains the firmware required by the iwlagn driver |
---|
| 20 | for Linux to support the iwl6050 hardware. Usage of the firmware |
---|
| 21 | is subject to the terms and conditions contained inside the provided |
---|
| 22 | LICENSE file. Please read it carefully. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q |
---|
| 26 | |
---|
| 27 | # Change permission |
---|
| 28 | find . -type f -exec chmod 0644 {} ';' |
---|
| 29 | |
---|
| 30 | # Change encoding |
---|
| 31 | sed -i 's/\r//' LICENSE.iwlwifi-6050-ucode README.iwlwifi-6050-ucode |
---|
| 32 | # Rename docs |
---|
| 33 | mv LICENSE.iwlwifi-6050-ucode ../LICENSE |
---|
| 34 | mv README.iwlwifi-6050-ucode ../README |
---|
| 35 | # Preserve timestamp |
---|
| 36 | touch -r *.ucode ../LICENSE ../README |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | # Nothing to build |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | mkdir -p $RPM_BUILD_ROOT/lib/firmware |
---|
| 46 | install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/ |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc LICENSE README |
---|
| 56 | /lib/firmware/*.ucode |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %changelog |
---|
| 60 | * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9.201.4.1-1 |
---|
| 61 | - initial build for Vine Linux |
---|
| 62 | |
---|
| 63 | * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-2 |
---|
| 64 | - Cleanse permissions of extracted files |
---|
| 65 | |
---|
| 66 | * Tue Jun 8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-1 |
---|
| 67 | - Initial import |
---|