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