2007-03-19 04:30:49 +01:00
|
|
|
#
|
|
|
|
# spec file for package hostap-utils (Version 0.4.7)
|
|
|
|
#
|
2010-11-02 14:41:23 +01:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-24 01:04:39 +02:00
|
|
|
|
2007-03-19 04:30:49 +01:00
|
|
|
Name: hostap-utils
|
|
|
|
BuildRequires: openssl-devel
|
2008-09-24 01:04:39 +02:00
|
|
|
Summary: Tools for Prism2 cards
|
2007-03-19 04:30:49 +01:00
|
|
|
Version: 0.4.7
|
2010-11-02 14:41:23 +01:00
|
|
|
Release: 186
|
2008-09-24 01:04:39 +02:00
|
|
|
Group: Hardware/Wifi
|
2010-11-02 14:41:23 +01:00
|
|
|
License: GPLv2+
|
2007-03-19 04:30:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
#Provides:
|
|
|
|
#Requires:
|
|
|
|
#Conflicts:
|
2008-09-24 01:04:39 +02:00
|
|
|
Url: http://hostap.epitest.fi/
|
|
|
|
AutoReqProv: on
|
2007-03-19 04:30:49 +01:00
|
|
|
Source: hostap-utils-%{version}.tar.bz2
|
|
|
|
Patch: hostap-utils.diff
|
|
|
|
|
|
|
|
%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
|
2010-11-02 14:41:17 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" 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}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/*
|
|
|
|
%doc README ChangeLog
|
|
|
|
|
|
|
|
%changelog
|