2009-05-05 04:38:08 +02:00
|
|
|
#
|
2010-02-19 16:42:47 +01:00
|
|
|
# spec file for package kernel-firmware (Version 20091215)
|
2009-05-05 04:38:08 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 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
|
2009-10-03 03:21:11 +02:00
|
|
|
BuildRequires: fdupes
|
2010-03-05 11:10:37 +01:00
|
|
|
Version: 20091215
|
2010-02-19 16:42:47 +01:00
|
|
|
Release: 1
|
2009-10-03 03:21:11 +02:00
|
|
|
Summary: Linux kernel firmware files
|
2010-02-19 16:42:47 +01:00
|
|
|
License: NON-OSI-COMPLIANT(no modification) ; GPLv2 ; GPLv2+ ; MIT License (or similar)
|
2009-05-05 04:38:08 +02:00
|
|
|
Group: System/Kernel
|
2009-10-03 03:21:11 +02:00
|
|
|
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
|
2009-05-05 04:38:08 +02:00
|
|
|
Source0: linux-firmware-%{version}.tar.bz2
|
2009-10-08 18:05:19 +02:00
|
|
|
# remember to run this after each update and after each major kernel update
|
|
|
|
Source1: firmware-supplements.sh
|
|
|
|
Source2: firmware-supplements.txt
|
2010-03-05 11:10:37 +01:00
|
|
|
%define __find_supplements cat %_sourcedir/firmware-supplements.txt
|
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
|
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
|
|
|
|
%setup -q -n linux-firmware-%{version}
|
|
|
|
## remove unwanted source files
|
|
|
|
#rm -f dsp56k/bootstrap.asm keyspan_pda/*.S
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/lib/firmware
|
|
|
|
cp -avf * %{buildroot}/lib/firmware
|
|
|
|
rm -f %{buildroot}/lib/firmware/WHENCE
|
2009-10-03 03:21:11 +02:00
|
|
|
%fdupes %{buildroot}
|
2009-05-05 04:38:08 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc WHENCE
|
|
|
|
/lib/firmware/*
|
|
|
|
|
|
|
|
%changelog
|