8aa00089e625f5a52f8b03f357f9735551f9f3d9
[packages/crda.git] / crda.spec
1 Summary:        udev helper: Central Regulatory Domain Agent
2 Name:           crda
3 Version:        1.1.2
4 Release:        2
5 License:        ISC
6 Group:          Networking/Daemons
7 Source0:        http://linuxwireless.org/download/crda/%{name}-%{version}.tar.bz2
8 # Source0-md5:  5226f65aebacf94baaf820f8b4e06df4
9 Patch0:         nl3.patch
10 BuildRequires:  libgcrypt-devel
11 BuildRequires:  libnl-devel >= 1:3.0
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
28 %patch0 -p1
29
30 %build
31 %{__make} \
32         V=1 \
33         CC="%{__cc}" \
34         REG_BIN=%{_datadir}/crda/regulatory.bin
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) /sbin/crda
49 %attr(755,root,root) /sbin/regdbdump
50 %{_mandir}/man8/*
51 /lib/udev/rules.d/85-regulatory.rules
This page took 0.067518 seconds and 2 git commands to generate.