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