Debian packaging: 0.0.1-1 v0.0.1
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 24 Feb 2010 17:53:24 +0000 (18:53 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 24 Feb 2010 18:10:24 +0000 (19:10 +0100)
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/led-pattern-editor.install [new file with mode: 0644]
debian/led-pattern-editor.postinst [new file with mode: 0644]
debian/optify [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..101ef30
--- /dev/null
@@ -0,0 +1,5 @@
+led-pattern-editor (0.0.1-1) fremantle; urgency=low
+
+  * Initial release
+
+ -- Philipp Zabel <philipp.zabel@gmail.com>  Mon, 18 Jan 2010 21:45:13 +0100
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..052dc0a
--- /dev/null
@@ -0,0 +1,15 @@
+Source: led-pattern-editor
+Section: user/system
+Priority: extra
+Maintainer: Philipp Zabel <philipp.zabel@gmail.com>
+Build-Depends: vala (>= 0.7.10-maemo1), hildon-control-panel-dev, libosso-dev, libhildon1-dev, osso-af-settings
+Standards-Version: 4
+XSBC-Bugtracker: https://bugs.maemo.org/enter_bug.cgi?product=LEDPatternEditor
+
+Package: led-pattern-editor
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+XB-Description: A control panel applet to edit notification LED blinking patterns
+ Can graphically edit the blinking patterns and LED colors, preview the
+ LED patterns and save the configuration and restart MCE to apply changes.
+XB-Maemo-Display-Name: LED Pattern Editor
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..4d45a42
--- /dev/null
@@ -0,0 +1 @@
+led-pattern-editor_0.0.1-1_armel.deb user/system extra
diff --git a/debian/led-pattern-editor.install b/debian/led-pattern-editor.install
new file mode 100644 (file)
index 0000000..add7446
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/hildon-control-panel/libled-pattern-editor.so
+usr/share/applications/hildon-control-panel/led-pattern-editor.desktop
+usr/bin/led-pattern-helper
+etc/sudoers.d/led-pattern-editor.sudoers
diff --git a/debian/led-pattern-editor.postinst b/debian/led-pattern-editor.postinst
new file mode 100644 (file)
index 0000000..c5d9a27
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+update-sudoers
+[ -e /etc/mce/mce.ini.orig ] || cp /etc/mce/mce.ini /etc/mce/mce.ini.orig
+
diff --git a/debian/optify b/debian/optify
new file mode 100644 (file)
index 0000000..865faf1
--- /dev/null
@@ -0,0 +1 @@
+auto
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..74cc6d6
--- /dev/null
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+export DH_COMPAT=4
+export DH_OPTIONS
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_ARCH   ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+       #CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+       #        --prefix=/usr
+
+
+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.
+       -$(MAKE) clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/tmp
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       dh_install --sourcedir=debian/tmp
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-arch binary-indep binary install configure