]> git.pld-linux.org Git - packages/crda.git/blame - crda.spec
- fix build (nl3.patch)
[packages/crda.git] / crda.spec
CommitLineData
1d75db49
AM
1Summary: udev helper: Central Regulatory Domain Agent
2Name: crda
84a002e3 3Version: 1.1.2
604e8e2a 4Release: 2
677a3b8a 5License: ISC
1d75db49 6Group: Networking/Daemons
84a002e3 7Source0: http://linuxwireless.org/download/crda/%{name}-%{version}.tar.bz2
8# Source0-md5: 5226f65aebacf94baaf820f8b4e06df4
604e8e2a 9Patch0: nl3.patch
677a3b8a 10BuildRequires: libgcrypt-devel
97b85302 11BuildRequires: libnl-devel >= 1:3.0
1d75db49
AM
12BuildRequires: python
13BuildRequires: python-M2Crypto
677a3b8a 14BuildRequires: wireless-regdb
1d75db49 15Requires: udev-core
677a3b8a 16Requires: wireless-regdb
1d75db49
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20CRDA acts as the udev helper for communication between the kernel and
21userspace for regulatory compliance. It relies on nl80211 for
22communication. CRDA is intended to be run only through udev
23communication from the kernel. The user should never have to run it
24manually except if debugging udev issues.
25
26%prep
24cf033a 27%setup -q
604e8e2a 28%patch0 -p1
1d75db49
AM
29
30%build
31%{__make} \
97b85302
AM
32 V=1 \
33 CC="%{__cc}" \
677a3b8a 34 REG_BIN=%{_datadir}/crda/regulatory.bin
1d75db49
AM
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -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.079456 seconds and 4 git commands to generate.