summaryrefslogtreecommitdiff
path: root/packaging/crda.spec
blob: 98370ce364897d308baa4ec4c8f951864e313762 (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
37
Name:           crda
Version:        1.1.3
Release:        0
License:        ISC
Summary:        Linux central regulatory domain agent
Url:            http://wireless.kernel.org/en/developers/Regulatory/
Group:          System/Base
Source:         http://wireless.kernel.org/download/crda/crda-%{version}.tar.bz2
BuildRequires:  gcc
BuildRequires:  libgcrypt-devel
BuildRequires:  libnl-devel
BuildRequires:  python-M2Crypto
BuildRequires:  wireless-regdb
Requires:       libgcrypt
Requires:       libnl

%description
This package provides CRDA to be used by the new Linux kernel
wireless subsystem to query from userspace regulatory domains. For
more information see:
http://wireless.kernel.org/en/developers/Regulatory/

%prep
%setup -q

%build
make DESTDIR=%{buildroot} UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=%{_sbindir}

%install
%make_install UDEV_RULE_DIR=/usr/lib/udev/rules.d SBINDIR=%{_sbindir}

%docs_package
%files
%license LICENSE
%{_sbindir}/crda
%{_sbindir}/regdbdump
%{_prefix}/lib/udev/rules.d/85-regulatory.rules