]> git.pld-linux.org Git - packages/iw.git/blame - iw.spec
- updated to 3.1
[packages/iw.git] / iw.spec
CommitLineData
f0a9bdd1
JB
1Summary: iw - utility to show or manipulate wireless devices and their configuration
2Summary(pl.UTF-8): iw - narzędzie do wyświetlania i modyfikowania konfiguracji urządzeń bezprzewodowych
6da01a44 3Name: iw
c555fbd9
JB
4Version: 3.1
5Release: 1
6da01a44
AM
6License: BSD
7Group: Networking/Admin
8Source0: http://wireless.kernel.org/download/iw/%{name}-%{version}.tar.bz2
c555fbd9 9# Source0-md5: 2b63438a12b7dc481140cb9a69c86e4a
6da01a44 10URL: http://wireless.kernel.org/en/users/Documentation/iw
93793d95 11BuildRequires: libnl-devel >= 1:3.2
220b3382 12BuildRequires: pkgconfig
c555fbd9 13BuildRequires: sed >= 4.0
6da01a44
AM
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _sbindir /sbin
17
18%description
19iw is a new nl80211 based CLI configuration utility for wireless
20devices.
21
f0a9bdd1
JB
22%description -l pl.UTF-8
23iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń
24narzędzie do konfiguracji urządzeń bezprzewodowych.
25
6da01a44
AM
26%prep
27%setup -q
28
69f409b7 29sed -i -e 's#libnl-2.0#libnl-3.0#g' -e 's#-lnl-genl#-lnl-genl-3#g' Makefile
cbaa52a8 30
6da01a44 31%build
f0a9bdd1
JB
32CC="%{__cc}" \
33CFLAGS="%{rpmcflags} %{rpmcppflags}" \
6da01a44 34%{__make} \
f0a9bdd1 35 V=1
6da01a44
AM
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
40
41install iw $RPM_BUILD_ROOT%{_sbindir}
42install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
f0a9bdd1
JB
49%doc COPYING README
50%attr(755,root,root) %{_sbindir}/iw
51%{_mandir}/man8/iw.8*
This page took 0.10919 seconds and 4 git commands to generate.