Browse Source

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

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2131 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
0db570df87
1 changed files with 67 additions and 0 deletions
  1. 67 0
      i/iwlwifi-6050-ucode/iwlwifi-6050-ucode-vl.spec

+ 67 - 0
i/iwlwifi-6050-ucode/iwlwifi-6050-ucode-vl.spec

@@ -0,0 +1,67 @@
+Name:           iwlwifi-6050-ucode
+Version:        9.201.4.1
+Release:        1%{?_dist_release}
+Summary:        Firmware for Intel(R) Wireless WiFi Link 6050 Series Adapters
+Summary(ja):    Intel(R) Wireless WiFi Link 6050 シリーズアダプタ用ファームウェア
+
+Group:          System Environment/Kernel
+License:        Redistributable, no modification permitted
+URL:            http://intellinuxwireless.org/
+Source0:        http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6050-ucode-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch:      noarch
+
+Requires:       udev
+
+
+%description
+This package contains the firmware required by the iwlagn driver
+for Linux to support the iwl6050 hardware.  Usage of the firmware
+is subject to the terms and conditions contained inside the provided
+LICENSE file. Please read it carefully.
+
+%prep
+%setup -q
+
+# Change permission
+find . -type f -exec chmod 0644 {} ';'
+
+# Change encoding
+sed -i 's/\r//'  LICENSE.iwlwifi-6050-ucode README.iwlwifi-6050-ucode
+# Rename docs
+mv LICENSE.iwlwifi-6050-ucode ../LICENSE
+mv README.iwlwifi-6050-ucode ../README
+# Preserve timestamp
+touch -r *.ucode ../LICENSE ../README
+
+
+%build
+# Nothing to build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/lib/firmware
+install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README
+/lib/firmware/*.ucode
+
+
+%changelog
+* Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 9.201.4.1-1
+- initial build for Vine Linux
+
+* Tue Jun  8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-2
+- Cleanse permissions of extracted files
+
+* Tue Jun  8 2010 John W. Linville <linville@tuxdriver.com> - 9.201.4.1-1
+- Initial import