File libeap-ikev2.spec of Package libeap-ikev2

Name:           libeap-ikev2
License:        GPL v2
Group:          System/Libraries
Autoreqprov:    on
Summary:        Library and Binaries for EAP-IKEv2 Support
Version:        0.2.1
Release:        2.3
Source:         %{name}-%{version}.tar.bz2
Source1:	%{name}-%{version}-rpmlintrc
URL:		http://eap-ikev2.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	openssl-devel

%description
EAP-IKEv2 is an EAP authentication method based on the Internet Key Exchange Protocol version 2 (IKEv2). It provides mutual authentication and session key establishment between an EAP peer and an EAP server. It supports authentication techniques that are based on the following types of credentials:

 * Asymmetric key pairs - public/private key pairs where the public key is embedded into a digital certificate, and the corresponding private key is known only to a single party.
 * Passwords - low-entropy bit strings that are known to both the server and the peer.
 * Symmetric keys - high-entropy bit strings that known to both the server and the peer.

%if %{?suse_version:1}0
%debug_package
%endif

%package devel
Summary:        Development files for libeap-ikev2
Group:          Development/Libraries/C and C++
Requires:       glibc-devel %{name} = %{version}

%description devel
Development files (Headers, libraries for static linking, etc) for
libeap-ikev2.

EAP-IKEv2 is an EAP authentication method based on the Internet Key Exchange Protocol version 2 (IKEv2). It provides mutual authentication and session key establishment between an EAP peer and an EAP server. It supports authentication techniques that are based on the following types of credentials:

Install libeap-ikev2-devel if you want to develop or compile applications
using libeap-ikev2.

%prep
%setup

%build
%configure --enable-developer --enable-docs

make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README INSTALL LICENSE ChangeLog
%attr(755,root,root) %{_libdir}/libeap-ikev2.so*


%files devel
%defattr(-,root,root)
%dir %{_includedir}/EAPIKEv2
%attr(755,root,root) %{_libdir}/libeap-ikev2.a
%attr(755,root,root) %{_libdir}/libeap-ikev2.la
%{_includedir}/EAPIKEv2/*.h
#%{_mandir}/man3/*

%changelog -n libcap
* Sun Jul 27 2008 - Ronan LE MEILLAT
- minor corrections

* Sat Jan 5 2008 - Peter Nixon
- Initial build
openSUSE Build Service is sponsored by