2009-02-10 13:49:56 +01:00
|
|
|
#
|
2009-07-30 14:31:52 +02:00
|
|
|
# spec file for package crda (Version 1.1.0)
|
2009-02-10 13:49:56 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Url: http://linuxwireless.org/en/developers/Regulatory/CRDA
|
|
|
|
|
|
|
|
Name: crda
|
|
|
|
Summary: 802.11 central regulatory domain agent
|
2009-07-30 14:31:52 +02:00
|
|
|
Version: 1.1.0
|
|
|
|
Release: 1
|
2009-02-10 13:49:56 +01:00
|
|
|
Group: Hardware/Wifi
|
2009-07-30 14:31:52 +02:00
|
|
|
License: BSD 3-clause (or similar)
|
2009-02-10 13:49:56 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: libgcrypt-devel libnl-devel pkg-config python python-m2crypto udev wireless-regdb
|
2009-03-02 15:46:14 +01:00
|
|
|
Requires: wireless-regdb
|
|
|
|
Supplements: kernel >= 2.6.29
|
2009-02-10 13:49:56 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The crda binary provides access to the wireless-regdb to the kernel
|
|
|
|
through udev.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Luis R. Rodriguez <mcgrof@gmail.com>
|
|
|
|
Johannes Berg <johannes@sipsolutions.net>
|
|
|
|
Michael Green <Michael.Green@Atheros.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%changelog
|