]> git.pld-linux.org Git - packages/iw.git/blob - iw.spec
0fc3aea285680d0f6f297088d0e7e37e9073bdfe
[packages/iw.git] / iw.spec
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
3 Name:           iw
4 Version:        0.9.21
5 Release:        1
6 License:        BSD
7 Group:          Networking/Admin
8 Source0:        http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
9 # Source0-md5:  726db5f1fd6bc316434414770513ef81
10 URL:            http://wireless.kernel.org/en/users/Documentation/iw
11 BuildRequires:  libnl-devel
12 BuildRequires:  pkgconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 iw is a new nl80211 based CLI configuration utility for wireless
19 devices.
20
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.
24
25 %prep
26 %setup -q
27
28 %build
29 CC="%{__cc}" \
30 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
31 %{__make} \
32         V=1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
37
38 install iw $RPM_BUILD_ROOT%{_sbindir}
39 install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc COPYING README
47 %attr(755,root,root) %{_sbindir}/iw
48 %{_mandir}/man8/iw.8*
This page took 0.043733 seconds and 3 git commands to generate.