b902daa
Name:           rfkill
b902daa
Version:        0.3
1bc46d6
Release:        2%{?dist}
1bc46d6
Summary:        A tool for enabling and disabling wireless devices
b902daa
b902daa
Group:          System Environment/Base
b902daa
License:        BSD
b902daa
URL:            http://www.linuxwireless.org/en/users/Documentation/rfkill
b902daa
Source0:        http://wireless.kernel.org/download/rfkill/rfkill-%{version}.tar.bz2
b902daa
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b902daa
b902daa
b902daa
%description
1bc46d6
rfkill is a simple tool for accessing the Linux rfkill device interface,
1bc46d6
which is used to enable and disable wireless networking devices, typically
1bc46d6
WLAN, Bluetooth and mobile broadband.
b902daa
b902daa
%prep
b902daa
%setup -q
b902daa
b902daa
b902daa
%build
b902daa
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
b902daa
b902daa
b902daa
%install
b902daa
rm -rf $RPM_BUILD_ROOT
b902daa
make install DESTDIR=${RPM_BUILD_ROOT}
b902daa
b902daa
b902daa
%clean
b902daa
rm -rf $RPM_BUILD_ROOT
b902daa
b902daa
b902daa
%files
b902daa
%defattr(-,root,root,-)
b902daa
%{_bindir}/rfkill
b902daa
%{_mandir}/man1/*
b902daa
%doc COPYING README
b902daa
b902daa
b902daa
%changelog
1bc46d6
* Tue Sep 15 2009 John W. Linville <linville@tuxdriver.com> 0.3-2
1bc46d6
- Change summary and description as suggested by Tomasz Torcz <zdzichu@irc.pl>
1bc46d6
b902daa
* Thu Sep  3 2009 John W. Linville <linville@tuxdriver.com> 0.3-1
b902daa
- Update to upstream version 0.3
b902daa
- Use 'make install' and include man page in files section
b902daa
b902daa
* Tue Aug 25 2009 John W. Linville <linville@tuxdriver.com> 0.1-1
b902daa
- Initial import