kernel-firmware/kernel-firmware.spec
Greg Kroah-Hartman 8ab1fef1ca Accepting request 78676 from home:dirkmueller:branches:Kernel:HEAD
- add provides/obsoletes for ath3k-firmware
- Update to 20110731:
  * iwlwifi-6000g2a-5.ucode: Updated to v17.168.5.3
  * ath6kl - Atheros support for AR6003 WiFi-Bluetooth combo module
  * drxk - Micronas DRX-K demodulator driver
  * ene-ub6250 -- ENE UB6250 SD card reader driver
- update qlogic firmware to 5.06.00 (bnc#702696) 
- add iwlwifi-4965-1.ucode (was additionally in iwl4965-ucode
  package before) 
- Add latest firmware (1.3.10.0) for cxgb4 from Chelsio git (bnc#711432)

OBS-URL: https://build.opensuse.org/request/show/78676
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=38
2011-08-12 23:11:16 +00:00

97 lines
2.9 KiB
RPMSpec

#
# spec file for package kernel-firmware
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: kernel-firmware
BuildRequires: fdupes kernel-default
Version: 20110731
Release: 7
Summary: Linux kernel firmware files
License: Distributable in unmodified form; GPL v2 only; GPL v2 or later; X11/MIT
Group: System/Kernel
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/linux-firmware-%{version}.tar.bz2
Source1: firmware.sh
Source2: qlogic.tar.bz2
Source3: iwlwifi-4965-1.ucode
Source4: t4fw.bin
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: qlogic-firmware
Obsoletes: qlogic-firmware
Provides: cxgb3-firmware
Obsoletes: cxgb3-firmware
Provides: ralink-firmware
Obsoletes: ralink-firmware
Provides: iwl1000-ucode
Obsoletes: iwl1000-ucode
Provides: iwl3945-ucode
Obsoletes: iwl3945-ucode
Provides: iwl4965-ucode
Obsoletes: iwl4965-ucode
Provides: iwl5000-ucode
Obsoletes: iwl5000-ucode
Provides: iwl5150-ucode
Obsoletes: iwl5150-ucode
Provides: iwl100-ucode
Obsoletes: iwl100-ucode
Provides: iwl1000-ucode
Obsoletes: iwl1000-ucode
Provides: iwl6000-ucode
Obsoletes: iwl6000-ucode
Provides: iwl6050-ucode
Obsoletes: iwl6050-ucode
Provides: iwl6000g2-ucode
Obsoletes: iwl6000g2-ucode
Provides: ath3k-firmware
Obsoletes: ath3k-firmware
AutoReq: off
%description
This package contains the firmware for in-kernel drivers that was
previously included in the kernel. It is shared by all kernels >=
2.6.27-rc1.
%prep
%setup -q -n linux-firmware-%version -a 2
cp -v %{S:3} iwlwifi-4965-1.ucode
cp -v %{S:4} cxgb4/t4fw.bin
%build
# nothing to do
%install
mkdir -p %{buildroot}/lib/firmware
cp -avf * %{buildroot}/lib/firmware
rm -f %{buildroot}/lib/firmware/WHENCE
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc WHENCE
/lib/firmware/*
%changelog