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