Jeff Mahoney
fcf1140d18
- brcm: add bcm4334 firmware for brcmfmac - r8712u: Update to latest firmware - rtl_nic: update firmware for RTL8168G - Add syscfg and patch files for AR3002 2.2.1 - rtl_nic: add new firmware for RTL8168G, RTL8106E, RTL8411, RTL8168F - ar3k: add patch and sysconfig for Qualcomm Atheros AR9462 - rtlwifi: rtl8192ce: rtl8192se: rtl8192de: Update to rtl_92ce_92se_92de_linux_mac80211_0004.0816.2011 driver - wl18xx: add firmware for WiLink8 WLAN chips - wl127x/wl128x: add new firmware series as version 5 - rt2800pci:Firmware update v1 - cxgb4: update firmware to revision 1.4.23.0 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=55
101 lines
3.0 KiB
RPMSpec
101 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package kernel-firmware
|
|
#
|
|
# Copyright (c) 2012 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: 20120719git
|
|
Release: 0
|
|
Summary: Linux kernel firmware files
|
|
License: SUSE-Firmware ; GPL-2.0 ; GPL-2.0+ ; 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
|
|
/lib/firmware/*
|
|
|
|
%changelog
|