[3623] | 1 | Name: iwlwifi-6000g2a-ucode |
---|
| 2 | Version: 17.168.5.2 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Firmware for Intel(R) Wireless WiFi Link 6005 Series Adapters |
---|
| 5 | Summary(ja): Intel(R) Wireless WiFi Link 6005 シリーズ用ファームウェア |
---|
| 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-6000g2a-ucode-%{version}.tgz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
| 15 | Requires: udev |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: daisuke |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | This package contains the firmware required by the iwlagn driver |
---|
| 24 | for Linux to support the iwl6000g2a hardware. Usage of the firmware |
---|
| 25 | is subject to the terms and conditions contained inside the provided |
---|
| 26 | LICENSE file. Please read it carefully. |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -c -q |
---|
| 30 | |
---|
| 31 | # Change permission |
---|
| 32 | find . -type f -exec chmod 0644 {} ';' |
---|
| 33 | |
---|
| 34 | pushd iwlwifi-6000g2a-ucode-%{version} |
---|
| 35 | # Change encoding |
---|
| 36 | sed -i 's/\r//' LICENSE.iwlwifi-6000g2a-ucode README.iwlwifi-6000g2a-ucode |
---|
| 37 | # Rename docs |
---|
| 38 | mv LICENSE.iwlwifi-6000g2a-ucode ../LICENSE |
---|
| 39 | mv README.iwlwifi-6000g2a-ucode ../README |
---|
| 40 | # Preserve timestamp |
---|
| 41 | touch -r *.ucode ../LICENSE ../README |
---|
| 42 | popd |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | # Nothing to build |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | mkdir -p $RPM_BUILD_ROOT/lib/firmware |
---|
| 52 | pushd iwlwifi-6000g2a-ucode-%{version} |
---|
| 53 | install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/ |
---|
| 54 | popd |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %doc LICENSE README |
---|
| 64 | /lib/firmware/*.ucode |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 17.168.5.2-1 |
---|
| 69 | - initial build for Vine Linux |
---|
| 70 | |
---|
| 71 | * Mon Feb 14 2011 John W. Linville <linville@redhat.com> - 17.168.5.2-1 |
---|
| 72 | - Update to version 17.168.5.2 from upstream |
---|
| 73 | |
---|
| 74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.168.5.1-2 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Thu Dec 16 2010 John W. Linville <linville@redhat.com> - 17.168.5.1-1 |
---|
| 78 | - Initial import |
---|