source: projects/specs/trunk/i/iwlwifi-6050-ucode/iwlwifi-6050-ucode-vl.spec @ 2131

Revision 2131, 1.7 KB checked in by daisuke, 14 years ago (diff)

iwlwifi-6050-ucode: new package, 9.201.4.1-1

Line 
1Name:           iwlwifi-6050-ucode
2Version:        9.201.4.1
3Release:        1%{?_dist_release}
4Summary:        Firmware for Intel(R) Wireless WiFi Link 6050 Series Adapters
5Summary(ja):    Intel(R) Wireless WiFi Link 6050 シリーズアダプタ用ファームウェア
6
7Group:          System Environment/Kernel
8License:        Redistributable, no modification permitted
9URL:            http://intellinuxwireless.org/
10Source0:        http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6050-ucode-%{version}.tgz
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildArch:      noarch
14
15Requires:       udev
16
17
18%description
19This package contains the firmware required by the iwlagn driver
20for Linux to support the iwl6050 hardware.  Usage of the firmware
21is subject to the terms and conditions contained inside the provided
22LICENSE file. Please read it carefully.
23
24%prep
25%setup -q
26
27# Change permission
28find . -type f -exec chmod 0644 {} ';'
29
30# Change encoding
31sed -i 's/\r//'  LICENSE.iwlwifi-6050-ucode README.iwlwifi-6050-ucode
32# Rename docs
33mv LICENSE.iwlwifi-6050-ucode ../LICENSE
34mv README.iwlwifi-6050-ucode ../README
35# Preserve timestamp
36touch -r *.ucode ../LICENSE ../README
37
38
39%build
40# Nothing to build
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45mkdir -p $RPM_BUILD_ROOT/lib/firmware
46install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
47
48
49%clean
50rm -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
Note: See TracBrowser for help on using the repository browser.