From: Alex Badea Date: Mon, 7 Jun 2010 19:47:03 +0000 (+0300) Subject: Skeleton debian package X-Git-Url: https://vcs.maemo.org/git/?p=espeaktime;a=commitdiff_plain;h=de2b504f8356fde6022c05d9c1384052c8498dee Skeleton debian package --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ca54600 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +INSTALL = install + +all: + @echo "Nothing to build." + +clean: + @echo "Nothing to clean." + +install: + $(INSTALL) -D python/espeaktime.py $(DESTDIR)/usr/bin/espeaktime.py diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..04e4be4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +espeaktime (0.1) unstable; urgency=low + + * Initial Release. + + -- Alex Badea Sun, 6 Jun 2010 15:02:24 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3132386 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: espeaktime +Section: user/multimedia +Priority: extra +Maintainer: Alex Badea +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: espeaktime-python +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-dbus, python-gobject, espeak +Description: Talking clock based on eSpeak + This is a simple talking clock daemon. Activate it by double-pressing + the power button while the display is locked. +XB-Maemo-Display-Name: eSpeakTime +XSBC-Bugtracker: mailto:vamposdecampos@gmail.com diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..947be4f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This is espeaktime, written and maintained by Alex Badea +on Sun, 6 Jun 2010 15:02:24 +0300. + +The original source can always be found at: + https://garage.maemo.org/projects/espeaktime/ + +Copyright Holder: Alex Badea + +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 2 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 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'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..c703cf8 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin/ diff --git a/debian/espeaktime-python.install b/debian/espeaktime-python.install new file mode 100644 index 0000000..6b23bc3 --- /dev/null +++ b/debian/espeaktime-python.install @@ -0,0 +1 @@ +usr/bin/espeaktime.py usr/bin/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b31571b --- /dev/null +++ b/debian/rules @@ -0,0 +1,83 @@ +#!/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 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(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: build install + dh_testdir + dh_testroot + dh_installchangelogs debian/changelog +# dh_installdocs +# dh_installexamples + dh_install --sourcedir=debian/tmp -v +# 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