[hamradio-commits] [nec2c] 01/08: Imported Debian patch 0.8-3

Dave Hibberd hibby-guest at moszumanska.debian.org
Sun Feb 15 00:35:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

hibby-guest pushed a commit to branch master
in repository nec2c.

commit 76452bf25f371f2ee6a0dc8dd66447c359e03d6b
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Dec 28 11:56:59 2011 +0100

    Imported Debian patch 0.8-3
---
 Makefile         |  6 ++--
 debian/changelog | 44 +++++++++++++++++++++++++
 debian/compat    |  1 +
 debian/control   | 16 +++++++++
 debian/copyright | 37 +++++++++++++++++++++
 debian/dirs      |  1 +
 debian/docs      |  2 ++
 debian/rules     | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 202 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 47b30c2..15bbbe8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@
 
 SHELL = /bin/sh
 PROJECT = nec2c
-BINDIR  = /usr/local/bin
-CC = gcc -Wall -O2 -march=native
+BINDIR  = $(DESTDIR)/usr/bin
+CC = gcc
 
 objects = calculations.o fields.o geometry.o ground.o input.o \
 	  main.o matrix.o misc.o network.o radiation.o somnec.o
 
 $(PROJECT) : $(objects)
-	    $(CC) -lm -o $(PROJECT) $(objects)
+	    $(CC) -o $(PROJECT) $(objects) -lm
 
 $(objects) : nec2c.h
 
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..358aa2d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,44 @@
+nec2c (0.8-3) unstable; urgency=low
+
+  * QA upload.
+  * Fix FTBFS with --as-needed (Closes: #640719)
+
+ -- Alessio Treglia <alessio at debian.org>  Wed, 28 Dec 2011 11:56:59 +0100
+
+nec2c (0.8-2) unstable; urgency=low
+
+  * Retiring - set the package maintainer to Debian QA Group.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Mon, 02 Nov 2009 15:52:25 +0000
+
+nec2c (0.8-1) unstable; urgency=low
+
+  * New upstream.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Mon, 24 Nov 2008 12:19:10 +0100
+
+nec2c (0.6-4) unstable; urgency=low
+
+  * Another upstream revision of the previous patch.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Thu, 20 Nov 2008 19:15:28 +0100
+
+nec2c (0.6-3) unstable; urgency=low
+
+  * Upstream patch to better fix the previous bug.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Wed, 19 Nov 2008 21:22:06 +0100
+
+nec2c (0.6-2) unstable; urgency=low
+
+  * Fixed a segfault, thanks Jeffrey Hundstad. Closes: #498676.
+    Upstream notified.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Tue, 18 Nov 2008 19:53:30 +0100
+
+nec2c (0.6-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Thu, 30 Nov 2006 17:13:03 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dac159b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: nec2c
+Section: hamradio
+Priority: extra
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.8.0
+
+Package: nec2c
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: translation of the NEC2 FORTRAN source code to the C language
+ The translation was performed mostly "by hand" and a lot of modifications
+ to the original program were introduced in order to modernize the NEC2
+ and to remove as many built-in limitations as possible. The attendant
+ SOMNEC program was also translated to C and incorporated in nec2c as a
+ function so that Sommerfeld ground solutions are a part of the program.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e71213f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Joop Stakenborg <pa3aba at debian.org> on
+Thu, 30 Nov 2006 17:13:03 +0100.
+
+It was downloaded from http://5b4az.chronos.org.uk/pages/nec2.html
+
+Upstream Author: Neoklis Kyriazis <n4b4az at yahoo.com>
+
+From the README included with the package:
+
+  nec2c is Public Domain, same as the original FORTRAN source.
+  Please keep any software you write incorporating nec2c in Public Domain
+  or at least use an open license like GPL or BSD.
+
+The file file main.c in this package contains the license included with
+the original fortran code:
+---------------------------------------------------------------------
+ Numerical Electromagnetics Code (NEC2)  developed at Lawrence
+ Livermore lab., Livermore, CA.  (contact G. Burke at 415-422-8414
+ for problems with the NEC code. For problems with the vax implem-
+ entation, contact J. Breakall at 415-422-8196 or E. Domning at 415
+ 422-5936)
+ file created 4/11/80.
+
+                ***********Notice**********
+ This computer code material was prepared as an account of work
+ sponsored by the United States government.  Neither the United
+ States nor the United States Department Of Energy, nor any of
+ their employees, nor any of their contractors, subcontractors,
+ or their employees, makes any warranty, express or implied, or
+ assumes any legal liability or responsibility for the accuracy,
+ completeness or usefulness of any information, apparatus, product
+ or process disclosed, or represents that its use would not infringe
+ privately-owned rights.
+----------------------------------------------------------------------
+
+The Debian packaging is (C) 2006, Joop Stakenborg <pa3aba at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..dc92ad2
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEC2-bug.txt
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..81c43dc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/nec2c.sgml > nec2c.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp *.o nec2c
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/nec2c.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/nec2c install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/nec2c.git



More information about the pkg-hamradio-commits mailing list