]> git.pld-linux.org Git - packages/crda.git/blob - crda.spec
- new
[packages/crda.git] / crda.spec
1 Summary:        udev helper: Central Regulatory Domain Agent
2 Name:           crda
3 Version:        1.0.1
4 Release:        1
5 License:        BSD
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
12 BuildRequires:  python
13 BuildRequires:  python-M2Crypto
14 Requires:       udev-core
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
23
24 %prep
25 %setup -q -a1
26
27 %build
28 %{__make} \
29         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
30         REG_BIN=$(echo wireless-regdb-*/regulatory.bin)
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %{__make} install \
36         DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %attr(755,root,root) /sbin/crda
45 %attr(755,root,root) /sbin/regdbdump
46 %{_mandir}/man8/*
47 /lib/udev/rules.d/85-regulatory.rules
This page took 0.053589 seconds and 4 git commands to generate.