kernel-firmware/kernel-firmware.spec
Jeff Mahoney a153bdb6b7 Accepting request 183131 from home:jeff_mahoney:branches:Kernel:HEAD
- Updated to git snapshot 2013/7/10
  - Add AMD microcode patch firmware files
  - Add Intel Bluetooth firmware patch files
  - Add firmware files for Creative CA0132 HD-audio codec
  - Add firmware files for mtk mt7630/mt7650 chipsets
  - Add firmware for mwl8k 8764 chip
  - Add go7007 firmware.
  - Add symlinks for old go7007 firmware filenames
  - Fix formatting of LICENCE.ca0132
  - Increment ap firmware API for mwl8k 8366 chip
  - Move sd8688*.bin images into mrvl/ tree
  - Revert "carl9170: Add checksum during installation, as preferred by the driver"
  - add Marvell PCIe8897-B0 WLAN firmware image
  - add Marvell SD8797-B0 firmware image
  - ar3k: add Bluetooth support for QCA98XX/QCA24XX
  - bnx2x: update fw to 7.8.17
  - cx231xx/cx23885: Remove incorrect Conexant CX23885 firmware
  - iwlwifi: add firmware for 7260 / 3160 devices
  - netxen_nic: Add FTP location of phanfw.bin in WHENCE file
  - netxen_nic: Update QLogic phanfw.bin to version 4.0.590
  - radeon: add ucode for OLAND GPUs
  - radeon: add ucode for SUN/HAINAN GPUs
  - radeon: add updated ucode for UVD
  - rp2: Initial commit of Comtrol RocketPort 2 microcode
  - rtl_nic: Add firmware rtl8168g-3
  - rtl_nic: add firmware rtl8106e-2
  - rtl_nic: add firmware rtl8411-2
  - rtl_nic: update firmware for RTL8168G
  - rtlwifi/rtl8188ee: Add firmware for new driver
  - tg3: Add EEE support firmware for 57766 cards

OBS-URL: https://build.opensuse.org/request/show/183131
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=64
2013-07-15 15:46:13 +00:00

101 lines
3.1 KiB
RPMSpec

#
# spec file for package kernel-firmware
#
# Copyright (c) 2013 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
BuildRequires: kernel-default
Version: 20130710git
Release: 0
Summary: Linux kernel firmware files
License: SUSE-Firmware and GPL-2.0 and GPL-2.0+ and MIT
Group: System/Kernel
Url: http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git
# Created with git archive | bzip2
Source0: linux-firmware-%{version}.tar.bz2
Source1: firmware.sh
Source2: qlogic.tar.bz2
Source3: iwlwifi-4965-1.ucode
Source4: carl9170-1.fw
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
%define __ksyms_supplements bash %_sourcedir/firmware.sh --cache %{_builddir}/%{?buildsubdir}/find_supplements.cache --find-supplements
%define __ksyms_path ^/lib/firmware
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
%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 -c kernel-firmware -a 2
cp -v %{S:3} iwlwifi-4965-1.ucode
cp -v %{S:4} carl9170-1.fw
%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}
rm -f find_supplements.cache
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc WHENCE README GPL-3 LICENCE.*
/lib/firmware/*
%changelog