Blob Blame History Raw
Name:           rfkill
Version:        0.3
Release:        2%{?dist}
Summary:        A tool for enabling and disabling wireless devices

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 simple tool for accessing the Linux rfkill device interface,
which is used to enable and disable wireless networking devices, typically
WLAN, Bluetooth and mobile broadband.

%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
* Tue Sep 15 2009 John W. Linville <linville@tuxdriver.com> 0.3-2
- Change summary and description as suggested by Tomasz Torcz <zdzichu@irc.pl>

* 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