2008-08-10 02:36:33 +00:00
|
|
|
#
|
2011-04-22 20:54:35 +00:00
|
|
|
# spec file for package iw
|
2008-08-10 02:36:33 +00:00
|
|
|
#
|
2024-01-04 08:19:44 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2008-08-10 02:36:33 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-02-07 15:54:14 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-08-10 02:36:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: iw
|
2024-06-07 08:23:35 +00:00
|
|
|
Version: 6.9
|
2015-04-03 10:36:20 +00:00
|
|
|
Release: 0
|
2008-08-10 02:36:33 +00:00
|
|
|
Summary: Configuration utility for nl80211 based wireless drivers
|
2012-12-04 09:30:40 +00:00
|
|
|
License: ISC
|
2020-05-05 09:23:08 +00:00
|
|
|
URL: https://wireless.wiki.kernel.org/en/users/documentation/iw
|
2021-11-12 08:30:12 +00:00
|
|
|
Source: iw-%{version}.tar.gz
|
2016-06-13 09:43:50 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-04-03 10:36:20 +00:00
|
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%description
|
2010-01-12 11:26:00 +00:00
|
|
|
iw is a nl80211 based CLI configuration utility for wireless devices. It
|
|
|
|
|
supports almost all new drivers that have been added to the kernel
|
|
|
|
|
recently.
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%prep
|
2024-01-04 08:19:44 +00:00
|
|
|
%autosetup
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%build
|
2010-01-12 11:26:00 +00:00
|
|
|
# FIXME: -fno-strict-aliasing seems to be obsolete, but upstream Makefile requires it.
|
|
|
|
|
# Either it is really obsolete or there is a hidden aliasing use.
|
2020-05-05 09:23:08 +00:00
|
|
|
%make_build CFLAGS="%{optflags} $(pkg-config --cflags libnl-3.0) -DCONFIG_LIBNL30 -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration"
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-01-07 09:26:27 +00:00
|
|
|
%make_install
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%files
|
2020-05-05 09:23:08 +00:00
|
|
|
%license COPYING
|
|
|
|
|
%doc README
|
2008-08-10 02:36:33 +00:00
|
|
|
%{_sbindir}/iw
|
2020-05-05 09:23:08 +00:00
|
|
|
%{_mandir}/man8/iw.8%{?ext_man}
|
2008-08-10 02:36:33 +00:00
|
|
|
|
|
|
|
|
%changelog
|