source: projects/specs/trunk/i/iwlwifi-1000-ucode/iwlwifi-1000-ucode-vl.spec @ 3615

Revision 3615, 2.3 KB checked in by daisuke, 13 years ago (diff)

update to upstream 39.31.5.1, add epoch...

Line 
1%define iwl1000_v3         128.50.3.1
2%define iwl1000_v5         39.31.5.1
3%define iwl1000_list       %{iwl1000_v3} %{iwl1000_v5}
4
5Name:           iwlwifi-1000-ucode
6Epoch:          1
7Version:        %{iwl1000_v5}
8Release:        1%{?_dist_release}
9Summary:        Firmware for Intel® PRO/Wireless 1000 B/G/N network adaptors
10Summary(ja):    Intel® PRO/Wireless 1000 B/G/N ネットワークアダプタ用ファームウェア
11
12Group:          System Environment/Kernel
13License:        Redistributable, no modification permitted
14URL:            http://intellinuxwireless.org/
15
16Source0: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1000-ucode-%{iwl1000_v5}.tgz
17Source1: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1000-ucode-%{iwl1000_v3}.tgz
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
20BuildArch:      noarch
21Requires:       udev
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: daisuke
26
27%description
28This package contains the firmware required by the iwlagn driver
29for Linux to support the iwl1000 hardware.  Usage of the firmware
30is subject to the terms and conditions contained inside the provided
31LICENSE file. Please read it carefully.
32
33%prep
34%setup -c -q
35%setup -c -q -D -T -a 1
36
37pushd iwlwifi-1000-ucode-%{version}
38# Change encoding
39sed -i 's/\r//'  LICENSE.iwlwifi-1000-ucode README.iwlwifi-1000-ucode
40# Rename docs
41mv LICENSE.iwlwifi-1000-ucode ../LICENSE
42mv README.iwlwifi-1000-ucode ../README
43# Preserve timestamp
44touch -r *.ucode ../LICENSE ../README
45popd
46
47
48%build
49# Nothing to build
50
51
52%install
53rm -rf $RPM_BUILD_ROOT
54mkdir -p $RPM_BUILD_ROOT/lib/firmware
55for f in %{iwl1000_list} ; do
56 pushd iwlwifi-1000-ucode-$f
57  install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
58 popd
59done
60
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65
66%files
67%defattr(-,root,root,-)
68%doc LICENSE README
69/lib/firmware/*.ucode
70
71
72%changelog
73* Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1:39:31.5.1-1
74- update to upstream version 39.31.5.1
75- add logic to preserve version 128.50.3.1 for older kernels
76- add Epoch: to account for Intel's bizarre release numbering
77
78* Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 128.50.3.1-1
79- initial build for Vine Linux
80
81* Tue Nov 10 2009 John W. Linville <linville@tuxdriver.com> - 128.50.3.1-2
82- Add Requires for udev
83
84* Wed Sep 16 2009 John W. Linville <linville@tuxdriver.com> - 128.50.3.1-1
85- Initial import
Note: See TracBrowser for help on using the repository browser.