9bea5caabb
license update: ISC License is ISC, not BSD-3-Clause OBS-URL: https://build.opensuse.org/request/show/134144 OBS-URL: https://build.opensuse.org/package/show/hardware/crda?expand=0&rev=18
69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package crda
|
|
#
|
|
# Copyright (c) 2012 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/
|
|
#
|
|
|
|
|
|
Url: http://linuxwireless.org/en/developers/Regulatory/CRDA
|
|
|
|
Name: crda
|
|
Summary: 802.11 central regulatory domain agent
|
|
License: ISC
|
|
Group: Hardware/Wifi
|
|
Version: 1.1.2
|
|
Release: 0
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libnl-1_1-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: python
|
|
BuildRequires: python-m2crypto
|
|
BuildRequires: udev
|
|
BuildRequires: wireless-regdb
|
|
Requires: wireless-regdb
|
|
Supplements: kernel >= 2.6.29
|
|
|
|
%description
|
|
The crda binary provides access to the wireless-regdb to the kernel
|
|
through udev.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make all_noverify %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}/ install
|
|
#UsrMerge
|
|
mkdir $RPM_BUILD_ROOT/sbin
|
|
ln -sf %{_sbindir}/{crda,regdbdump} $RPM_BUILD_ROOT/sbin
|
|
#EndUserMerge
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_sbindir/crda
|
|
%_sbindir/regdbdump
|
|
#UsrMerge
|
|
/sbin/crda
|
|
/sbin/regdbdump
|
|
#EndUserMerge
|
|
/lib/udev/rules.d/85-regulatory.rules
|
|
%{_mandir}/man8/crda.8.gz
|
|
%{_mandir}/man8/regdbdump.8.gz
|
|
|
|
%changelog
|