[iwl100-firmware] Initial import (#672955)

John W. Linville linville at fedoraproject.org
Thu Feb 3 18:24:33 UTC 2011


commit 5abfaf925aa480c108bf419b5ab6712005133636
Author: John W. Linville <linville at tuxdriver.com>
Date:   Thu Feb 3 13:24:14 2011 -0500

    Initial import (#672955)

 .gitignore           |    1 +
 iwl100-firmware.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9bde48e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/iwlwifi-100-ucode-39.31.5.1.tgz
diff --git a/iwl100-firmware.spec b/iwl100-firmware.spec
new file mode 100644
index 0000000..d92d140
--- /dev/null
+++ b/iwl100-firmware.spec
@@ -0,0 +1,64 @@
+Name:           iwl100-firmware
+Version:        39.31.5.1
+Release:        1%{?dist}
+Summary:        Firmware for Intel(R) Wireless WiFi Link 100 Series Adapters
+
+Group:          System Environment/Kernel
+License:        Redistributable, no modification permitted
+URL:            http://intellinuxwireless.org/
+Source0:        http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-100-ucode-%{version}.tgz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+
+Requires:       udev
+
+
+%description
+This package contains the firmware required by the iwlagn driver
+for Linux to support the iwl100 hardware.  Usage of the firmware
+is subject to the terms and conditions contained inside the provided
+LICENSE file. Please read it carefully.
+
+%prep
+%setup -c -q
+
+# Change permission
+find . -type f -exec chmod 0644 {} ';'
+
+pushd iwlwifi-100-ucode-%{version}
+# Change encoding
+sed -i 's/\r//'  LICENSE.iwlwifi-100-ucode README.iwlwifi-100-ucode
+# Rename docs
+mv LICENSE.iwlwifi-100-ucode ../LICENSE
+mv README.iwlwifi-100-ucode ../README
+# Preserve timestamp
+touch -r *.ucode ../LICENSE ../README
+popd
+
+
+%build
+# Nothing to build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/lib/firmware
+pushd iwlwifi-100-ucode-%{version}
+install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
+popd
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README
+/lib/firmware/*.ucode
+
+
+%changelog
+* Wed Jan 26 2011 John W. Linville <linville at redhat.com> - 39.31.5.1-1
+- Initial import
diff --git a/sources b/sources
index e69de29..b7b7f68 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b686f0ab94888ccca3ce74d2d6ee1133  iwlwifi-100-ucode-39.31.5.1.tgz


More information about the scm-commits mailing list