Revision 2129,
1.6 KB
checked in by daisuke, 14 years ago
(diff) |
iwlwifi-5150-ucode: new package, 8.24.2.2-1
|
Line | |
---|
1 | Name: iwlwifi-5150-ucode |
---|
2 | Version: 8.24.2.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Firmware for Intel® Wireless 5150 A/G/N network adaptors |
---|
5 | Summary(ja): Intel® Wireless 5150 A/G/N ネットワークアダプタ用ファームウェア |
---|
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-5150-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 iwl5150 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 | # Change encoding |
---|
27 | sed -i 's/\r//' LICENSE.iwlwifi-5150-ucode README.iwlwifi-5150-ucode |
---|
28 | # Rename docs |
---|
29 | mv LICENSE.iwlwifi-5150-ucode ../LICENSE |
---|
30 | mv README.iwlwifi-5150-ucode ../README |
---|
31 | # Preserve timestamp |
---|
32 | touch -r *.ucode ../LICENSE ../README |
---|
33 | |
---|
34 | |
---|
35 | %build |
---|
36 | # Nothing to build |
---|
37 | |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | mkdir -p $RPM_BUILD_ROOT/lib/firmware |
---|
42 | install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/ |
---|
43 | |
---|
44 | |
---|
45 | %clean |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | |
---|
48 | |
---|
49 | %files |
---|
50 | %defattr(-,root,root,-) |
---|
51 | %doc LICENSE README |
---|
52 | /lib/firmware/*.ucode |
---|
53 | |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 8.24.2.2-1 |
---|
57 | - initial build for Vine Linux |
---|
58 | |
---|
59 | * Mon Jan 25 2010 John W. Linville <linville@tuxdriver.com> - 8.24.2.2-1 |
---|
60 | - Initial import |
---|
Note: See
TracBrowser
for help on using the repository browser.