rpms/xnec2c/devel xnec2c-icon.png, NONE, 1.1 xnec2c.desktop, NONE, 1.1 xnec2c.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Steve Conklin (sconklin)
fedora-extras-commits at redhat.com
Tue Feb 26 01:42:34 UTC 2008
Author: sconklin
Update of /cvs/pkgs/rpms/xnec2c/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24027/devel
Modified Files:
.cvsignore sources
Added Files:
xnec2c-icon.png xnec2c.desktop xnec2c.spec
Log Message:
Initial package import
--- NEW FILE xnec2c.desktop ---
[Desktop Entry]
Name=Xnec2c
GenericName=GTK+ version of NEC2
Comment=Numerical Electromagnetics Code software
Exec=xnec2c
Icon=xnec2c-icon
Terminal=false
Type=Application
Categories=Network;HamRadio;
--- NEW FILE xnec2c.spec ---
Name: xnec2c
Version: 1.0b5
Release: 1%{?dist}
Summary: GTK based graphical wrapper for nec2c
Group: Applications/Communications
License: GPLv2+
URL: http://5b4az.chronos.org.uk/pages/nec2.html
Source0: http://5b4az.chronos.org.uk/pkg/nec2/xnec2c/%{name}-%{version}.tar.gz
Source1: xnec2c.desktop
Source2: xnec2c-icon.png
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel
BuildRequires: autoconf, automake, desktop-file-utils
Requires: nec2c
%description
xnec2c is a GUI interactive application that (in its current form) reads NEC2
input files but presents output data in graphical form, e.g. as wire frame
drawings of the radiation pattern or near E/H field, graphs of maximum gain,
input impedance, vswr etc against frequency and simple rendering of the antenna
structure, including color code representation of currents or charge densities.
These results are only calculated and drawn on user demand via menu items or
buttons, e.g. xnec2c is interactive and does not execute NEC2 "commands" in
batch style as the original does.
%prep
%setup -qn %{name}
%build
./autogen.sh
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
install -m 644 %{SOURCE2} \
${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
desktop-file-install --vendor="" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README
%doc doc/NearFieldCalcs.txt doc/NEC2-bug.txt doc/nec2c.txt doc/xnec2c.html
%doc doc/images
%doc examples
%{_bindir}/*
%attr(0644,root,root) %{_datadir}/applications/%{name}.desktop
%attr(0644,root,root) %{_datadir}/pixmaps/*
%changelog
* Mon Feb 25 2008 Steve Conklin <sconklin at redhat dot com> - 1.0b5-1
- New upstream
* Tue Feb 19 2008 Steve Conklin <sconklin at redhat dot com> - 1.0b3-2
- Added desktop file and icon
* Tue Dec 11 2007 Sindre Pedersen Bjørdal - 1.0b3-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xnec2c/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 25 Feb 2008 23:57:53 -0000 1.1
+++ .cvsignore 26 Feb 2008 01:42:01 -0000 1.2
@@ -0,0 +1 @@
+xnec2c-1.0b5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xnec2c/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 25 Feb 2008 23:57:53 -0000 1.1
+++ sources 26 Feb 2008 01:42:01 -0000 1.2
@@ -0,0 +1 @@
+02d2c3afdd0872e0723e67a45cd39adb xnec2c-1.0b5.tar.gz
More information about the fedora-extras-commits
mailing list