File rfkill.spec of Package rfkill

#
# spec file for package rfkill (Version 0.4)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           rfkill
Url:            http://wireless.kernel.org/download/rfkill/
Version:        0.4
Release:        6
License:        ISC License
Group:          Productivity/Networking/Other
Summary:        Query the state of the rfkill switches
Source:         rfkill-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Rfkill is a small tool to query the state of the rfkill switches, buttons and subsystem interfaces.


Authors:
--------
 Johannes Berg <johannes@sipsolutions.net>
 Marcel Holtmann <marcel@holtmann.org>
 Tim Gardner <tim.gardner@canonical.com>


%prep
%setup

%build
make

%install
mkdir -p %{buildroot}/%{_sbindir}
install -m755 rfkill %{buildroot}/%{_sbindir}

%files
%defattr(-,root,root)
%doc COPYING README
/%{_sbindir}/rfkill

%changelog