]> git.pld-linux.org Git - packages/crda.git/blame_incremental - crda.spec
- release 3
[packages/crda.git] / crda.spec
... / ...
CommitLineData
1Summary: udev helper: Central Regulatory Domain Agent
2Name: crda
3Version: 1.0.1
4Release: 3
5License: ISC
6Group: Networking/Daemons
7Source0: http://wireless.kernel.org/download/crda/%{name}-%{version}.tar.bz2
8# Source0-md5: 03554b71eef2626795befa17eb1d8b9e
9BuildRequires: libgcrypt-devel
10BuildRequires: libnl-devel
11BuildRequires: python
12BuildRequires: python-M2Crypto
13BuildRequires: wireless-regdb
14Requires: udev-core
15Requires: wireless-regdb
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19CRDA acts as the udev helper for communication between the kernel and
20userspace for regulatory compliance. It relies on nl80211 for
21communication. CRDA is intended to be run only through udev
22communication from the kernel. The user should never have to run it
23manually except if debugging udev issues.
24
25%prep
26%setup -q
27
28%build
29%{__make} \
30 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
31 REG_BIN=%{_datadir}/crda/regulatory.bin
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36%{__make} install \
37 DESTDIR=$RPM_BUILD_ROOT
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc README
45%attr(755,root,root) /sbin/crda
46%attr(755,root,root) /sbin/regdbdump
47%{_mandir}/man8/*
48/lib/udev/rules.d/85-regulatory.rules
This page took 0.057534 seconds and 4 git commands to generate.