source: projects/specs/branches/6/i/iwlwifi-100-ucode/iwlwifi-100-ucode-vl.spec @ 3625

Revision 3625, 1.7 KB checked in by daisuke, 13 years ago (diff)

iwlwifi-100-ucode: new package

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