summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 15:17:16 -0800
committerLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 15:17:16 -0800
commit3a4f87215a9c71d0edf8eea83d13545ce70a1459 (patch)
treed5613f582fb4313d923e9737d36ce32630285e88
parent91f5d9f312d6b3f7cbed9fe8026f49d4b0563778 (diff)
downloadcrda-3a4f87215a9c71d0edf8eea83d13545ce70a1459.tar.gz
crda-3a4f87215a9c71d0edf8eea83d13545ce70a1459.tar.bz2
crda-3a4f87215a9c71d0edf8eea83d13545ce70a1459.zip
Adds example RPM spec file (assumes 1.0.0 which I will mark shortly).
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--crda.spec32
1 files changed, 32 insertions, 0 deletions
diff --git a/crda.spec b/crda.spec
new file mode 100644
index 0000000..0a4d0ca
--- /dev/null
+++ b/crda.spec
@@ -0,0 +1,32 @@
+Summary: Linux central regulatory domain agent
+Name: crda
+Version: 1.0.0
+Release: 1
+License: ISC
+Group: System Enviroment/Base
+Source: http://wireless.kernel.org/download/crda/crda-%version.tar.bz2
+URL: http://wireless.kernel.org/en/developers/Regulatory/
+Packager: Luis R. Rodriguez <mcgrof@gmail.com>
+BuildRoot : /var/tmp/%{name}-buildroot
+Requires: libnl, libgcrypt
+BuildRequires: libnl-devel, gcc, wireless-regdb, libgcrypt-devel, m2crypto
+
+%description
+This package provides CRDA to be used by the new Linux kernel
+wireless subsystem to query from userspace regulatory domains. For
+more information see:
+http://wireless.kernel.org/en/developers/Regulatory/
+
+%prep
+%setup
+%build
+make DESTDIR=%buildroot
+%install
+make install DESTDIR=%buildroot
+%files
+%doc README LICENSE
+/sbin/crda
+/sbin/regdbdump
+/lib/udev/rules.d/85-regulatory.rules
+/usr/share/man/man8/crda.8.gz
+/usr/share/man/man8/regdbdump.8.gz