]>
Commit | Line | Data |
---|---|---|
f0a9bdd1 JB |
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 | |
6da01a44 | 3 | Name: iw |
c89aec45 | 4 | Version: 6.7 |
32802e89 | 5 | Release: 1 |
6da01a44 AM |
6 | License: BSD |
7 | Group: Networking/Admin | |
f923a254 | 8 | Source0: https://www.kernel.org/pub/software/network/iw/%{name}-%{version}.tar.xz |
c89aec45 | 9 | # Source0-md5: a63e81b0dcae9caf9ed3a20f2c445a07 |
38caff49 | 10 | URL: https://wireless.wiki.kernel.org/en/users/Documentation/iw |
93793d95 | 11 | BuildRequires: libnl-devel >= 1:3.2 |
220b3382 | 12 | BuildRequires: pkgconfig |
f923a254 JB |
13 | BuildRequires: tar >= 1:1.22 |
14 | BuildRequires: xz | |
6da01a44 AM |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %define _sbindir /sbin | |
18 | ||
19 | %description | |
20 | iw is a new nl80211 based CLI configuration utility for wireless | |
21 | devices. | |
22 | ||
f0a9bdd1 JB |
23 | %description -l pl.UTF-8 |
24 | iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń | |
25 | narzędzie do konfiguracji urządzeń bezprzewodowych. | |
26 | ||
6da01a44 AM |
27 | %prep |
28 | %setup -q | |
29 | ||
9d421c0d AM |
30 | sed -i -e 's#git rev-parse#false#g' version.sh |
31 | ||
6da01a44 | 32 | %build |
f0a9bdd1 JB |
33 | CC="%{__cc}" \ |
34 | CFLAGS="%{rpmcflags} %{rpmcppflags}" \ | |
6da01a44 | 35 | %{__make} \ |
f0a9bdd1 | 36 | V=1 |
6da01a44 AM |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
41 | ||
42 | install iw $RPM_BUILD_ROOT%{_sbindir} | |
43 | install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
f0a9bdd1 JB |
50 | %doc COPYING README |
51 | %attr(755,root,root) %{_sbindir}/iw | |
52 | %{_mandir}/man8/iw.8* |