File ath_info.spec of Package ath_info
#
# spec file for package ath_info
#
# Copyright (c) 2015 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: ath_info
Version: 4151
Release: 0
Summary: Tool to get detailed information from Atheros WLAN cards
License: GPL-2.0
Group: Hardware/Other
Url: http://madwifi-project.org/wiki/UserDocs/AthInfo
Source0: ath_info-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc
%description
ath_info is a tool to get detailled information about the hardware. Since the
output of lspci and the dmesg information provided by the HAL is not always
sufficient to correctly identify chipset versions we appreciate ath_info
output to be attached to bug reports, for both ath5k and madwifi - especially
the first few lines which identify the chipsets are important.
%prep
%setup -q
%build
make PREFIX=%{_prefix} CFLAGS="%{optflags}" %{?_smp_mflags}
%install
make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/ath_info
%{_mandir}/man8/ath_info.*
%changelog