File wireless-regdb.spec of Package wireless-regdb

#
# spec file for package wireless-regdb (Version 2009.11.25)
#
# Copyright (c) 2010 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://wireless.kernel.org/en/developers/Regulatory#The_regulatory_database

Name:           wireless-regdb
Summary:        802.11 regulatory domain database
Version:        2009.11.25
Release:        1
%define         tarversion %{version}
Group:          Hardware/Wifi
License:        BSD3c(or similar)
Source:         %{name}-%{tarversion}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %insserv_prereq %fillup_prereq %install_info_prereq
BuildArch:      noarch

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



Authors:
--------
    Luis R. Rodriguez <mcgrof@gmail.com>
    Johannes Berg <johannes@sipsolutions.net>
    Michael Green <Michael.Green@Atheros.com>

%prep
%setup -n %{name}-%{tarversion}

%build

%install
make DESTDIR=$RPM_BUILD_ROOT install

%files 
%defattr(-,root,root)
%dir %{_prefix}/lib/crda
%dir %{_prefix}/lib/crda/pubkeys
%{_prefix}/lib/crda/regulatory.bin
%{_prefix}/lib/crda/pubkeys/*pem
%{_prefix}/share/man/man5/regulatory.bin.5.gz

%clean
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT

%changelog
openSUSE Build Service is sponsored by