rpms/iwl5150-firmware/F-12 iwl5150-firmware.spec,NONE,1.1

John W. Linville linville at fedoraproject.org
Wed Jan 27 15:25:33 UTC 2010


Author: linville

Update of /cvs/pkgs/rpms/iwl5150-firmware/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21838

Added Files:
	iwl5150-firmware.spec 
Log Message:
Initial import (#559253).


--- NEW FILE iwl5150-firmware.spec ---
Name:           iwl5150-firmware
Version:        8.24.2.2
Release:        1%{?dist}
Summary:        Firmware for Intel® Wireless 5150 A/G/N network adaptors

Group:          System Environment/Kernel
License:        Redistributable, no modification permitted
URL:            http://intellinuxwireless.org/
Source0:        http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5150-ucode-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch

Requires:       udev


%description
This package contains the firmware required by the iwlagn driver
for Linux to support the iwl5150 hardware.  Usage of the firmware
is subject to the terms and conditions contained inside the provided
LICENSE file. Please read it carefully.

%prep
%setup -c -q

pushd iwlwifi-5150-ucode-%{version}
# Change encoding
sed -i 's/\r//'  LICENSE.iwlwifi-5150-ucode README.iwlwifi-5150-ucode
# Rename docs
mv LICENSE.iwlwifi-5150-ucode ../LICENSE
mv README.iwlwifi-5150-ucode ../README
# Preserve timestamp
touch -r *.ucode ../LICENSE ../README
popd


%build
# Nothing to build


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/lib/firmware
pushd iwlwifi-5150-ucode-%{version}
install -pm 0644 *.ucode $RPM_BUILD_ROOT/lib/firmware/
popd


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README
/lib/firmware/*.ucode


%changelog
* Mon Jan 25 2010 John W. Linville <linville at tuxdriver.com> - 8.24.2.2-1
- Initial import



More information about the scm-commits mailing list