]>
Commit | Line | Data |
---|---|---|
1d75db49 AM |
1 | Summary: udev helper: Central Regulatory Domain Agent |
2 | Name: crda | |
84a002e3 | 3 | Version: 1.1.2 |
4 | Release: 1 | |
677a3b8a | 5 | License: ISC |
1d75db49 | 6 | Group: Networking/Daemons |
84a002e3 | 7 | Source0: http://linuxwireless.org/download/crda/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: 5226f65aebacf94baaf820f8b4e06df4 | |
677a3b8a | 9 | BuildRequires: libgcrypt-devel |
97b85302 | 10 | BuildRequires: libnl-devel >= 1:3.0 |
1d75db49 AM |
11 | BuildRequires: python |
12 | BuildRequires: python-M2Crypto | |
677a3b8a | 13 | BuildRequires: wireless-regdb |
1d75db49 | 14 | Requires: udev-core |
677a3b8a | 15 | Requires: wireless-regdb |
1d75db49 AM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | CRDA acts as the udev helper for communication between the kernel and | |
20 | userspace for regulatory compliance. It relies on nl80211 for | |
21 | communication. CRDA is intended to be run only through udev | |
22 | communication from the kernel. The user should never have to run it | |
23 | manually except if debugging udev issues. | |
24 | ||
25 | %prep | |
24cf033a | 26 | %setup -q |
1d75db49 AM |
27 | |
28 | %build | |
29 | %{__make} \ | |
97b85302 AM |
30 | V=1 \ |
31 | CC="%{__cc}" \ | |
677a3b8a | 32 | REG_BIN=%{_datadir}/crda/regulatory.bin |
1d75db49 AM |
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 |