Name: nec2c Version: 0.6 Release: 2%{?dist} Summary: Translation of NEC2 antenna modeling tool from FORTRAN to C Group: Applications/Communications License: Public Domain URL: http://5b4az.chronos.org.uk/pages/nec2.html Source0: http://5b4az.chronos.org.uk/pkg/nec2/nec2c/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description nec2c is a translation of the Numerical Electromagnetics Code (NEC2) from FORTRAN to C. Operationally nec2c differs from NEC2 by being a command line non-interactive program, taking as arguments the input file name and optionally the output file name. %prep %setup -q %build make CFLAGS="%{optflags}" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT #skip make install and do manual install, it's just one file install -D -m 0755 nec2c $RPM_BUILD_ROOT%{_bindir}/nec2c %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS README NEC2-bug.txt %{_bindir}/* %changelog * Sat Jan 26 2008 Robert 'Bob' Jensen - 0.6-2 - CFLAGS tweak per review * Tue Dec 11 2007 Sindre Pedersen Bjørdal - 0.6-1 - Initial build