1251

openvpn.spec

Name:		openvpn	
Version:	2.3.4
Release:	1%{?dist}
Summary:	Secure tunneling daemon

# Group:		
License:	GPLv2
URL:		http://openvpn.net/	
Source0:	openvpn-2.3.4.tar.xz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	gcc openssl-devel lzo-devel pam-devel
# Requires:	

%description
OpenVPN is a robust and highly flexible tunneling application that uses all
of the encryption, authentication, and certification features of the
OpenSSL library to securely tunnel IP networks over a single UDP or TCP
port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library
for compression.

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc

   /usr/include/openvpn-plugin.h
   /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.la
   /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so
   /usr/lib64/openvpn/plugins/openvpn-plugin-down-root.la
   /usr/lib64/openvpn/plugins/openvpn-plugin-down-root.so
   /usr/sbin/openvpn
   /usr/share/doc/openvpn/COPYING
   /usr/share/doc/openvpn/COPYRIGHT.GPL
   /usr/share/doc/openvpn/README
   /usr/share/doc/openvpn/README.IPv6
   /usr/share/doc/openvpn/README.auth-pam
   /usr/share/doc/openvpn/README.down-root
   /usr/share/doc/openvpn/README.polarssl
   /usr/share/doc/openvpn/management-notes.txt
   /usr/share/man/man8/openvpn.8.gz




%changelog