]> git.pld-linux.org Git - packages/iw.git/blob - iw.spec
- updated to 5.8
[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:        5.8
5 Release:        1
6 License:        BSD
7 Group:          Networking/Admin
8 Source0:        https://www.kernel.org/pub/software/network/iw/%{name}-%{version}.tar.xz
9 # Source0-md5:  6bd1c3ba291d10e1438ea3130089ce16
10 URL:            https://wireless.wiki.kernel.org/en/users/Documentation/iw
11 BuildRequires:  libnl-devel >= 1:3.2
12 BuildRequires:  pkgconfig
13 BuildRequires:  tar >= 1:1.22
14 BuildRequires:  xz
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
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
27 %prep
28 %setup -q
29
30 sed -i -e 's#git rev-parse#false#g' version.sh
31
32 %build
33 CC="%{__cc}" \
34 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
35 %{__make} \
36         V=1
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)
50 %doc COPYING README
51 %attr(755,root,root) %{_sbindir}/iw
52 %{_mandir}/man8/iw.8*
This page took 0.064327 seconds and 3 git commands to generate.