SPECS: ipw2200-firmware.spec - release 2 - make this package multi...
blues
blues at pld-linux.org
Tue May 9 15:21:24 CEST 2006
Author: blues Date: Tue May 9 13:21:24 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- release 2 - make this package multi-firmware. Allow the safe upgrade of
firmware package and use of different kernels with different modules.
Maybe STBR to AC?
---- Files affected:
SPECS:
ipw2200-firmware.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/ipw2200-firmware.spec
diff -u SPECS/ipw2200-firmware.spec:1.11 SPECS/ipw2200-firmware.spec:1.12
--- SPECS/ipw2200-firmware.spec:1.11 Mon Apr 10 13:58:20 2006
+++ SPECS/ipw2200-firmware.spec Tue May 9 15:21:19 2006
@@ -1,21 +1,30 @@
# $Revision$, $Date$
#
-# TODO: - add the license to the firmware directory
-# - prepare multiversion 2.4 & 3.0 packages or %name24 for out of kernel
-# ipw2200 module (the one from 2.6.16.2 needs 2.4 firmware)
+# TODO:
+# - separate old firmware's to some compat subpackage?
#
Summary: Firmware for the Intel(R) PRO/Wireless 2200 Driver
Summary(pl): Firmware dla sterownika do kart Intel(R) PRO/Wireless 2200
Name: ipw2200-firmware
Version: 3.0
-Release: 1
+Release: 2
License: distributable
Group: System Environment/Kernel
Source0: http://bughost.org/firmware/ipw2200-fw-%{version}.tgz
# Source0-md5: 34a5ed3702006f5470ebfd513e04d9eb
Source1: ipw2x00_firmware_licence_Q_A.txt
+Source2: http://bughost.org/firmware/ipw2200-fw-2.2.tgz
+# Source2-md5: 6892abab05d5391c08933e19b49b86b5
+Source3: http://bughost.org/firmware/ipw2200-fw-2.3.tgz
+# Source3-md5: 487ba63b1bf98bc1e38059b6d3abea44
+Source4: http://bughost.org/firmware/ipw2200-fw-2.4.tgz
+# Source4-md5: a5bc066d23900852a04711c5d33987d4
URL: http://ipw2200.sourceforge.net/firmware.php
BuildArch: noarch
+Provides: ipw2200-firmware = 2.2
+Provides: ipw2200-firmware = 2.3
+Provides: ipw2200-firmware = 2.4
+Obsoletes: ipw2200-firmware2.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -29,14 +38,20 @@
uważnie przeczytać licencję.
%prep
-%setup -q -c
+%setup -q -c -a2 -a3 -a4
cp %{SOURCE1} .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/lib/firmware
-install -p ipw2200-fw-3.0/*.fw $RPM_BUILD_ROOT/lib/firmware
+install -p ipw2200-fw-%{version}/*.fw $RPM_BUILD_ROOT/lib/firmware
+install -p ipw2200-fw-%{version}/LICENSE.ipw2200-fw $RPM_BUILD_ROOT/lib/firmware/ipw2200-LICENSE
+
+# Firmwares 2.2, 2.3 and 2.4:
+install -p *-2.2-*.fw $RPM_BUILD_ROOT/lib/firmware
+install -p *-2.3-*.fw $RPM_BUILD_ROOT/lib/firmware
+install -p *-2.4-*.fw $RPM_BUILD_ROOT/lib/firmware
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,6 +59,7 @@
%files
%defattr(644,root,root,755)
%doc ipw2x00_firmware_licence_Q_A.txt
+/lib/firmware/ipw2200-LICENSE
/lib/firmware/*.fw
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -52,6 +68,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2006/05/09 13:21:19 blues
+- release 2 - make this package multi-firmware. Allow the safe upgrade of
+ firmware package and use of different kernels with different modules.
+ Maybe STBR to AC?
+
Revision 1.11 2006/04/10 11:58:20 mguevara
- todo added - some legal stuff
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ipw2200-firmware.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list