Debian packaging
authortimoph <timop.harkonen@gmail.com>
Sat, 2 Jan 2010 08:33:06 +0000 (08:33 +0000)
committertimoph <timop.harkonen@gmail.com>
Sat, 2 Jan 2010 08:33:06 +0000 (08:33 +0000)
git-svn-id: file:///svnroot/impuzzle/trunk@3 e6bec12f-0854-4cc4-ad26-6875f1509f77

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/rules [new file with mode: 0755]
src/impuzzle.desktop [new file with mode: 0644]
src/src.pro

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4e53916
--- /dev/null
@@ -0,0 +1,7 @@
+impuzzle (0.1-1maemo0) unstable; urgency=low
+
+  * Implemented: Basic gameplay
+  * Initial debian packaging
+
+ -- Timo Härkönen <timop.harkonen@gmail.com>  Sat, 2 Jan 2010 10:12:49 +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..4d6e02f
--- /dev/null
@@ -0,0 +1,11 @@
+Source: impuzzle
+Section: user/games
+Priority: optional
+Maintainer: Timo Härkönen <timop.harkonen@gmail.com>
+Build-Depends: debhelper (>= 5), libqt4-maemo5-dev
+Standards-Version: 3.7.2
+
+Package: impuzzle
+Architecture: any
+Depends: libqt4-maemo5-core, libqt4qt-maemo5-gui
+Description: Image puzzle game
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f4651df
--- /dev/null
@@ -0,0 +1,31 @@
+This package was debianized by Timo Härkönen <timop.harkonen@gmail.com> on
+Tue, 17 Nov 2009 22:55:49 +0200.
+
+It was downloaded from https://garage.maemo.org/projects/impuzzle/
+
+Upstream Author: Timo Härkönen
+
+Copyright: 2010, Timo Härkönen
+
+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, Timo Härkönen <timop.harkonen@gmail.com> and
+is licensed under the GPL, see above.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..53a24ae
--- /dev/null
@@ -0,0 +1,55 @@
+#!/usr/bin/make -f
+APPNAME := impuzzle
+builddir:
+       mkdir -p builddir
+
+builddir/Makefile: builddir
+       cd builddir && /opt/qt4-maemo5/bin/qmake-qt4 PREFIX=/usr ../$(APPNAME).pro
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+       dh_testdir
+       # Add here commands to compile the package.
+       cd builddir && $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       # Add here commands to clean up after the build process.
+       rm -rf builddir
+       dh_clean
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/your_appname
+       cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) 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_installdocs
+       dh_installexamples
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       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
+
diff --git a/src/impuzzle.desktop b/src/impuzzle.desktop
new file mode 100644 (file)
index 0000000..7c0b4b4
--- /dev/null
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.1
+Type=Application
+Name=impuzzle
+Exec=/opt/impuzzle/impuzzle
+X-Osso-Type=application/x-executable
index 14d00c1..901d8f4 100644 (file)
@@ -22,3 +22,10 @@ SOURCES += gameview.cpp \
     introitem.cpp
 
 RESOURCES += resources.qrc
+
+desktop.files += impuzzle.desktop
+desktop.path = /usr/share/applications/hildon/
+
+target.path = /opt/impuzzle/
+
+INSTALLS += target desktop