]> git.pld-linux.org Git - packages/iw.git/blob - iw.spec
- updated to 3.1
[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:        3.1
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:  2b63438a12b7dc481140cb9a69c86e4a
10 URL:            http://wireless.kernel.org/en/users/Documentation/iw
11 BuildRequires:  libnl-devel >= 1:3.2
12 BuildRequires:  pkgconfig
13 BuildRequires:  sed >= 4.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sbindir        /sbin
17
18 %description
19 iw is a new nl80211 based CLI configuration utility for wireless
20 devices.
21
22 %description -l pl.UTF-8
23 iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń
24 narzędzie do konfiguracji urządzeń bezprzewodowych.
25
26 %prep
27 %setup -q
28
29 sed -i -e 's#libnl-2.0#libnl-3.0#g' -e 's#-lnl-genl#-lnl-genl-3#g' Makefile
30
31 %build
32 CC="%{__cc}" \
33 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
34 %{__make} \
35         V=1
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40
41 install iw $RPM_BUILD_ROOT%{_sbindir}
42 install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc COPYING README
50 %attr(755,root,root) %{_sbindir}/iw
51 %{_mandir}/man8/iw.8*
This page took 0.065 seconds and 4 git commands to generate.