Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > a1d9abd785f622fde43a72936f8345ac > files > 1

wireless-tools-22-1mdk.src.rpm

Summary: Wireless ethernet configuration tools
Group: System/Kernel and hardware
License: GPL
Name: wireless-tools
Version: 22
Release: 1mdk
URL: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
Source: http://pcmcia-cs.sourceforge.net/ftp/contrib/wireless_tools.%{version}.tar.bz2
Patch0: wireless_tools.22-glibc22.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This package contain the Wireless tools, used to manipulate
the Wireless Extensions. The Wireless Extension is an interface
allowing you to set Wireless LAN specific parameters and get the
specific stats for wireless networking equipment.

This is specifically useful since it allows manipulation of encryption
parameters possible with the GPL WaveLAN cards.

%prep
%setup -n wireless_tools.%{version}
%patch0 -p1

%build
%make clean
%make "CFLAGS=$RPM_OPT_FLAGS  -DGLIBC_HEADERS -DGLIBC22_HEADERS"

%install
rm -rf $RPM_BUILD_ROOT

chmod a+r *

mkdir -p $RPM_BUILD_ROOT/sbin
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8

for binary in iwconfig iwspy iwpriv ; do
   install -m 755 $binary $RPM_BUILD_ROOT/sbin
   install -m 644 $binary.8 $RPM_BUILD_ROOT%{_mandir}/man8
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README INSTALL
/sbin/*
%{_mandir}/man*/*

%changelog
* Fri Nov 30 2001 Frederic Lepied <flepied@mandrakesoft.com> 22-1mdk
- 22

* Sat Sep 29 2001 Frederic Lepied <flepied@mandrakesoft.com> 21-2mdk
- correct doc file permissions

* Fri Jun  1 2001 Frederic Lepied <flepied@mandrakesoft.com> 21-1mdk
- 21

* Mon Mar 12 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 20-4mdk
- Fix build with glibc 2.2.2's more strict headers (add patch 0)

* Sun Feb 11 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 20-3mdk
- Use RPM_OPT_FLAGS

* Fri Jan 12 2001 Frederic Lepied <flepied@mandrakesoft.com> 20-2mdk
- moved from contrib

* Mon Dec 04 2000 Lenny Cartier <lenny@mandrakesoft.com> 20-1mdk
- new in contribs
- used srpm from Kyle VanderBeek <kylev@yaga.com> 20-1mdk
	- First spec file for Mandrake distribution.