--- spacenavd-0.3.orig/debian/copyright +++ spacenavd-0.3/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Jonathan Riddell on +Thu, 13 Nov 2008 13:00:51 +0000. + +It was downloaded from + +Upstream Author: + + John Tsiombikas + +Copyright: + + Copyright (C) 2007 John Tsiombikas + +License: + + 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 3 of the License, 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, see . + +On Debian systems the complete text of the GNU GPL can be found at +/usr/share/common-licenses/GPL. + +The Debian packaging is (C) 2008, Canonical Ltd and is licensed under +the GPL version 2 or later, see `/usr/share/common-licenses/GPL'. --- spacenavd-0.3.orig/debian/control +++ spacenavd-0.3/debian/control @@ -0,0 +1,20 @@ +Source: spacenavd +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jonathan Riddell +Build-Depends: debhelper (>= 5), libspnav-dev, libx11-dev +Standards-Version: 3.8.0 +Section: utils +Homepage: http://spacenav.sourceforge.net/ + +Package: spacenavd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Daemon for 3D input devices + The spacenav project provides a free, compatible alternative, to the + proprietary 3Dconnexion device driver and SDK, for their 3D input + devices (called "space navigator", "space pilot", "space traveller", + etc). + . + This package includes the daemon needed for communication with the + device. --- spacenavd-0.3.orig/debian/compat +++ spacenavd-0.3/debian/compat @@ -0,0 +1 @@ +5 --- spacenavd-0.3.orig/debian/rules +++ spacenavd-0.3/debian/rules @@ -0,0 +1,107 @@ +#!/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 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + + +# shared library versions, option 1 +version=2.0.5 +major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure $(CROSS) --prefix=debian/spacenavd/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + rm -f Makefile + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + mkdir -p debian/spavenavd/usr/bin + $(MAKE) prefix=$(CURDIR)/debian/spacenavd/usr 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_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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 --- spacenavd-0.3.orig/debian/changelog +++ spacenavd-0.3/debian/changelog @@ -0,0 +1,6 @@ +spacenavd (0.3-0ubuntu1) jaunty; urgency=low + + * Initial release + + -- Jonathan Riddell Thu, 13 Nov 2008 13:00:51 +0000 +