Group :: Sistema/Kernel e hardware
RPM: firmware-ipw2200
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define firmware_name ipw2200
Name: firmware-%firmware_name
Version: 3.1
Release: alt1
License: distributable
Group: System/Kernel and hardware
Summary: Firmware for the Intel(R) PRO/Wireless 2200 Driver
Source0: %firmware_name-fw-%version.tgz
Url: http://%firmware_name.sourceforge.net/firmware.php
BuildArch: noarch
Provides: firmware-%firmware_name = %version
Provides: firmware-%firmware_name-3.0 = %version
Obsoletes: firmware-%firmware_name-3.0
%description
This package contains the firmware for the ipw-2200 driver. Usage of
the firmware is subject to the terms contained in /lib/LICENSE.ipw2200-fw
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.ipw2200-fw $RPM_BUILD_ROOT/lib/firmware/
%files
%defattr(644,root,root,755)
/lib/firmware/*
%changelog
…
Todas as alterações você pod ver aqui
%define firmware_name ipw2200
Name: firmware-%firmware_name
Version: 3.1
Release: alt1
License: distributable
Group: System/Kernel and hardware
Summary: Firmware for the Intel(R) PRO/Wireless 2200 Driver
Source0: %firmware_name-fw-%version.tgz
Url: http://%firmware_name.sourceforge.net/firmware.php
BuildArch: noarch
Provides: firmware-%firmware_name = %version
Provides: firmware-%firmware_name-3.0 = %version
Obsoletes: firmware-%firmware_name-3.0
%description
This package contains the firmware for the ipw-2200 driver. Usage of
the firmware is subject to the terms contained in /lib/LICENSE.ipw2200-fw
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.ipw2200-fw $RPM_BUILD_ROOT/lib/firmware/
%files
%defattr(644,root,root,755)
/lib/firmware/*
%changelog
…
Todas as alterações você pod ver aqui