Debianized the package
authorDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 11 May 2010 15:07:05 +0000 (17:07 +0200)
committerDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 11 May 2010 15:07:05 +0000 (17:07 +0200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/optify [new file with mode: 0644]
debian/postinst [new file with mode: 0755]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..d6836e4
--- /dev/null
@@ -0,0 +1,6 @@
+gps-tracker (1.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Dr. Johann Pfefferl <pfefferl@gmx.net>  Tue, 11 May 2010 16:54:44 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..e70e277
--- /dev/null
@@ -0,0 +1,16 @@
+Source: gps-tracker
+Section: user/navigation
+Priority: extra
+Maintainer: Dr. Johann Pfefferl <pfefferl@gmx.net>
+Build-Depends: debhelper (>= 5), sharutils, maemo-version-dev, libhildon1-dev, libhildonfm2-dev, liblocation-dev, tablet-browser-interface-dev
+Standards-Version: 3.7.2
+
+Package: gps-tracker
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A very simple GPS tracker
+ GPS tracker is a simple tracker without a map. It only tracks the waypoints.
+ You can save the tracked data to a gpx file. It should be energy and battery
+ friendly.
+XB-Maemo-Display-Name: GPS tracker
+# No icon
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..b0130f6
--- /dev/null
@@ -0,0 +1,35 @@
+This package was debianized by Dr. Johann Pfefferl <pfefferl@gmx.net> on
+Tue, 11 May 2010 16:54:44 +0200.
+
+It was downloaded from <fill in http/ftp site>
+
+Upstream Author: <put author(s) name and email here>
+
+Copyright: <put the year(s) of the copyright, and the names of the
+            copyright holder(s) here>
+
+License:
+
+   This package 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 2 of the License, or
+   (at your option) any later version.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010, Dr. Johann Pfefferl <pfefferl@gmx.net> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..fb23680
--- /dev/null
@@ -0,0 +1,5 @@
+usr/bin
+usr/share/applications/hildon
+usr/share/icons/hicolor/26x26/hildon
+usr/share/icons/hicolor/40x40/hildon
+usr/share/icons/hicolor/64x64/hildon
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/optify b/debian/optify
new file mode 100644 (file)
index 0000000..4d18c3e
--- /dev/null
@@ -0,0 +1 @@
+auto
\ No newline at end of file
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..f2d0a29
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# The clock might be wrong and we know that we need to update the icon
+# cache so we just force it.
+
+#gtk-update-icon-cache -f /usr/share/icons/hicolor
+
+MAEMO_SELECT_MENU=/usr/bin/maemo-select-menu-location
+
+oldversion="$2"
+if [ -z "$oldversion" ]; then
+  if [ -f $MAEMO_SELECT_MENU ]
+  then
+    maemo-select-menu-location gps-tracker.desktop
+  fi
+fi
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..8eb7a64
--- /dev/null
@@ -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/gps-tracker.sgml > gps-tracker.1
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/gps-tracker.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/gps-tracker 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