1 Summary: iw - utility to show or manipulate wireless devices and their configuration
2 Summary(pl.UTF-8): iw - narzędzie do wyświetlania i modyfikowania konfiguracji urządzeń bezprzewodowych
7 Group: Networking/Admin
8 Source0: http://kernel.org/pub/software/network/iw/%{name}-%{version}.tar.bz2
9 # Source0-md5: 618ad1106a196fb1c3d827de96da437c
10 URL: http://wireless.kernel.org/en/users/Documentation/iw
11 BuildRequires: libnl-devel >= 1:3.2
12 BuildRequires: pkgconfig
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _sbindir /sbin
18 iw is a new nl80211 based CLI configuration utility for wireless
21 %description -l pl.UTF-8
22 iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń
23 narzędzie do konfiguracji urządzeń bezprzewodowych.
28 sed -i -e 's#git rev-parse#false#g' version.sh
32 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40 install iw $RPM_BUILD_ROOT%{_sbindir}
41 install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_sbindir}/iw