Name: rfkill
Version: 0.3
Release: 1%{?dist}
Summary: A tool to query the state of RF kill interfaces
Group: System Environment/Base
License: BSD
URL: http://www.linuxwireless.org/en/users/Documentation/rfkill
Source0: http://wireless.kernel.org/download/rfkill/rfkill-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
rfkill is a small tool to query the state of the rfkill switches,
buttons and subsystem interfaces.
%prep
%setup -q
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/rfkill
%{_mandir}/man1/*
%doc COPYING README
%changelog
* Thu Sep 3 2009 John W. Linville <linville@tuxdriver.com> 0.3-1
- Update to upstream version 0.3
- Use 'make install' and include man page in files section
* Tue Aug 25 2009 John W. Linville <linville@tuxdriver.com> 0.1-1
- Initial import