source: projects/specs/trunk/i/iwlwifi-6000g2a-ucode/iwlwifi-6000g2a-ucode-vl.spec @ 3623

Revision 3623, 2.1 KB checked in by daisuke, 13 years ago (diff)

iwl-6000g2a-ucode: new package

Line 
1Name:           iwlwifi-6000g2a-ucode
2Version:        17.168.5.2
3Release:        1%{?_dist_release}
4Summary:        Firmware for Intel(R) Wireless WiFi Link 6005 Series Adapters
5Summary(ja):    Intel(R) Wireless WiFi Link 6005 シリーズ用ファームウェア
6
7Group:          System Environment/Kernel
8License:        Redistributable, no modification permitted
9URL:            http://intellinuxwireless.org/
10Source0:        http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2a-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 iwl6000g2a 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-6000g2a-ucode-%{version}
35# Change encoding
36sed -i 's/\r//'  LICENSE.iwlwifi-6000g2a-ucode README.iwlwifi-6000g2a-ucode
37# Rename docs
38mv LICENSE.iwlwifi-6000g2a-ucode ../LICENSE
39mv README.iwlwifi-6000g2a-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-6000g2a-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> 17.168.5.2-1
69- initial build for Vine Linux
70
71* Mon Feb 14 2011 John W. Linville <linville@redhat.com> - 17.168.5.2-1
72- Update to version 17.168.5.2 from upstream
73
74* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.168.5.1-2
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
76
77* Thu Dec 16 2010 John W. Linville <linville@redhat.com> - 17.168.5.1-1
78- Initial import
Note: See TracBrowser for help on using the repository browser.