1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
%define firmware_name ql2400 %define firmware_fname1 ql2400_fw.bin %define firmware_fname2 ql2400_fw.bin_mid Name: firmware-%firmware_name Version: 4.4.5 Release: alt1 License: distributable Group: System/Kernel and hardware Summary: Firmware for the QLogic HBAs, based on ISP24xx chips (qla2xxx driver) Source0: %firmware_fname1.4.4.5 Source1: %firmware_fname2.4.4.5 Source10: %firmware_name-LICENSE Source11: %firmware_name-README Url: ftp://ftp.qlogic.com/outgoing/linux/firmware BuildArch: noarch Requires: hotplug %description This package contains the firmware for the QLogic HBAs, based on ISP24xx chips (qla2xxx driver). Usage of the firmware is subject to the terms contained in %_docdir/%name-%version/%firmware_name-LICENSE. Please read the license carefully. %install %__install -d %buildroot/lib/firmware %__install -d %buildroot/%_docdir/%name-%version %__install -m644 %SOURCE0 %buildroot/lib/firmware/%firmware_fname1.4.4.5 %__install -m644 %SOURCE1 %buildroot/lib/firmware/%firmware_fname2.4.4.5 %__install -m644 %SOURCE10 %buildroot/%_docdir/%name-%version/ %__install -m644 %SOURCE11 %buildroot/%_docdir/%name-%version/ pushd %buildroot/lib/firmware ln -s %firmware_fname1.4.4.5 %firmware_fname1 popd %files /lib/firmware/%firmware_fname1 /lib/firmware/%firmware_fname1.4.4.5 /lib/firmware/%firmware_fname2.4.4.5 %dir %_docdir/%name-%version %_docdir/%name-%version/%firmware_name-LICENSE %_docdir/%name-%version/%firmware_name-README %changelog * Tue Oct 14 2008 Dmitry Lebkov <dlebkov@altlinux.ru> 4.4.5-alt1 - 4.4.5 - fix firmware installation path on x86_64 - add README and new version of firmware * Sun Mar 18 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 4.0.27-alt1 - 4.0.27 * Mon Jan 08 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 4.0.26-alt1 - initial release