SHA256
1
0
forked from pool/hostap-utils
hostap-utils/hostap-utils.spec

65 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package hostap-utils
#
# Copyright (c) 2014 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/
#
Name: hostap-utils
Version: 0.4.7
Release: 0
Summary: Tools for Prism2 cards
License: GPL-2.0+
Group: Hardware/Wifi
Url: http://hostap.epitest.fi/
Source: http://w1.fi/releases/%name-%version.tar.gz
Patch: hostap-utils.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
%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 <jkmaline@cc.hut.fi>
%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}
%files
%defattr(-,root,root)
%{_sbindir}/*
%doc README ChangeLog
%changelog