3 # - separate old firmware's to some compat subpackage?
5 Summary: Firmware for the Intel(R) PRO/Wireless 2200 Driver
6 Summary(pl.UTF-8): Firmware dla sterownika do kart Intel(R) PRO/Wireless 2200
10 License: distributable
11 Group: System Environment/Kernel
12 Source0: http://bughost.org/firmware/ipw2200-fw-%{version}.tgz
13 # Source0-md5: eaba788643c7cc7483dd67ace70f6e99
14 Source1: ipw2x00_firmware_licence_Q_A.txt
15 Source22: http://bughost.org/firmware/ipw2200-fw-2.2.tgz
16 # Source22-md5: 6892abab05d5391c08933e19b49b86b5
17 Source23: http://bughost.org/firmware/ipw2200-fw-2.3.tgz
18 # Source23-md5: 487ba63b1bf98bc1e38059b6d3abea44
19 Source24: http://bughost.org/firmware/ipw2200-fw-2.4.tgz
20 # Source24-md5: a5bc066d23900852a04711c5d33987d4
21 Source31: http://bughost.org/firmware/ipw2200-fw-3.1.tgz
22 # Source31-md5: eaba788643c7cc7483dd67ace70f6e99
23 URL: http://ipw2200.sourceforge.net/firmware.php
25 Provides: ipw2200-firmware = 2.2
26 Provides: ipw2200-firmware = 2.3
27 Provides: ipw2200-firmware = 2.4
28 Provides: ipw2200-firmware = 3.1
29 Obsoletes: ipw2200-firmware2.2
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This package contains the firmware for the ipw-2200 driver. Usage of
34 the firmware is subject to the terms contained in
35 /lib/firmware/ipw2200-LICENSE. Please read the license carefully.
37 %description -l pl.UTF-8
38 Ten pakiet zawiera firmware dla sterownika ipw-2200. Można go używać
39 na warunkach zawartych w pliku /lib/firmware/ipw2200-LICENSE. Proszę
40 uważnie przeczytać licencję.
43 %setup -q -c -a22 -a23 -a24 -a31
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT/lib/firmware
50 install -p ipw2200-fw-%{version}/*.fw $RPM_BUILD_ROOT/lib/firmware
51 install -p ipw2200-fw-%{version}/LICENSE.ipw2200-fw $RPM_BUILD_ROOT/lib/firmware/ipw2200-LICENSE
53 # Firmwares 2.2, 2.3 and 2.4:
54 install -p *-2.2-*.fw $RPM_BUILD_ROOT/lib/firmware
55 install -p *-2.3-*.fw $RPM_BUILD_ROOT/lib/firmware
56 install -p *-2.4-*.fw $RPM_BUILD_ROOT/lib/firmware
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc ipw2x00_firmware_licence_Q_A.txt
64 /lib/firmware/ipw2200-LICENSE