Add spec file
[platform/upstream/iw.git] / packaging / iw.spec
1 Name:           iw
2 Summary:        Wireless configuration tool
3 License:        0BSD
4 Version:        5.9
5 Release:        0
6 Url:            https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git
7 Source0:        %{name}-%{version}.tar.gz
8 Source1001:     %{name}.manifest
9 BuildRequires: pkgconfig(libnl-3.0)
10
11 %description
12 Wireless configuration tool
13
14 %prep
15 %setup -q
16
17 %build
18 cp %{SOURCE1001} .
19 make %{?_smp_mflags}
20
21 %install
22 #rm -rf %{buildroot}
23 mkdir -p %{buildroot}%{_bindir}
24 cp -f ./iw %{buildroot}%{_bindir}/iw
25
26 %files
27 %{_bindir}/iw