File wireless-regdb.spec of Package wireless-regdb.4183

#
# spec file for package wireless-regdb
#
# Copyright (c) 2017 SUSE LINUX 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/
#


Name:           wireless-regdb
Version:        2017.03.07
Release:        0
Summary:        802.11 regulatory domain database
License:        ISC
Group:          Hardware/Wifi
Url:            http://wireless.kernel.org/en/developers/Regulatory#The_regulatory_database
Source:         https://www.kernel.org/pub/software/network/wireless-regdb/%{name}-%{version}.tar.xz
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
The 802.11 regulatory domain database is used by CRDA and provides
allowed frequency ranges for 802.11 wireless drivers.

%if 0%{?suse_version} == 1110
# _libexecdir points to /usr/lib64 for SLE11

%define _libexecdir %{_prefix}/lib
%endif

%prep
%setup -q

%build

%install
%make_install

%files
%defattr(-,root,root)
%dir %{_libexecdir}/crda
%dir %{_libexecdir}/crda/pubkeys
%{_libexecdir}/crda/regulatory.bin
%{_libexecdir}/crda/pubkeys/*pem
%{_mandir}/man5/regulatory.bin.5%{ext_man}

%changelog
openSUSE Build Service is sponsored by