summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 11:53:02 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-06 11:53:02 -0800
commit3a8beb2bdf4294f3fb0ffd4df76539b548accc5a (patch)
tree00cdad05055ca81b86a7e9d40a38a8a1725b6426
parentc095f606729b6916e9f5f535f975af5e05d4a165 (diff)
downloadrfkill-3a8beb2bdf4294f3fb0ffd4df76539b548accc5a.tar.gz
rfkill-3a8beb2bdf4294f3fb0ffd4df76539b548accc5a.tar.bz2
rfkill-3a8beb2bdf4294f3fb0ffd4df76539b548accc5a.zip
-rw-r--r--packaging/rfkill.spec33
1 files changed, 33 insertions, 0 deletions
diff --git a/packaging/rfkill.spec b/packaging/rfkill.spec
new file mode 100644
index 0000000..5ce741c
--- /dev/null
+++ b/packaging/rfkill.spec
@@ -0,0 +1,33 @@
+Name: rfkill
+Version: 0.4
+Release: 0
+License: ISC
+Summary: Tool for enabling and disabling wireless devices
+Url: http://wireless.kernel.org/download/rfkill/
+Group: Productivity/Networking/Other
+Source: %{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+rfkill is a small 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}
+
+%install
+install -Dm755 rfkill %{buildroot}%{_sbindir}/rfkill
+install -Dm644 rfkill.8 %{buildroot}%{_mandir}/man8/rfkill.8
+
+%docs_package
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_sbindir}/rfkill
+
+%changelog