1 Summary: udev helper: Central Regulatory Domain Agent
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 # Source1-md5: 09d423911584e6580efb8af366775d5f
11 URL: http://wireless.kernel.org/en/developers/Regulatory/CRDA
13 BuildRequires: python-M2Crypto
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 CRDA acts as the udev helper for communication between the kernel and
19 userspace for regulatory compliance. It relies on nl80211 for
20 communication. CRDA is intended to be run only through udev
21 communication from the kernel. The user should never have to run it
22 manually except if debugging udev issues.
29 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
30 REG_BIN=$(echo wireless-regdb-*/regulatory.bin)
33 rm -rf $RPM_BUILD_ROOT
36 DESTDIR=$RPM_BUILD_ROOT
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) /sbin/crda
45 %attr(755,root,root) /sbin/regdbdump
47 /lib/udev/rules.d/85-regulatory.rules