1 Summary: nl80211 based CLI
6 Group: Networking/Admin
7 Source0: http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
8 # Source0-md5: 98ba12eceec5a4ae8aa2d51abd56fa14
9 URL: http://wireless.kernel.org/en/users/Documentation/iw
10 BuildRequires: libnl-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _sbindir /sbin
16 iw is a new nl80211 based CLI configuration utility for wireless
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
31 install iw $RPM_BUILD_ROOT%{_sbindir}
32 install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
40 %attr(755,root,root) %{_sbindir}/*