File xsupplicant.spec of Package xsupplicant
#
# spec file for package xsupplicant
#
# 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: xsupplicant
BuildRequires: bison flex libiw-devel libpcap-devel libtool openssl-devel
Url: http://www.open1x.org/
Version: 1.2.8
Release: 135
License: GPL-2.0+ or BSD-4-Clause
Group: Productivity/Networking/Radius/Clients
Summary: Free implementation of IEEE 802.1X protocol
Source: xsupplicant-%{version}.tar.bz2
Patch: xsupplicant-strncat.patch
Patch1: xsupplicant-iwlib.patch
Patch2: xsupplicant.linux-compiler.patch
Patch3: xsupplicant-1.2.8-shared.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This software allows a workstation to authenticate with a RADIUS server
using 802.1x and various EAP protocols. The intended use is for
computers with wireless LAN connections to complete a strong
authentication before joining the network.
Authors:
--------
Bryan D. Payne <bdpayne@cs.umd.edu>
Nick L. Petroni Jr. <npetroni@cs.umd.edu>
Chris Hessing <Chris.Hessing@utah.edu>
Terry Simons <Terry.Simons@utah.edu>
%prep
%setup -q
%patch
%patch1 -p1
%patch2 -p1
%patch3
%build
autoreconf -fiv
%configure --disable-static --with-pic
%install
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=%{buildroot} install
rm doc/Makefile* doc/*/Makefile* etc/Makefile*
rm doc/code-design/code-design.tex doc/code-design/current_code_flow.fig
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/lib*
%{_includedir}/*
%doc AUTHORS COPYING TODO LICENSE README doc etc
%changelog