kernel-firmware/kernel-firmware.spec
OBS User autobuild 7c976af210 Accepting request 21609 from Kernel:HEAD
Copy from Kernel:HEAD/kernel-firmware based on submit request 21609 from user michal-m

OBS-URL: https://build.opensuse.org/request/show/21609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-firmware?expand=0&rev=2
2009-10-03 01:21:11 +00:00

82 lines
3.0 KiB
RPMSpec

#
# spec file for package kernel-firmware (Version 20090821)
#
# 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
BuildRequires: fdupes
Version: 20090821
Release: 1
Summary: Linux kernel firmware files
License: NON-OSI-COMPLIANT(no modification) ; GPL v2 only ; GPL v2 or later ; MIT License (or similar)
Group: System/Kernel
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
Source0: linux-firmware-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Obsoletes: qlogic-firmware
Obsoletes: cxgb3-firmware
Obsoletes: ralink-firmware
Obsoletes: iwl3945-ucode
Obsoletes: iwl4965-ucode
Obsoletes: iwl5000-ucode
Obsoletes: iwl5150-ucode
# supplements from the iwl* packages. We need to find a way how to
# generate this automatically
Supplements: modalias(pci:v00008086d0000422[27]sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004229sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004230sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d0000423Asv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004237sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004236sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004235sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00008086d00004237sv*sd00001216bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd00001326bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd00001306bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd00001206bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd00001305bc*sc*i*)
Supplements: modalias(pci:v00008086d00004232sv*sd00001205bc*sc*i*)
%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
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc WHENCE
/lib/firmware/*
%changelog