/[packages]/cauldron/kernel-firmware/current/SPECS/kernel-firmware.spec
ViewVC logotype

Contents of /cauldron/kernel-firmware/current/SPECS/kernel-firmware.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 189451 - (show annotations) (download)
Sun Jan 1 14:31:11 2012 UTC (12 years, 2 months ago) by tmb
File size: 2007 byte(s)
fix git url
1 #
2 # This rpm is based on the git tree from:
3 # git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
4 # version is date of the youngest commit
5 #
6
7 Summary: Open source Linux kernel firmware files
8 Name: kernel-firmware
9 Version: 20110703
10 Release: %mkrel 2
11 License: GPLv2 and GPLv2+ and GPLv3
12 Group: System/Kernel and hardware
13 URL: http://www.kernel.org/
14 # linux-firmware tarball is generated from the git tree mentioned
15 # above, by simply cloning it, and doing:
16 # git archive --prefix=linux-firmware/ origin/master | xz > linux-firmware-20110601.tar.xz
17 # or by using the tarball from kernel-firmware-extra directly.
18 #
19 # Then use gen-free-firmware-tarball.sh to generate a free-only tarball
20 # from the full firmware tarball.
21 Source0: linux-firmware-free-%{version}.tar.xz
22 Source1: gen-free-firmware-tarball.sh
23 Conflicts: kernel-firmware-extra < 20111017-1
24 Suggests: kernel-firmware-extra
25 BuildArch: noarch
26
27 %description
28 This package contains all the open source firmware for in-kernel drivers.
29
30 This package includes the firmware for keyspan_pda, dsp56k, pcnet_cs,
31 3c589_cs, 3c574_cs, serial_cs, dvb-ttpci (base), usbdux.
32
33 Other firmware is contained in the radeon-firmware, iwlwifi-*-ucode,
34 rt*-firmware, and kernel-firmware-extra packages in the nonfree section.
35
36 %prep
37 %setup -q -n linux-firmware-free-%version
38
39 # remove unwanted source files
40 rm -f dsp56k/bootstrap.asm keyspan_pda/*.S
41 rm -rf cis/src
42 rm -f usbdux/*.asm
43 rm -r usbdux
44
45 %install
46 rm -rf %{buildroot}
47 mkdir -p %{buildroot}/lib/firmware
48 cp -avf * %{buildroot}/lib/firmware
49 rm -f %{buildroot}/lib/firmware/{WHENCE,GPL*}
50
51 %clean
52 rm -rf %{buildroot}
53
54 %files
55 %defattr(0644,root,root,0755)
56 %doc WHENCE
57 # Check license before adding/removing files here,
58 # the tarball script is not fault-proof.
59 %dir /lib/firmware/av7110
60 /lib/firmware/av7110/bootcode.bin
61 %dir /lib/firmware/cis
62 /lib/firmware/cis/*.cis
63 %dir /lib/firmware/dsp56k
64 /lib/firmware/dsp56k/bootstrap.bin
65 /lib/firmware/keyspan_pda
66 /lib/firmware/usbdux*_firmware.bin

  ViewVC Help
Powered by ViewVC 1.1.30