summaryrefslogtreecommitdiff
path: root/packaging/rfkill.spec
blob: ccb3b024a07f7159dc101710c5606b46ed83b410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Name:           rfkill
Version:        0.4
Release:        0
License:        MIT
Summary:        Tool for enabling and disabling wireless devices
Url:            http://wireless.kernel.org/download/rfkill/
Group:          Network & Connectivity/Wireless
Source:         %{name}-%{version}.tar.bz2
Source1001: 	rfkill.manifest
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
cp %{SOURCE1001} .

%build
make %{?_smp_mflags}

%install
install -Dm755 rfkill %{buildroot}%{_sbindir}/rfkill
install -Dm644 rfkill.8 %{buildroot}%{_mandir}/man8/rfkill.8

%docs_package

%files
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING
%{_sbindir}/rfkill

%changelog