2009-02-10 13:49:56 +01:00
|
|
|
#
|
2011-09-16 14:48:35 +02:00
|
|
|
# spec file for package crda
|
2009-02-10 13:49:56 +01:00
|
|
|
#
|
2012-02-07 11:00:23 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-02-10 13:49:56 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Url: http://linuxwireless.org/en/developers/Regulatory/CRDA
|
|
|
|
|
|
|
|
Name: crda
|
|
|
|
Summary: 802.11 central regulatory domain agent
|
2012-02-07 11:00:23 +01:00
|
|
|
License: BSD-3-Clause
|
2009-02-10 13:49:56 +01:00
|
|
|
Group: Hardware/Wifi
|
2012-09-12 00:23:01 +02:00
|
|
|
Version: 1.1.2
|
2012-02-07 11:00:23 +01:00
|
|
|
Release: 0
|
2009-02-10 13:49:56 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-07 11:00:23 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libnl-1_1-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: python-m2crypto
|
|
|
|
BuildRequires: udev
|
|
|
|
BuildRequires: 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.
|
|
|
|
|
|
|
|
%prep
|
2009-10-12 16:24:24 +02:00
|
|
|
%setup -q
|
2009-02-10 13:49:56 +01:00
|
|
|
|
|
|
|
%build
|
2011-09-18 20:45:14 +02:00
|
|
|
make all_noverify %{?_smp_mflags}
|
2009-02-10 13:49:56 +01:00
|
|
|
|
|
|
|
%install
|
2012-02-28 16:35:52 +01:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ install
|
2012-02-07 11:00:23 +01:00
|
|
|
#UsrMerge
|
|
|
|
mkdir $RPM_BUILD_ROOT/sbin
|
|
|
|
ln -sf %{_sbindir}/{crda,regdbdump} $RPM_BUILD_ROOT/sbin
|
|
|
|
#EndUserMerge
|
2009-02-10 13:49:56 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-02-07 11:00:23 +01:00
|
|
|
%_sbindir/crda
|
|
|
|
%_sbindir/regdbdump
|
|
|
|
#UsrMerge
|
2009-02-10 13:49:56 +01:00
|
|
|
/sbin/crda
|
|
|
|
/sbin/regdbdump
|
2012-02-07 11:00:23 +01:00
|
|
|
#EndUserMerge
|
2009-02-10 13:49:56 +01:00
|
|
|
/lib/udev/rules.d/85-regulatory.rules
|
2012-09-12 00:23:01 +02:00
|
|
|
%{_mandir}/man8/crda.8.gz
|
|
|
|
%{_mandir}/man8/regdbdump.8.gz
|
2009-02-10 13:49:56 +01:00
|
|
|
|
|
|
|
%changelog
|