Added the necessary stuff to build the deb packages
authorFelipe <felipe@zimmerle.org>
Tue, 29 Sep 2009 21:38:35 +0000 (18:38 -0300)
committerFelipe <felipe@zimmerle.org>
Tue, 29 Sep 2009 21:38:35 +0000 (18:38 -0300)
Signed-off-by: Felipe Zimmerle <felipe@zimmerle.org>

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/files [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..a781ab6
--- /dev/null
@@ -0,0 +1,5 @@
+slock (0.1a) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Felipe Zimmerle <felipe@zimmerle.org>  Tue, 29 Sep 2009 18:20:43 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b9d13ab
--- /dev/null
@@ -0,0 +1,14 @@
+Source: slock
+Section: apps
+Priority: extra
+Maintainer: Felipe Zimmerle <felipe@zimmerle.org>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.1
+Homepage: http://slock.garage.maemo.org/
+
+Package: slock
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Fancy screen lock
+ This software will provide a way to lock and unlock your device
+ with a good relation between the usability and the security.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..a6cb06d
--- /dev/null
@@ -0,0 +1,42 @@
+This package was debianized by:
+
+    Felipe Zimmerle <felipe@zimmerle.org> on Tue, 29 Sep 2009 18:20:43 -0300
+
+It was downloaded from:
+
+    http://slock.garage.maemo.org/
+
+Upstream Author(s):
+
+    Felipe Zimmerle - felipe@zimmerle.org
+
+Copyright:
+
+    Copyright (C) 2009 Felipe Zimmerle
+
+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 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 program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Felipe Zimmerle <felipe@zimmerle.org>
+
+and is licensed under the GPL version 3, 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..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..98f27e6
--- /dev/null
@@ -0,0 +1 @@
+slock_0.1a_i386.deb apps extra
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..44fb029
--- /dev/null
@@ -0,0 +1,92 @@
+#!/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
+
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+       qmake
+       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/slock.sgml > slock.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_prep  
+       dh_installdirs
+
+       # Add here commands to install the package into debian/slock.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/slock install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: 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