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
%define firmware_name ipw2100 Name: firmware-%firmware_name Version: 1.3 Release: alt2 License: distributable Group: System/Kernel and hardware Summary: Firmware for the Intel(R) PRO/Wireless 2100 Driver Source0: %firmware_name-fw-%version.tgz Url: http://%firmware_name.sourceforge.net/firmware.php BuildArch: noarch %description This package contains the firmware for the ipw-2100 driver. Usage of the firmware is subject to the terms contained in /lib/ipw2100-LICENSE. Please read the license carefully. %prep %setup -q -c %__tar -zxvf %SOURCE0 %install install -d $RPM_BUILD_ROOT/lib/firmware install -p *.fw $RPM_BUILD_ROOT/lib/firmware cp -df LICENSE $RPM_BUILD_ROOT/lib/firmware/LICENSE-%firmware_name-fw %files %defattr(644,root,root,755) /lib/firmware/* %changelog * Tue Feb 06 2007 Alexey Shabalin <shaba@altlinux.ru> 1.3-alt2 - drop Requires: hotplug (#9600) - Use /lib/firmware dir without macros - rename LICENSE file * Thu Apr 07 2005 Alexey Shabalin <shaba@altlinux.ru> 1.3-alt1 - init release