]> git.pld-linux.org Git - packages/iw.git/blame - iw.spec
up to 6.7
[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
c89aec45 4Version: 6.7
32802e89 5Release: 1
6da01a44
AM
6License: BSD
7Group: Networking/Admin
f923a254 8Source0: https://www.kernel.org/pub/software/network/iw/%{name}-%{version}.tar.xz
c89aec45 9# Source0-md5: a63e81b0dcae9caf9ed3a20f2c445a07
38caff49 10URL: https://wireless.wiki.kernel.org/en/users/Documentation/iw
93793d95 11BuildRequires: libnl-devel >= 1:3.2
220b3382 12BuildRequires: pkgconfig
f923a254
JB
13BuildRequires: tar >= 1:1.22
14BuildRequires: xz
6da01a44
AM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _sbindir /sbin
18
19%description
20iw is a new nl80211 based CLI configuration utility for wireless
21devices.
22
f0a9bdd1
JB
23%description -l pl.UTF-8
24iw to nowe, oparte na sterowniku nl80211, działające z linii poleceń
25narzędzie do konfiguracji urządzeń bezprzewodowych.
26
6da01a44
AM
27%prep
28%setup -q
29
9d421c0d
AM
30sed -i -e 's#git rev-parse#false#g' version.sh
31
6da01a44 32%build
f0a9bdd1
JB
33CC="%{__cc}" \
34CFLAGS="%{rpmcflags} %{rpmcppflags}" \
6da01a44 35%{__make} \
f0a9bdd1 36 V=1
6da01a44
AM
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
41
42install iw $RPM_BUILD_ROOT%{_sbindir}
43install iw.8 $RPM_BUILD_ROOT%{_mandir}/man8
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
f0a9bdd1
JB
50%doc COPYING README
51%attr(755,root,root) %{_sbindir}/iw
52%{_mandir}/man8/iw.8*
This page took 0.134716 seconds and 4 git commands to generate.