1 Summary: nl80211 based CLI
6 Group: Networking/Admin
7 Source0: http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
8 # Source0-md5: 3b88743f9c6ce8a7e2f5fd7d18fdea42
9 URL: http://wireless.kernel.org/en/users/Documentation/iw
10 BuildRequires: libnl-devel
11 BuildRequires: pkgconfig
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _sbindir /sbin
17 iw is a new nl80211 based CLI configuration utility for wireless
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
32 install iw $RPM_BUILD_ROOT%{_sbindir}
33 install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_sbindir}/*