Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > b352772f77600e2c60f9d00aac6ed786 > files > 2

xsupplicant-1.2.8-1mdv2007.1.src.rpm

%define name xsupplicant
%define version 1.2.8
%define release %mkrel 1
%define build_qt_gremlin 0

Summary:	An open source implementation of IEEE 802.1X
Name:		%{name}
Version:	%{version}
Release:	%{release}
Epoch:		0
Url:		http://open1x.sourceforge.net/
Source0:	http://download.sourceforge.net/open1x/xsupplicant-%{version}.tar.bz2
License:	GPL
Group:		Networking/Other
BuildRoot:	%{_tmppath}/%{name}-buildroot
Requires:	pcsc-lite
BuildRequires:	byacc
BuildRequires:	docbook-utils-pdf
BuildRequires:  docbook-dtd30-sgml
BuildRequires:	flex
BuildRequires:	lynx
BuildRequires:	openjade
BuildRequires:	openssl-devel
BuildRequires:	pcsc-lite-devel
BuildRequires:	qt3-devel
BuildRequires:  libiw-devel
BuildRequires:  autoconf2.5
BuildRequires:	automake1.9

%description
An open source implementation of IEEE 802.1X.

IEEE 802.1x is a port based authentication protocol. It can be used in *any*
scenario where one can abstract out the notion of a port. It requires
entitie(s) to play three roles in the authentication process: that of an
supplicant, an authenticator and an authentication server.

%package -n %{name}-devel
Group:		Development/C
Summary:	Development files from %{name}

%description -n %{name}-devel
Development files from %{name}

An open source implementation of IEEE 802.1X.

IEEE 802.1x is a port based authentication protocol. It can be used in *any*
scenario where one can abstract out the notion of a port. It requires
entitie(s) to play three roles in the authentication process: that of an
supplicant, an authenticator and an authentication server.

%package doc
Group:		Networking/Other
Summary:	Open source Implementation of the IEEE 802.1x protocol

%description doc
An open source implementation of IEEE 802.1X.

IEEE 802.1x is a port based authentication protocol. It can be used in *any*
scenario where one can abstract out the notion of a port. It requires
entitie(s) to play three roles in the authentication process: that of an
supplicant, an authenticator and an authentication server.

%prep
%setup -q

%build
aclocal-1.9
automake-1.9
autoheader-2.5x || :
autoconf-2.5x
touch config.h
# pcsc-lite-devel 1.2.9+ has winscard.h in %{_includedir}/PCSC instead
# of just %{_includedir}. And this header file is needed for eap-sim
# support
export CPPFLAGS="-I%{_includedir}/PCSC"
%configure # --enable-eap-sim
# (cjw) parallel make doesn't always work
make
%{__perl} -pi -e 's#JADE_PUB=.*#JADE_PUB=%{_datadir}/sgml#' doc/builddocs.sh
cd doc; ./builddocs.sh
%if %{build_qt_gremlin}
cd ../gui_tools/gui/qt/qt_gremlin; qmake qt_gremlin_xsupplicant.pro; %make
%endif

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall_std
mkdir -p %{buildroot}/etc/
mkdir -p %{buildroot}/usr/share/doc/%{name}-%{version}
install -m 644 etc/xsupplicant.conf %{buildroot}/etc/xsupplicant.conf
%if %{build_qt_gremlin}
install -m 755 gui_tools/gui/qt/qt_gremlin/qt_gremlin_xsupplicant %{buildroot}/%{_sbindir}/qt_gremlin_xsupplicant
install -m 644 gui_tools/gui/qt/qt_gremlin/README %{buildroot}/usr/share/doc/%{name}-%{version}/README.qt_gremlin
%endif
install -m 644 etc/*-example.conf %{buildroot}/usr/share/doc/%{name}-%{version}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL LICENSE README TODO doc/README.* doc/*.html
%doc etc/*example.conf
%doc tools/pkcs12toDERandPEM.sh tools/updatedir
%config(noreplace)/etc/xsupplicant.conf
%{_bindir}/config-parser
%{_bindir}/xsup_monitor
%{_bindir}/xsup_get_state
%{_bindir}/xsup_set_pwd
%{_bindir}/xsup_ntpwdhash
%{_sbindir}/xsupplicant
%if %{build_qt_gremlin}
%{_sbindir}/qt_gremlin_xsupplicant
%endif

%files -n %{name}-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.a

%files doc
%defattr(-,root,root)
%doc doc/code-design/*.pdf doc/html doc/pdf doc/standards doc/txt


%changelog
* Sat Jan 13 2007 Olivier Thauvin <nanardon@mandriva.org> 1.2.8-1mdv2007.0
+ Revision: 108369
- 1.2.8

* Fri Aug 11 2006 Olivier Thauvin <nanardon@mandriva.org> 0:1.2.6-1mdv2007.0
+ Revision: 55539
- fix buildrequires
- 1.2.6
- Import xsupplicant



* Sat Feb 18 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 0:1.2.3-2mdk
- add BuildRequires: automake1.9

* Sun Feb 12 2006 Olivier Thauvin <nanardon@mandriva.org> 0:1.2.3-1mdk
- 1.2.3

* Sat Dec 03 2005 Andreas Hasenack <andreas@mandriva.com> 0:1.2.1-3mdk
- rebuilt with pcsc-lite 1.2.9

* Mon Nov 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0:1.2.1-2mdk
- added P0 to make it rebuild against openssl-0.9.8a

* Sat Sep 24 2005 David Walluck <walluck@mandriva.org> 0:1.2.1-1mdk
- 1.2.1
- fix docs build
- disable qt_gremlin build for now

* Sat Aug 06 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0.1-3mdk
- add BuildRequires: lynx

* Thu Aug  4 2005 Arnaud de Lorbeau <devel@mandriva.com> 1.0.1-2mdk
- fix for xsupplicant bug #1083042 from bugs.debian.org (#280502)

* Wed Aug  3 2005 Arnaud de Lorbeau <devel@mandriva.com> 1.0.1-1mdk
- 1.0.1
- drop ssl static patch
- fix 64bit ssl detection

* Fri Jul 23 2004 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 1.0-2mdk
- Add config file
- Add doc
- Add EAP-SIM auth support

* Thu Jun 17 2004 Stefan van der Eijk <stefan@eijk.nu> 1.0-1mdk
- 1.0
- BuildRequires

* Fri May 07 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0-0.pre2.1mdk
- 1st mdk contrib