]> git.pld-linux.org Git - packages/linux-firmware.git/blob - linux-firmware.spec
- up to 20100604
[packages/linux-firmware.git] / linux-firmware.spec
1 Summary:        Firmware files used by the Linux kernel
2 Name:           linux-firmware
3 Version:        20100604
4 Release:        1
5 License:        GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
6 Group:          Base/Kernel
7 URL:            http://www.kernel.org/
8 Source0:        ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2
9 # Source0-md5:  aa296873d60fa8f6e0b221ad05924806
10 Requires:       udev
11 Provides:       kernel-firmware = %{version}
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Kernel-firmware includes firmware files required for some devices to
17 operate.
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?
25 rm ql2???_fw.bin LICENCE.qla2xxx
26 rm iwlwifi-*.ucode LICENCE.iwlwifi_firmware
27
28 # Remove source files we don't need to install
29 rm -f usbdux/*dux */*.asm
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT/lib/firmware
34 cp -r * $RPM_BUILD_ROOT/lib/firmware
35 rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40
41 %files
42 %defattr(644,root,root,755)
43 %doc WHENCE LICENCE.* LICENSE.*
44 /lib/firmware/*
This page took 0.029527 seconds and 4 git commands to generate.