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