kernel-firmware/kernel-firmware.spec

61 lines
1.7 KiB
RPMSpec

#
# spec file for package kernel-firmware (Version 20090421)
#
# 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/
#
Summary: Linux kernel firmware files
Name: kernel-firmware
Version: 20090421
Release: 2
License: Distributable in unmodified form; GPL v2 only; GPL v2 or later; X11/MIT
Group: System/Kernel
Url: www.kernel.org
Source0: linux-firmware-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Obsoletes: qlogic-firmware
Obsoletes: cxgb3-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 -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
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc WHENCE
/lib/firmware/*
%changelog
* Thu Apr 23 2009 gregkh@suse.de
- initial package