[xnec2c] Update to latest upstream release.

Richard Shaw hobbes1069 at fedoraproject.org
Sun Jan 20 01:55:30 UTC 2013


commit 3cf85621e7aecd2bdb3c1837eafb45c92ab4ec89
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Sat Jan 19 19:55:17 2013 -0600

    Update to latest upstream release.

 .gitignore  |    1 +
 sources     |    2 +-
 xnec2c.spec |   33 ++++++++++++++-------------------
 3 files changed, 16 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5294916..5bd047b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 xnec2c-1.2.tar.gz
 /xnec2c-1.4.tar.bz2
 /xnec2c-1.5.tar.bz2
+/xnec2c-2.1-beta.tar.bz2
diff --git a/sources b/sources
index 63b5d0c..3b128ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1095fd80bc93a41551d7114f2b72bbbe  xnec2c-1.5.tar.bz2
+60e1452ad2635964d7f34125d16c2ca4  xnec2c-2.1-beta.tar.bz2
diff --git a/xnec2c.spec b/xnec2c.spec
index de43afc..8a6079e 100644
--- a/xnec2c.spec
+++ b/xnec2c.spec
@@ -1,17 +1,14 @@
 Name:           xnec2c
-Version:        1.5
-Release:        5%{?dist}
+Version:        2.1
+Release:        1.beta%{?dist}
 Summary:        GTK based graphical wrapper for nec2c
 
 Group:          Applications/Communications
 License:        GPLv2+
 URL:            http://www.qsl.net/5b4az/pages/nec2.html
-Source0:        http://www.qsl.net/5b4az/pkg/nec2/xnec2c/%{name}-%{version}.tar.bz2
+Source0:        http://www.qsl.net/5b4az/pkg/nec2/xnec2c/%{name}-%{version}-beta.tar.bz2
 Source1:	%{name}.desktop
 Source2:	%{name}-icon.png
-# Patch applied upstream
-# Patch0:		%{name}-%{version}-plot_freqdata.c.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel
 BuildRequires:  autoconf
@@ -31,34 +28,28 @@ 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}
-# Patch applied upstream
-# %%patch0 -p1 -b %{name}-%{version}-plot_freqdata.c.patch
+
 
 %build
 ./autogen.sh
 %configure
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LIBS=" -lm"
+make %{?_smp_mflags} CFLAGS="%{optflags}" LIBS=" -lm"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p   ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
+make install DESTDIR=%{buildroot}
+mkdir -p %{buildroot}%{_datadir}/pixmaps/
 install -m 644 %{SOURCE2} \
-  ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
+  %{buildroot}%{_datadir}/pixmaps/
 desktop-file-install --vendor="" \
-  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
+  --dir=%{buildroot}%{_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
@@ -67,7 +58,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_datadir}/applications/%{name}.desktop
 %attr(0644,root,root) %{_datadir}/pixmaps/*
 
+
 %changelog
+* Thu Jan 03 2013 Richard Shaw <hobbes1069 at gmail.com> - 2.1-1.beta
+- Update to latest upstream release.
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list