debian-related files, installation
authorSerge Ziryukin <ftrvxmtrx@gmail.com>
Tue, 13 Apr 2010 23:03:20 +0000 (02:03 +0300)
committerSerge Ziryukin <ftrvxmtrx@gmail.com>
Tue, 13 Apr 2010 23:03:20 +0000 (02:03 +0300)
colorflood/debian/changelog [new file with mode: 0644]
colorflood/debian/compat [new file with mode: 0644]
colorflood/debian/control [new file with mode: 0644]
colorflood/debian/copyright [new file with mode: 0644]
colorflood/debian/dirs [new file with mode: 0644]
colorflood/debian/docs [new file with mode: 0644]
colorflood/debian/rules [new file with mode: 0644]
colorflood/src/CMakeLists.txt
colorflood/src/colorflood.desktop [new file with mode: 0644]

diff --git a/colorflood/debian/changelog b/colorflood/debian/changelog
new file mode 100644 (file)
index 0000000..ed0066b
--- /dev/null
@@ -0,0 +1,6 @@
+colorflood (0.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Serge Ziryukin <ftrvxmtrx@gmail.com>  Wed, 14 Apr 2010 00:38:39 +0300
+
diff --git a/colorflood/debian/compat b/colorflood/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/colorflood/debian/control b/colorflood/debian/control
new file mode 100644 (file)
index 0000000..348d717
--- /dev/null
@@ -0,0 +1,13 @@
+Source: colorflood
+Section: games
+Priority: extra
+Maintainer: Serge Ziryukin <ftrvxmtrx@gmail.com>
+Build-Depends: debhelper (>= 5), libqt4-maemo5-dev
+Standards-Version: 3.7.2
+
+Package: colorflood
+Architecture: any
+Depends: libqt4-maemo5-core, libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-maemo5-gui, libstdc++6 (>= 4.2.1),, hildon-application-manager
+Description: "Color Flood" is a free, opensource 2D.
+ "Color Flood" is a free, opensource 2D game in
+ which player selects a colors to flood an area.
diff --git a/colorflood/debian/copyright b/colorflood/debian/copyright
new file mode 100644 (file)
index 0000000..4deb385
--- /dev/null
@@ -0,0 +1,34 @@
+This package was debianized by Serge Ziryukin <ftrvxmtrx@gmail.com> on
+Wed, 14 Apr 2010 00:38:39 +0300.
+
+It was downloaded from https://garage.maemo.org/projects/colorflood
+
+Upstream Author: Serge Ziryukin <ftrvxmtrx@gmail.com>
+
+Copyright: 2010, Serge Ziryukin
+
+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, Serge Ziryukin <ftrvxmtrx@gmail.com> 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/colorflood/debian/dirs b/colorflood/debian/dirs
new file mode 100644 (file)
index 0000000..cc7c3b4
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/icons/hicolor/48x48/apps
\ No newline at end of file
diff --git a/colorflood/debian/docs b/colorflood/debian/docs
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/colorflood/debian/rules b/colorflood/debian/rules
new file mode 100644 (file)
index 0000000..168a5c5
--- /dev/null
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+builddir:
+       mkdir -p builddir
+
+builddir/Makefile: builddir
+       cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=/opt/qt4-maemo5/lib -DCMAKE_PROGRAM_PATH=/opt/qt4-maemo5/bin
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+       dh_testdir
+       cd builddir && $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+       rm -rf builddir
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+       cd builddir && $(MAKE) DESTDIR=$(CURDIR)/debian/colorflood install
+
+binary-indep: build install
+
+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_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
index b7dc884..0fd71ef 100644 (file)
@@ -38,3 +38,7 @@ qt4_add_resources(resources colorflood.qrc)
 add_definitions(-Wall -Wextra)
 add_executable(colorflood ${moc_src} ${src} ${res})
 target_link_libraries(colorflood ${QT_LIBRARIES})
+
+install(TARGETS colorflood DESTINATION bin)
+install(FILES images/icon_48x48.png DESTINATION share/icons/hicolor/48x48/apps RENAME colorflood.png)
+install(FILES colorflood.desktop DESTINATION share/applications/hildon)
diff --git a/colorflood/src/colorflood.desktop b/colorflood/src/colorflood.desktop
new file mode 100644 (file)
index 0000000..5c6672f
--- /dev/null
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.1
+Type=Application
+Name=Color Flood
+Exec=/usr/bin/colorflood
+Icon=colorflood
+StartupWMClass=colorflood
+X-HildonDesk-ShowInToolbar=true
+X-Osso-Type=application/x-executable
+Terminal=false
+