# # spec file for package hostap-utils # # Copyright (c) 2011 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 Name: hostap-utils BuildRequires: openssl-devel Summary: Tools for Prism2 cards Version: 0.4.7 Release: 186 Group: Hardware/Wifi License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-build #Provides: #Requires: #Conflicts: Url: http://hostap.epitest.fi/ AutoReqProv: on Source: hostap-utils-%{version}.tar.bz2 Patch: hostap-utils.diff %description This package contains various tools for configuring Prism2 cards driven by the HostAP kernel module. In particular, it contains a utility to query and flash firmware of Prism2 adapters. Authors: -------- Jouni Malinen %prep %setup %patch -p1 %build CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" make %{?_smp_mflags} %install mkdir -p %{buildroot}/%{_sbindir} install -m 755 hostap_crypt_conf %{buildroot}/%{_sbindir} install -m 755 hostap_diag %{buildroot}/%{_sbindir} install -m 755 hostap_io_debug %{buildroot}/%{_sbindir} install -m 755 hostap_rid %{buildroot}/%{_sbindir} install -m 755 prism2_param %{buildroot}/%{_sbindir} install -m 755 prism2_srec %{buildroot}/%{_sbindir} install -m 755 split_combined_hex %{buildroot}/%{_sbindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sbindir}/* %doc README ChangeLog %changelog