2dddaca0c62a52c3fb1a727be1f7010a404f82c7
[packages/crda.git] / crda.spec
1 Summary:        udev helper: Central Regulatory Domain Agent
2 Name:           crda
3 Version:        1.0.1
4 Release:        2
5 License:        ISC
6 Group:          Networking/Daemons
7 Source0:        http://wireless.kernel.org/download/crda/%{name}-%{version}.tar.bz2
8 # Source0-md5:  03554b71eef2626795befa17eb1d8b9e
9 Source1:        http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2009.03.09.tar.bz2
10 BuildRequires:  libgcrypt-devel
11 BuildRequires:  libnl-devel
12 BuildRequires:  python
13 BuildRequires:  python-M2Crypto
14 BuildRequires:  wireless-regdb
15 Requires:       udev-core
16 Requires:       wireless-regdb
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 CRDA acts as the udev helper for communication between the kernel and
21 userspace for regulatory compliance. It relies on nl80211 for
22 communication. CRDA is intended to be run only through udev
23 communication from the kernel. The user should never have to run it
24 manually except if debugging udev issues.
25
26 %prep
27 %setup -q -a1
28
29 %build
30 %{__make} \
31         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
32         REG_BIN=%{_datadir}/crda/regulatory.bin
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
46 %attr(755,root,root) /sbin/crda
47 %attr(755,root,root) /sbin/regdbdump
48 %{_mandir}/man8/*
49 /lib/udev/rules.d/85-regulatory.rules
This page took 0.095503 seconds and 2 git commands to generate.