summaryrefslogtreecommitdiff
path: root/packaging/rfkill.spec
blob: 0288e36722c647182fe2c579175c53c8dc6c0658 (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:        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
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)
%doc COPYING
%{_sbindir}/rfkill

%changelog