%define distro	Mandrake/RedHat
%define version VERSION
%define prefix	/opt/vipec
%define packager Johan Rossouw <johanrossouw@users.sourceforge.net>
%define path	%(pwd)

Summary: 	High frequency linear network analysis 
Name: 		ViPEC
Version:	%{version}
Release:	1
Copyright:	GPL 
URL:		http://vipec.sourceforge.net
Distribution:	%{distro}
Packager:	%{packager}
Group:		Applications/Engineering
BuildRoot:	/var/tmp/%{name}-%{PACKAGE_VERSION}
Source:		ViPEC-%{version}.tar.gz
Icon:		ICONFILE

%description
ViPEC is a program that allows the user to analyze high frequency, linear,
electrical networks. Analysis is performed in the frequency domain, and the
results are presented to the user in the form of port parameters (S,Y or Z).
It can also be used to compute input and output impedance/admittance and
amplifier stability factors (Linvill & Stern). ViPEC supports various lumped
elements (capacitors, resistors etc.), as well as distributed elements like
transmission lines and coupled transmission lines.

%changelog
* Tue Jul 10 2001 Johan Rossouw <johan.rossouw@alcatel.com.au>
- initial build

%prep
%setup -n ViPEC-%{version}

%build
make all

%install
make PREFIX=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%{prefix}/



