2007-03-19 04:30:49 +01:00
|
|
|
#
|
2011-10-04 10:38:30 +02:00
|
|
|
# spec file for package hostap-utils
|
2007-03-19 04:30:49 +01:00
|
|
|
#
|
2014-10-25 08:46:39 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-03-19 04:30:49 +01:00
|
|
|
#
|
2008-09-24 01:04:39 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-03-19 04:30:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-09-24 01:04:39 +02:00
|
|
|
|
2007-03-19 04:30:49 +01:00
|
|
|
Name: hostap-utils
|
|
|
|
Version: 0.4.7
|
2014-10-25 08:46:39 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for Prism2 cards
|
|
|
|
License: GPL-2.0+
|
2008-09-24 01:04:39 +02:00
|
|
|
Group: Hardware/Wifi
|
|
|
|
Url: http://hostap.epitest.fi/
|
2014-10-25 08:46:39 +02:00
|
|
|
Source: http://w1.fi/releases/%name-%version.tar.gz
|
2007-03-19 04:30:49 +01:00
|
|
|
Patch: hostap-utils.diff
|
2014-10-25 08:46:39 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: openssl-devel
|
2007-03-19 04:30:49 +01:00
|
|
|
|
|
|
|
%description
|
2008-09-24 01:04:39 +02:00
|
|
|
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.
|
2007-03-19 04:30:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Jouni Malinen <jkmaline@cc.hut.fi>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
%build
|
2011-10-04 10:38:30 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" make %{?_smp_mflags}
|
2007-03-19 04:30:49 +01:00
|
|
|
|
|
|
|
%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}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/*
|
|
|
|
%doc README ChangeLog
|
|
|
|
|
|
|
|
%changelog
|