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 BuildRequires: libgcrypt-devel
11 BuildRequires: libnl-devel
13 BuildRequires: python-M2Crypto
14 BuildRequires: wireless-regdb
16 Requires: wireless-regdb
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
31 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
32 REG_BIN=%{_datadir}/crda/regulatory.bin
35 rm -rf $RPM_BUILD_ROOT
38 DESTDIR=$RPM_BUILD_ROOT
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %attr(755,root,root) /sbin/crda
47 %attr(755,root,root) /sbin/regdbdump
49 /lib/udev/rules.d/85-regulatory.rules