2009-05-05 04:38:08 +02:00
|
|
|
#
|
2011-02-25 10:27:16 +01:00
|
|
|
# spec file for package kernel-firmware
|
2009-05-05 04:38:08 +02:00
|
|
|
#
|
2013-02-16 18:25:48 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-05-05 04:38:08 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-03-09 23:56:44 +01:00
|
|
|
|
2009-05-05 04:38:08 +02:00
|
|
|
Name: kernel-firmware
|
2011-12-15 14:58:12 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kernel-default
|
2013-02-16 18:25:48 +01:00
|
|
|
Version: 20130114git
|
2011-12-15 14:58:12 +01:00
|
|
|
Release: 0
|
2009-10-03 03:21:11 +02:00
|
|
|
Summary: Linux kernel firmware files
|
2013-02-16 18:25:48 +01:00
|
|
|
License: SUSE-Firmware and GPL-2.0 and GPL-2.0+ and MIT
|
2009-05-05 04:38:08 +02:00
|
|
|
Group: System/Kernel
|
2012-06-05 20:03:23 +02:00
|
|
|
Url: http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git
|
|
|
|
# Created with git archive | bzip2
|
2011-10-26 09:08:55 +02:00
|
|
|
Source0: linux-firmware-%{version}.tar.bz2
|
2010-05-14 22:34:09 +02:00
|
|
|
Source1: firmware.sh
|
2011-08-13 01:11:16 +02:00
|
|
|
Source2: qlogic.tar.bz2
|
|
|
|
Source3: iwlwifi-4965-1.ucode
|
2012-07-10 22:04:00 +02:00
|
|
|
Source4: carl9170-1.fw
|
2010-05-14 22:34:09 +02:00
|
|
|
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
|
2012-06-05 20:03:23 +02:00
|
|
|
|
2011-08-25 18:04:51 +02:00
|
|
|
%define __ksyms_supplements bash %_sourcedir/firmware.sh --cache %{_builddir}/%{?buildsubdir}/find_supplements.cache --find-supplements
|
|
|
|
%define __ksyms_path ^/lib/firmware
|
2009-05-05 04:38:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: qlogic-firmware
|
2009-05-05 04:38:08 +02:00
|
|
|
Obsoletes: qlogic-firmware
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: cxgb3-firmware
|
2009-05-05 04:38:08 +02:00
|
|
|
Obsoletes: cxgb3-firmware
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: ralink-firmware
|
2009-10-03 03:21:11 +02:00
|
|
|
Obsoletes: ralink-firmware
|
2009-10-12 16:59:18 +02:00
|
|
|
Provides: iwl1000-ucode
|
|
|
|
Obsoletes: iwl1000-ucode
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: iwl3945-ucode
|
2009-10-03 03:21:11 +02:00
|
|
|
Obsoletes: iwl3945-ucode
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: iwl4965-ucode
|
2009-10-03 03:21:11 +02:00
|
|
|
Obsoletes: iwl4965-ucode
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: iwl5000-ucode
|
2009-10-03 03:21:11 +02:00
|
|
|
Obsoletes: iwl5000-ucode
|
2009-10-08 18:05:19 +02:00
|
|
|
Provides: iwl5150-ucode
|
2009-10-03 03:21:11 +02:00
|
|
|
Obsoletes: iwl5150-ucode
|
2011-08-04 16:45:34 +02:00
|
|
|
Provides: iwl100-ucode
|
|
|
|
Obsoletes: iwl100-ucode
|
|
|
|
Provides: iwl1000-ucode
|
2011-08-07 19:05:49 +02:00
|
|
|
Obsoletes: iwl1000-ucode
|
2011-08-04 16:45:34 +02:00
|
|
|
Provides: iwl6000-ucode
|
2011-08-07 19:05:49 +02:00
|
|
|
Obsoletes: iwl6000-ucode
|
2011-08-04 16:45:34 +02:00
|
|
|
Provides: iwl6050-ucode
|
2011-08-07 19:05:49 +02:00
|
|
|
Obsoletes: iwl6050-ucode
|
2011-08-04 16:45:34 +02:00
|
|
|
Provides: iwl6000g2-ucode
|
2011-08-07 19:05:49 +02:00
|
|
|
Obsoletes: iwl6000g2-ucode
|
2011-08-13 01:11:16 +02:00
|
|
|
Provides: ath3k-firmware
|
|
|
|
Obsoletes: ath3k-firmware
|
2009-05-05 04:38:08 +02:00
|
|
|
|
|
|
|
%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
|
2012-06-05 20:03:23 +02:00
|
|
|
%setup -q -c kernel-firmware -a 2
|
2011-08-13 01:11:16 +02:00
|
|
|
cp -v %{S:3} iwlwifi-4965-1.ucode
|
2012-07-10 22:04:00 +02:00
|
|
|
cp -v %{S:4} carl9170-1.fw
|
2009-05-05 04:38:08 +02:00
|
|
|
|
2010-04-23 16:12:20 +02:00
|
|
|
%build
|
|
|
|
# nothing to do
|
|
|
|
|
2009-05-05 04:38:08 +02:00
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/lib/firmware
|
|
|
|
cp -avf * %{buildroot}/lib/firmware
|
|
|
|
rm -f %{buildroot}/lib/firmware/WHENCE
|
2010-05-14 22:34:09 +02:00
|
|
|
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
|
2009-10-03 03:21:11 +02:00
|
|
|
%fdupes %{buildroot}
|
2011-08-25 18:04:51 +02:00
|
|
|
rm -f find_supplements.cache
|
2009-05-05 04:38:08 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
2012-08-24 11:13:53 +02:00
|
|
|
%doc WHENCE README GPL-3 LICENCE.*
|
2009-05-05 04:38:08 +02:00
|
|
|
/lib/firmware/*
|
|
|
|
|
|
|
|
%changelog
|