File iw.spec of Package iw

#
# spec file for package iw (Version 0.9.15)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           iw
BuildRequires:  kernel-source libnl-devel pkg-config
Summary:        Configuration utility for nl80211 based wireless drivers
Version:        0.9.15
Release:        1
Group:          Hardware/Wifi
License:        BSD 3-clause (or similar)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://linuxwireless.org/en/users/Documentation/iw
AutoReqProv:    on
Source:         iw-%{version}.tar.bz2
Source2:        config

%description
Configuration utility for nl80211 based wireless drivers



Authors:
--------
    Johannes Berg <johannes@sipsolutions.net>

%prep
%setup
cp %{SOURCE2} .config

%build
make

%install
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m 755 iw $RPM_BUILD_ROOT%{_sbindir}/iw

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_sbindir}/iw

%changelog
openSUSE Build Service is sponsored by