[SPEC] Firmaware do ipw-2200 Intela

Andrzej Zawadzki zawadaa at wp.pl
Wed Jul 21 00:45:24 CEST 2004


Załączam speca (na podstawie ipw-2100.spec).
Proszę o wrzucenie.

-- 
Andrzej Zawadzki
-------------- next part --------------
# $Revision: 1.3 $, $Date: 2004/07/04 07:26:39 $
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:	1.2
Release:	1
License:	distributable
Group:		System Environment/Kernel
Source0:	http://bughost.org/firmware/ipw2200-fw-1.2.tgz
# Source0-md5:	eb20f3ce94f8b18d5b558b738e410c58
URL:		http://ipw2200.sourceforge.net/firmware.php
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildArch:	noarch

%description
This package contains the firmware for the ipw-2200 driver. Usage of
the firmware is subject to the terms contained in
%{_defaultdocdir}/%{name}-%{version}/LICENSE*. Please read the license
carefully.

%description -l pl
Ten pakiet zawiera firmware dla sterownika ipw-2200. Można go używać
na warunkach zawartych w pliku
%{_defaultdocdir}/%{name}-%{version}/LICENSE*. Proszę uważnie
przeczytać licencję.

%prep
%setup -q -c
gunzip -c ipw2200-fw-%{version}.tgz | tar -xf -

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/firmware
install -d $RPM_BUILD_ROOT%{_libdir}/hotplug/firmware

install -p *.fw $RPM_BUILD_ROOT%{_sysconfdir}/firmware
cd $RPM_BUILD_ROOT%{_sysconfdir}/firmware
for file in *.fw; do
	ln -s %{_sysconfdir}/firmware/$file $RPM_BUILD_ROOT%{_libdir}/hotplug/firmware
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc LICENSE
%{_sysconfdir}/firmware/*.fw
%{_libdir}/hotplug/firmware/*.fw

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org



More information about the pld-devel-pl mailing list