iw/iw.spec

48 lines
1.2 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:53:54 -04:00
Name: iw
2021-01-22 14:14:26 +08:00
Version: 5.9
2019-09-30 10:53:54 -04:00
Release: 1
Summary: A nl80211 based wireless configuration tool
License: ISC
URL: https://wireless.kernel.org/en/users/Documentation/%{name}
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc kernel-headers libnl3-devel pkgconfig
%description
iw is a new nl80211 based CLI configuration utility for wireless devices.
It supports all new drivers that have been added to the kernel recently.
The old tool iwconfig, which uses Wireless Extensions interface,
is deprecated and it's strongly recommended to switch to iw and nl80211.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%make_build
%install
%make_install MANDIR=%{_mandir}
%files
%defattr(-,root,root)
%license COPYING
%{_sbindir}/%{name}
%files help
%defattr(-,root,root)
%{_mandir}/man8/iw.*
%changelog
2021-01-22 14:14:26 +08:00
* Fri Jan 22 2021 xihaochen<xihaochen@huawei.com> - 5.9-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update iw to 5.9
2019-09-30 10:53:54 -04:00
* Mon Sep 02 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.1-1
- Package init