]> git.pld-linux.org Git - packages/linux-firmware.git/blame - linux-firmware.spec
- preserve timestamps
[packages/linux-firmware.git] / linux-firmware.spec
CommitLineData
4df55c66
AM
1Summary: Firmware files used by the Linux kernel
2Name: linux-firmware
97406b15 3Version: 20110518
4df55c66
AM
4Release: 1
5License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
6Group: Base/Kernel
7URL: http://www.kernel.org/
8Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2
97406b15 9# Source0-md5: 3b215b5ec9a5e8784dd971c039e9b948
4df55c66
AM
10Requires: udev
11Provides: kernel-firmware = %{version}
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Kernel-firmware includes firmware files required for some devices to
17operate.
18
19%prep
20%setup -q
21
22%build
23# Remove firmware shipped in separate packages already
24# Perhaps these should be built as subpackages of linux-firmware?
25rm ql2???_fw.bin LICENCE.qla2xxx
26rm iwlwifi-*.ucode LICENCE.iwlwifi_firmware
27
28# Remove source files we don't need to install
29rm -f usbdux/*dux */*.asm
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT/lib/firmware
94471f9c
ER
34cp -a . $RPM_BUILD_ROOT/lib/firmware
35%{__rm} $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*}
4df55c66
AM
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
4df55c66
AM
40%files
41%defattr(644,root,root,755)
42%doc WHENCE LICENCE.* LICENSE.*
43/lib/firmware/*
This page took 0.108529 seconds and 4 git commands to generate.