summaryrefslogtreecommitdiff
path: root/packaging/rfkill.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rfkill.spec')
-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