]> git.pld-linux.org Git - packages/crda.git/blame - crda.spec
- new
[packages/crda.git] / crda.spec
CommitLineData
1d75db49
AM
1Summary: udev helper: Central Regulatory Domain Agent
2Name: crda
3Version: 1.0.1
4Release: 1
5License: BSD
6Group: Networking/Daemons
7Source0: http://wireless.kernel.org/download/crda/%{name}-%{version}.tar.bz2
8# Source0-md5: 03554b71eef2626795befa17eb1d8b9e
9Source1: http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2009.03.09.tar.bz2
10# Source1-md5: 09d423911584e6580efb8af366775d5f
11URL: http://wireless.kernel.org/en/developers/Regulatory/CRDA
12BuildRequires: python
13BuildRequires: python-M2Crypto
14Requires: udev-core
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18CRDA acts as the udev helper for communication between the kernel and
19userspace for regulatory compliance. It relies on nl80211 for
20communication. CRDA is intended to be run only through udev
21communication from the kernel. The user should never have to run it
22manually 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
33rm -rf $RPM_BUILD_ROOT
34
35%{__make} install \
36 DESTDIR=$RPM_BUILD_ROOT
37
38%clean
39rm -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.049049 seconds and 4 git commands to generate.