File ras.spec of Package ras

#
# spec file for package ras (Version )
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           ras
Version:        176
Release:        0
License:        Python
Group:          Productivity/Networking/Security
Autoreqprov:    on
#BuildRequires:  
Requires:       python freeswan
%if 0%{?suse_version} >= 1010
Suggests:       opie
%endif
Summary:        Script to set up and keep up OpenSWAN ipsec connections
Source1:	ras.py
Source2:	README
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch

%description
This script connects you to an IPsec RAS service.

It uses FreeS/WAN or openswan connections from ipsec.conf.
These can be monitored, and be rebuild upon failure. For
monitoring, a host on the other side of the tunnel can be pinged.
Optionally, routing settings can be tweaked, a pre-authentication
using opie can be performed or another machine can be remote 
controlled.


Authors:
--------
    Kurt Garloff

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install %{SOURCE1} $RPM_BUILD_ROOT/usr/sbin
cp -p %{SOURCE2} .

%files
%defattr(-,root,root)
%doc README
/usr/sbin/ras.py