wireless-regdb/wireless-regdb.spec

71 lines
2.0 KiB
RPMSpec

#
# spec file for package wireless-regdb (Version 2009.01.30)
#
# 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://wireless.kernel.org/en/developers/Regulatory#The_regulatory_database
Name: wireless-regdb
Summary: 802.11 regulatory domain database
Version: 2009.01.30
Release: 3
%define tarversion %{version}
Group: Hardware/Wifi
License: BSD 3-Clause
Source: %{name}-%{tarversion}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq %fillup_prereq %install_info_prereq
BuildArch: noarch
Patch0: fix_makefile.patch
%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}
%patch0 -p2
%build
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%dir %{_prefix}/lib/crda
%{_prefix}/lib/crda/regulatory.bin
%{_prefix}/share/man/man5/regulatory.bin.5.gz
%clean
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Feb 09 2009 hschaa@suse.de
- Update to 2009.01.30
- Needed for fate#305301
* Sat Jan 24 2009 helmut.schaa@googlemail.com
- Initial package