[hamradio-commits] [libfap6] 02/02: Added debian/ directory

Iain Learmonth irl-guest at moszumanska.debian.org
Sat Nov 29 23:18:46 UTC 2014


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

irl-guest pushed a commit to branch master
in repository libfap6.

commit a54a80eb1f8c0089052d893f1d61aecb42d16028
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sat Nov 29 23:17:23 2014 +0000

    Added debian/ directory
---
 debian/changelog                           |  5 +++++
 debian/compat                              |  1 +
 debian/control                             | 32 ++++++++++++++++++++++++++
 debian/copyright                           | 36 ++++++++++++++++++++++++++++++
 debian/libfap6-dev.install                 |  4 ++++
 debian/libfap6.install                     |  1 +
 debian/patches/fix-spelling-mistakes.patch | 15 +++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               | 21 +++++++++++++++++
 debian/source/format                       |  1 +
 debian/watch                               |  4 ++++
 11 files changed, 121 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e7990b3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libfap6 (1.4-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #771475)
+
+ -- Iain R. Learmonth <irl at fsfe.org>  Sat, 29 Nov 2014 23:08:29 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6a8c35d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: libfap6
+Section: hamradio
+Priority: optional
+Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
+Uploaders: Iain R. Learmonth <irl at fsfe.org>
+Build-Depends: debhelper (>= 9), dh-autoreconf
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/libfap6.git
+Vcs-Git: http://anonscm.debian.org/git/collab-maint/libfap6.git
+Homepage: http://www.pakettiradio.net/libfap/
+
+Package: libfap6
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: APRS Parser
+ libfap is a C port of the Ham::APRS::FAP Finnish APRS Parser (Fabulous APRS
+ Parser) Perl module. As the original Perl code, libfap parses normal, mic-e and
+ compressed location packets, NMEA location packets, objects, items, messages,
+ telemetry and most weather packets. For more description, see the Perl module.
+
+Package: libfap6-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libfap6 (= ${binary:Version})
+Description: APRS Parser - Development Files
+ libfap is a C port of the Ham::APRS::FAP Finnish APRS Parser (Fabulous APRS
+ Parser) Perl module. As the original Perl code, libfap parses normal, mic-e and
+ compressed location packets, NMEA location packets, objects, items, messages,
+ telemetry and most weather packets. For more description, see the Perl module.
+ .
+ This package contains the development files for libfap.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e849f18
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libfap
+Source: http://www.pakettiradio.net/libfap/
+
+Files: *
+Copyright: 2009-2011 Tapio Aaltonen
+License: GPL-1+ or Artistic-2.0
+
+Files: debian/*
+Copyright: 2014 Iain R. Learmonth
+License: GPL-1+
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ . 
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ . 
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the license can be found in
+ /usr/share/common-licenses/GPL-1.
+
+License: Artistic-2.0
+ This program is distributed under the Artistic License.
+ .
+ On Debian systems, the full text of the license can be found in
+ /usr/share/common-licenses/Artistic
+
diff --git a/debian/libfap6-dev.install b/debian/libfap6-dev.install
new file mode 100644
index 0000000..fa4b3aa
--- /dev/null
+++ b/debian/libfap6-dev.install
@@ -0,0 +1,4 @@
+usr/lib/*/libfap.so
+usr/lib/*/libfap.a
+usr/lib/*/pkgconfig/*
+usr/include/*
diff --git a/debian/libfap6.install b/debian/libfap6.install
new file mode 100644
index 0000000..f375651
--- /dev/null
+++ b/debian/libfap6.install
@@ -0,0 +1 @@
+usr/lib/*/libfap.so.*
diff --git a/debian/patches/fix-spelling-mistakes.patch b/debian/patches/fix-spelling-mistakes.patch
new file mode 100644
index 0000000..7f54b15
--- /dev/null
+++ b/debian/patches/fix-spelling-mistakes.patch
@@ -0,0 +1,15 @@
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: Sat, 27 September 2014 17:28:29 +0100
+Description: Fix some spelling mistakes in strings in the source
+
+--- libfap6.orig/src/fap.c
++++ libfap6/src/fap.c
+@@ -1124,7 +1124,7 @@
+ 				/* Yes, lets do some checks. */
+ 				if ( header_len < 14 || header_len % 7 != 0 )
+ 				{
+-					sprintf(output, "Invalid header lenght (%d).", header_len);
++					sprintf(output, "Invalid header length (%d).", header_len);
+ 					output_len = strlen(output)+1;
+ 					retval = 0;
+ 					break;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c1655e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-spelling-mistakes.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c1e966d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables you can
+#  include /usr/share/cdbs/1/rules/buildvars.mk
+# and use what is set there.  Any hint whether dh might set variables in
+# a similar manner are welcome.
+
+%:
+	dh $@ --with autoreconf
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a51eeef
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://www.pakettiradio.net/downloads/libfap/([\d.]+)/libfap-([\d.]+)\.tar\.gz
+

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



More information about the pkg-hamradio-commits mailing list